MiiBond
|
7bbfe6996f
Moved bilinear filtering of shadow maps into the shader. Previously, the filtering on the shadowmap was set to linear outside of the shader and this doesn't work for filtering a depth comparison. For PCF, the filtering needs to be done post-depth-comparison. i.e. in the shader.
|
12 yıl önce |
Harold Thetiot
|
d4cf08da10
Fix trailing commas into WebGLShaders.js
|
12 yıl önce |
alteredq
|
88604b4a0a
Testing the impact of normalization of transformed normals in vertex shaders (phong, normal, normalmap, skin simple).
|
12 yıl önce |
alteredq
|
36d2494d59
Renamed nWorld => worldNormal in shaders.
|
12 yıl önce |
alteredq
|
886ba4de3e
Renamed mPosition => worldPosition in shaders.
|
12 yıl önce |
alteredq
|
80dd93a86b
Renamed spotLightAngle uniforms to spotLightAngleCos.
|
12 yıl önce |
alteredq
|
5cb7155208
Added clamping to spotLight term in shaders.
|
12 yıl önce |
alteredq
|
2a7885e8b3
Renamed uniform hemisphereLightPosition => hemisphereLightDirection
|
12 yıl önce |
alteredq
|
20b93e3fff
Fixed HemisphereLight shading.
|
12 yıl önce |
alteredq
|
136faefe20
Editor: added handling of SpotLights. Added SpotLightHelper.
|
12 yıl önce |
alteredq
|
e39cbf23f1
Added LineDashedMaterial and corresponding example.
|
12 yıl önce |
alteredq
|
ab294a450c
Added "AddOperation" environment mapping combine type for additive cube maps reflections / refractions.
|
13 yıl önce |
alteredq
|
f31cc7fe6b
Trying to make less weird specular term for hemisphere light.
|
13 yıl önce |
alteredq
|
09991eb059
Fixed bug in hemisphere light in Lambert shader.
|
13 yıl önce |
alteredq
|
25bffd0d3b
One possible workaround for normal map inconsistencies across models.
|
13 yıl önce |
alteredq
|
1dcc2d756a
Merged and fixed @crobi's normalmaps via derivatives.
|
13 yıl önce |
Robert Carnecky
|
fbd22e761e
Merge remote-tracking branch 'remotes/mrdood/dev'
|
13 yıl önce |
Robert Carnecky
|
3463fc1857
Add support for normal maps in MeshPhongMaterial.js
|
13 yıl önce |
alteredq
|
6ae29843fc
Simplified flipSided handling in shaders.
|
13 yıl önce |
WestLangley
|
b9687e3ada
Corrected handling of flip-sided materials
|
13 yıl önce |
alteredq
|
694495764c
Added HemisphereLight.
|
13 yıl önce |
alteredq
|
013f3b375e
Changed the rest of the lib and examples to use auto-texture units.
|
13 yıl önce |
alteredq
|
670b7724ee
Started to experiment with texture uniforms having automagic texture unit setting.
|
13 yıl önce |
Mr.doob
|
fbf435f871
Merging with @alteredq.
|
13 yıl önce |
alteredq
|
8eb14bad14
Trying to fix doom 3 demo.
|
13 yıl önce |
apendua
|
9acd1debff
Skinning can now cooperate with MorphTargets and MorphNormals.
|
13 yıl önce |
alteredq
|
fcada9c28c
Added specular map to Phong, Lambert and Basic materials.
|
13 yıl önce |
alteredq
|
cf4e1c7b67
Moved bump uniforms into own chunk.
|
13 yıl önce |
alteredq
|
265b351683
Small optimization in reflection shader code.
|
13 yıl önce |
alteredq
|
a5a38ae323
Refactored environment mapping to use bump mapped normals (if available).
|
13 yıl önce |