Commit History

Author SHA1 Message Date
  Ben Houston b323f3bd7d adopt attenuation equation discussed here: https://github.com/mrdoob/three.js/pull/5787#issuecomment-68066541 Also apply attenuation formula to example shaders. 10 years ago
  Ben Houston 2dc5d1e71e deal with @WestLangley's issues #1, #2, #3, #4 from here: https://github.com/mrdoob/three.js/pull/5809#issuecomment-68329651 10 years ago
  Ben Houston af236a42f2 completing adjustable gamma - still one bug left. 10 years ago
  Ben Houston cc7634efa2 refactor shaders to use diffuseColor and outgoingLight instead of gl_FragColor. 10 years ago
  Ben Houston 6f8d6ddd06 remove material.ambient from everything per discussion here: https://github.com/mrdoob/three.js/pull/5741#issuecomment-67893202 10 years ago
  Ben Houston 04ce05d49c unifying shader names. 11 years ago
  alteredq 886ba4de3e Renamed mPosition => worldPosition in shaders. 12 years ago
  alteredq 2a7885e8b3 Renamed uniform hemisphereLightPosition => hemisphereLightDirection 12 years ago
  alteredq 20b93e3fff Fixed HemisphereLight shading. 12 years ago
  alteredq e08818649e Added handling of HemisphereLight and shadow maps to terrain shader. 13 years ago
  alteredq 013f3b375e Changed the rest of the lib and examples to use auto-texture units. 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 852738580e Added dynamic terrain example. 13 years ago