Commit History

Author SHA1 Message Date
  alteredq 88604b4a0a Testing the impact of normalization of transformed normals in vertex shaders (phong, normal, normalmap, skin simple). 12 years ago
  alteredq b3428102e8 Removed check for WebGLRenderer in ShaderUtils. 12 years ago
  alteredq ab085277e2 Simplified cube and fresnel shaders. 12 years ago
  alteredq 36d2494d59 Renamed nWorld => worldNormal in shaders. 12 years ago
  alteredq 886ba4de3e Renamed mPosition => worldPosition in shaders. 12 years ago
  alteredq 80dd93a86b Renamed spotLightAngle uniforms to spotLightAngleCos. 12 years ago
  alteredq 5cb7155208 Added clamping to spotLight term in shaders. 12 years ago
  alteredq 2a7885e8b3 Renamed uniform hemisphereLightPosition => hemisphereLightDirection 13 years ago
  alteredq 20b93e3fff Fixed HemisphereLight shading. 13 years ago
  alteredq 0faca8f468 Made normal map shader consistent with Phong shader. 13 years ago
  alteredq 25bffd0d3b One possible workaround for normal map inconsistencies across models. 13 years ago
  alteredq af9fb1d193 Added handling of flipSided also to normal map shader. 13 years ago
  alteredq 0d1c3ac212 Added handling of HemisphereLight to normal map shader. 13 years ago
  alteredq 013f3b375e Changed the rest of the lib and examples to use auto-texture units. 13 years ago
  Mr.doob fbf435f871 Merging with @alteredq. 13 years ago
  alteredq 8eb14bad14 Trying to fix doom 3 demo. 13 years ago
  Mr.doob 6bdaf52ae9 Nickname consistency. 13 years ago
  alteredq 265b351683 Small optimization in reflection shader code. 13 years ago
  alteredq 8d330fdeb2 Fixed reflection and added handling of refraction to normal map shader. 13 years ago
  Mr.doob 902c47a17c Renamed objectMatrix to modelMatrix for consistency. 13 years ago
  alteredq aa5918fbb8 Added support for metal flag to normal map shader. 13 years ago
  alteredq 672ae308c2 First stab at skinning in normal map shader. 13 years ago
  alteredq 13a665d444 Refactored normal map shader: fixed displacement mapping, made it toggleable, saved one varying. 13 years ago
  alteredq a2f0cf06a0 Changed normal map shader to be per-pixel. 13 years ago
  alteredq f75b34db18 Added SpotLight support to normal map shader. 13 years ago
  alteredq fc639b2ab6 Added physical specular term also to normal map shader. 13 years ago
  alteredq f59ed3e2ab Changed default ambient color to 0xffffff. 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