- 10 1月, 2012 3 次提交
-
-
由 alteredq 提交于
Before SpotLight was a weird mix of shadow casted from PointLight and light casted from DirectionalLight.
-
由 alteredq 提交于
After shadow mapping fixes orthographic shadow projection finally started to work. Work in progress. Still need to figure out some way to set up shadow camera automagically with respect to the actual camera (so that whole scene is shadowed when the camera moves). For the moment shadow camera needs to be handled manually (like for SpotLight).
-
由 alteredq 提交于
As per discussion here: https://github.com/alteredq/three.js/commit/835b57addaf328412b61a2b644ff5efd7fe6d25e
-
- 07 1月, 2012 7 次提交
- 06 1月, 2012 5 次提交
-
-
由 alteredq 提交于
This should allow to have spotlights as a parts of hierarchy.
-
由 alteredq 提交于
-
由 alteredq 提交于
Sidenote: these extra verbose Closure warnings are starting to pay off - I keep catching subtle bugs (like missing dependencies in rarely used code corners).
-
由 Mr.doob 提交于
-
由 alteredq 提交于
This allows to have different shadow map parameters for different lights, also it's easier to access parameters for tweaking / debugging. Changes: renderer.shadowMapWidth => spotLight.shadowMapWidth renderer.shadowMapHeight => spotLight.shadowMapHeight renderer.shadowMapBias => spotLight.shadowBias renderer.shadowMapDarkness => spotLight.shadowDarkness renderer.shadowCameraNear => spotLight.shadowCameraNear renderer.shadowCameraFar => spotLight.shadowCameraFar renderer.shadowCameraFov => spotLight.shadowCameraFov Also added new uniform type "v2v" for array of Vector2 (to support per-light sizes of shadow maps).
-
- 05 1月, 2012 5 次提交
- 04 1月, 2012 14 次提交
-
-
由 Mr.doob 提交于
-
由 zz85 提交于
-
由 zz85 提交于
-
由 Mr.doob 提交于
-
由 Mr.doob 提交于
-
由 zz85 提交于
-
由 zz85 提交于
-
由 zz85 提交于
-
由 alteredq 提交于
-
由 alteredq 提交于
This is for seeing how camera actually looks (frustum, line-of-sight, up), it's not a camera. Not sure about the name.
-
由 Mr.doob 提交于
-
由 Mr.doob 提交于
-
由 Mr.doob 提交于
-
由 Erik Kitson 提交于
Fixed bug where depth buffer is not cleared if last object rendered on previous render cycle disabled depth mask.
-
- 03 1月, 2012 6 次提交