alteredq
|
f31cc7fe6b
Trying to make less weird specular term for hemisphere light.
|
13 years ago |
alteredq
|
09991eb059
Fixed bug in hemisphere light in Lambert shader.
|
13 years ago |
alteredq
|
25bffd0d3b
One possible workaround for normal map inconsistencies across models.
|
13 years ago |
alteredq
|
1dcc2d756a
Merged and fixed @crobi's normalmaps via derivatives.
|
13 years ago |
Robert Carnecky
|
fbd22e761e
Merge remote-tracking branch 'remotes/mrdood/dev'
|
13 years ago |
Robert Carnecky
|
3463fc1857
Add support for normal maps in MeshPhongMaterial.js
|
13 years ago |
alteredq
|
6ae29843fc
Simplified flipSided handling in shaders.
|
13 years ago |
WestLangley
|
b9687e3ada
Corrected handling of flip-sided materials
|
13 years ago |
alteredq
|
694495764c
Added HemisphereLight.
|
13 years ago |
alteredq
|
013f3b375e
Changed the rest of the lib and examples to use auto-texture units.
|
13 years ago |
alteredq
|
670b7724ee
Started to experiment with texture uniforms having automagic texture unit setting.
|
13 years ago |
Mr.doob
|
fbf435f871
Merging with @alteredq.
|
13 years ago |
alteredq
|
8eb14bad14
Trying to fix doom 3 demo.
|
13 years ago |
apendua
|
9acd1debff
Skinning can now cooperate with MorphTargets and MorphNormals.
|
13 years ago |
alteredq
|
fcada9c28c
Added specular map to Phong, Lambert and Basic materials.
|
13 years ago |
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 |