- 28 12月, 2012 1 次提交
-
-
由 Mr.doob 提交于
-
- 26 12月, 2012 2 次提交
- 24 12月, 2012 7 次提交
- 23 12月, 2012 2 次提交
- 22 12月, 2012 18 次提交
-
-
由 Mr.doob 提交于
-
由 Mr.doob 提交于
-
由 Mr.doob 提交于
-
由 Mr.doob 提交于
I tried to replace the box.js with CubeGeometry but I guess material.side is still not implemented.
-
由 alteredq 提交于
WebGLDeferredRenderer: made attenuation parameters properties of AreaLight instead of hardcoded constants.
-
由 alteredq 提交于
Up vector can go outside of the shader. Attenuation can be computed only for lit pixels. Also removed magic 1.5 constant in diffuse term.
-
由 alteredq 提交于
Using original ArKano22's way: http://www.gamedev.net/topic/552315-glsl-area-light-implementation/
-
由 alteredq 提交于
Also added forgotten AreaLight.js
-
由 alteredq 提交于
Moved computation of view space position, normal and right vectors out of shader into JS and passing them as per-light uniforms.
-
由 alteredq 提交于
-
由 alteredq 提交于
To be continued ... todo: - optimize vectors that don't need to be computed in shaders - use material albedo - add specular term - wrapAround lighting (if possible) - make attenuation parameters uniforms or defines instead of hardcoding them - this is not using surface normal anywhere, this can't be right? - maybe some box proxy instead of full-screen quad See #2624
-
由 Ben Houston 提交于
if and return series suggested by mrdoob here: https://github.com/bhouston/three.js/commit/6c765dcdb2c790ddcc5d613e96be8a0e66eca1f8#commitcomment-2346419
-
由 Mr.doob 提交于
-
由 Mr.doob 提交于
-
由 Ben Houston 提交于
add Array storage as another alternative to the Vector3 storage benchmark. fix bug in Float32Array length method.
-
由 Ben Houston 提交于
-
由 Ben Houston 提交于
-
由 Ben Houston 提交于
use switch statements in Vector2/3/4.getComponents()/setComponents() based on it being 5-10x faster than index-to-name based on benchmark_vector3components.html
-
- 21 12月, 2012 10 次提交
-
-
由 Ben Houston 提交于
-
由 Ben Houston 提交于
-
由 Ben Houston 提交于
inline Vector2/3/4/Quaternion.length()/lengthSq() and optimize Vector2/3/4.setLength() with unit test coverage.
-
由 Ben Houston 提交于
-
由 Ben Houston 提交于
-
由 alteredq 提交于
-
由 Mr.doob 提交于
-
由 alteredq 提交于
See #2803
-
由 alteredq 提交于
And this should be it. Probably our longest standing bug. Relief ;)
-
由 alteredq 提交于
-