alteredq
|
aaaf14a056
Fixed bug in emissive for Lambert. Added emissive balls to webgl_materials example.
|
13 years ago |
Erik Kitson
|
09989e5d48
Added emissive property to MeshLambertMaterial and MeshPhongMaterial.
|
13 years ago |
alteredq
|
382f964255
Added doubleSided handling for reflections / refractions.
|
13 years ago |
alteredq
|
aa7e9865ff
Added proper doubleSided handling for Lambert.
|
13 years ago |
alteredq
|
8ac9e70e6e
Added proper doubleSided handling for Phong. Added doubleSided performance test.
|
13 years ago |
alteredq
|
a46acbdaf1
Fixed shader bug introduced in previous commit.
|
13 years ago |
alteredq
|
b6bce4f68a
Added handling of morph normals also for Phong material.
|
13 years ago |
alteredq
|
27afa046be
First attempt at morph normals.
|
13 years ago |
alteredq
|
c42478fae0
Refactored shadow map shader.
|
13 years ago |
alteredq
|
aa803fd2b4
Experimenting with cascaded shadow maps.
|
13 years ago |
alteredq
|
24a2c31937
Optimized skinning shader.
|
13 years ago |
alteredq
|
560562c05f
Removed cameraInverseMatrix uniform.
|
13 years ago |
alteredq
|
9fdd14190e
Added check for pixel being behind light frustum in shadow map shader.
|
13 years ago |
alteredq
|
49f14b8e68
Refactored shadow maps to store shadow parameters and data in SpotLight.
|
13 years ago |
alteredq
|
de7e849018
Fixed incorrect shadow receiving for morphs.
|
13 years ago |
alteredq
|
71fafdf25d
Some cleanup and normalization fixes in shaders.
|
13 years ago |
alteredq
|
51f45e8bde
Added clamping to specular term.
|
13 years ago |
alteredq
|
3241c077e6
Added wrap around lighting to normal map shader.
|
13 years ago |
alteredq
|
ab0ce36091
Unrolled shadow filtering loops to work on ATI OpenGL.
|
13 years ago |
alteredq
|
3dea25939c
Refactored shadow test to work on some ATI cards with OpenGL.
|
13 years ago |
alteredq
|
ccf6d803cd
Fixed shadow darkness for non-soft shadow code path.
|
13 years ago |
alteredq
|
60ee1e8ccb
Added wrap-around lighting to Phong and Lambert materials (aka half-lambert from Half-Life 2).
|
13 years ago |
alteredq
|
1dcf5fc79b
Moved sprite handling into plugin.
|
13 years ago |
alteredq
|
99f00ba33e
Removed enableLighting uniform from Lambert.
|
14 years ago |
alteredq
|
a9cc8bceb5
Applied manually fixes from @broady to 'dev' branch.
|
14 years ago |
Mr.doob
|
6b151b552e
Merging with @alteredq's experimental branches.
|
14 years ago |
alteredq
|
addb3a12a9
Refactored CubeCamera / cube map handling.
|
14 years ago |
alteredq
|
89c578332e
Fixed shading glitches on OpenGL (thanks to @mrdoob for spotting this).
|
14 years ago |
alteredq
|
7355c2b68b
Changed ambient term to influence also texture in Phong / normal map materials.
|
14 years ago |
alteredq
|
7d2805dd83
Fixed specular term in Phong / normal map materials.
|
14 years ago |