Ben Houston
|
3f4804977b
expose energyConserving as a material parameter on MeshPhongMaterial.
|
10 жил өмнө |
Ben Houston
|
f96f6e4eb8
add faster area light clamping.
|
10 жил өмнө |
Ben Houston
|
fa51e8c15d
initial light probe skeleton.
|
10 жил өмнө |
Ben Houston
|
5d4ad85135
rely less on the preprocessing, add GGX shader with SmithGeometry visibility, GGX distribution.
|
10 жил өмнө |
Ben Houston
|
36c599679b
initial AreaLight implementation.
|
10 жил өмнө |
Ben Houston
|
9bc5094ad5
geometryContext -> geometry.
|
10 жил өмнө |
Ben Houston
|
27dc0ad077
unify energy conservating with correct diffuse lambertian reflectance
|
10 жил өмнө |
Ben Houston
|
ea9f26a981
hemisphere lights work again.
|
10 жил өмнө |
Ben Houston
|
ea903ed02f
introducing the GeometricContext struct, broken hemisphere lights.
|
10 жил өмнө |
Ben Houston
|
b101729331
add energy perserving rgb/monochrome modes. add BRDF_OrenNayar.
|
10 жил өмнө |
Ben Houston
|
8d0d4542a6
cleaner design.
|
10 жил өмнө |
Ben Houston
|
fb54728248
declare reused variable only once.
|
10 жил өмнө |
Ben Houston
|
c66fd070f3
simplier definition of ReflectedLight.
|
10 жил өмнө |
Ben Houston
|
f25fd9b4f8
add ReflectedLight struct to pair with IncidentLight struct.
|
10 жил өмнө |
Ben Houston
|
d8552f349f
introduce IncidentLight struct
|
10 жил өмнө |
Ben Houston
|
56b64721b8
remove debug console output.
|
10 жил өмнө |
Ben Houston
|
faa1967ef4
separation of light accumulators into diffuse/specular, direct/indirect
|
10 жил өмнө |
Ben Houston
|
d443359764
remove unused code.
|
10 жил өмнө |
Ben Houston
|
e21dd086f8
further cleanup to simplify usage, avoiding premature optimization.
|
10 жил өмнө |
Ben Houston
|
28754cf13c
lambert lighting works, defining light helpers only once in common.glsl
|
10 жил өмнө |
Ben Houston
|
bbace72b72
structs barely work.
|
10 жил өмнө |
Ben Houston
|
339e4d3ef1
more code removal
|
10 жил өмнө |
Ben Houston
|
3f4a94685e
more code removal
|
10 жил өмнө |
Ben Houston
|
223c383b14
reduce the need for temporaries, cleanup code.
|
10 жил өмнө |
Ben Houston
|
8c5bc52819
cleaner and more GC efficient.
|
10 жил өмнө |
Ben Houston
|
7985c8b0ab
more work on supporting struct and struct uniform types.
|
10 жил өмнө |
Ben Houston
|
c1df1730d3
ways to define ThreeJS "uniforms" for structs and struct arrays. ways to set those values. still missing some glue code.
|
10 жил өмнө |
Ben Houston
|
e889e6b980
add support for structs not in arrays in WebGLProgram.
|
10 жил өмнө |
Ben Houston
|
74d3aa3f12
parse arrays of struct uniforms, code cleanup.
|
10 жил өмнө |
Ben Houston
|
ad75704cd8
debugging uniforms.
|
10 жил өмнө |