alteredq
|
cf4e1c7b67
Moved bump uniforms into own chunk.
|
13 years ago |
alteredq
|
265b351683
Small optimization in reflection shader code.
|
13 years ago |
alteredq
|
a5a38ae323
Refactored environment mapping to use bump mapped normals (if available).
|
13 years ago |
alteredq
|
ae7e147f4e
Refactored bump mapping handling so that it's possible to have bump map without color map.
|
13 years ago |
alteredq
|
f390c95562
Started to experimenting with tangent-less bump mapping by Morten Mikkelsen.
|
13 years ago |
Mr.doob
|
902c47a17c
Renamed objectMatrix to modelMatrix for consistency.
|
13 years ago |
alteredq
|
8c25afa53f
Refactored shadow coordinates generation to use less matrix multiplications.
|
13 years ago |
alteredq
|
cd5e0fd176
Fixed skinned normals.
|
13 years ago |
alteredq
|
c5d85fe632
Use smaller bone texture size for models with smaller skeletons.
|
13 years ago |
alteredq
|
1ec72fa678
Cleaned up skinning, made fallback to use uniforms if float vertex textures are not available.
|
13 years ago |
alteredq
|
e9dad06e4c
First rough version of skinning via float vertex textures.
|
13 years ago |
alteredq
|
525ce679af
Added shadow receiving for SkinnedMeshes.
|
13 years ago |
alteredq
|
80bc18fba6
Added shadow casting for SkinnedMeshes.
|
13 years ago |
alteredq
|
d82d0df724
Added normals skinning to Phong and Lambert shaders.
|
13 years ago |
alteredq
|
93d96da07e
Unflipped particles.
|
13 years ago |
alteredq
|
1087cf8cda
Implemented real spotlights.
|
13 years ago |
Mr.doob
|
4f4d06b3ce
Merge remote-tracking branch 'jfeldste/master' into dev
|
13 years ago |
Andrei Kopytov
|
a6653550c0
Fixed a normalization issue for the PlayBook platform.
|
13 years ago |
alteredq
|
9451201ca3
Added workaround for ANGLE bug which was breaking shading when using physically based specular term.
|
13 years ago |
alteredq
|
5e9a941989
Merge remote-tracking branch 'remotes/WestLangley/dev' into dev
|
13 years ago |
WestLangley
|
322839d6cc
Corrected Schlick specular term and added specular normalization constant
|
13 years ago |
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 |