Mr.doob
|
a103cd56b1
WebGLShadowMap: Use parsed lights array.
|
9 years ago |
Mr.doob
|
3460f25114
WebGLShadowMap: Added layers support.
|
9 years ago |
Mr.doob
|
a83c56772d
WebGLRenderer: Fixed castShadow.
|
9 years ago |
Mr.doob
|
0e045c7c4b
LightShadow API clean up.
|
9 years ago |
Mr.doob
|
3e12ab145d
Vector2: Added width/height getters/setters. Seems simpler than creating Size2.
|
9 years ago |
Mr.doob
|
978b7b1f91
WebGLShadowMap: Clean up.
|
9 years ago |
Mr.doob
|
f1d3105ca6
Refactored Light's shadow API.
|
9 years ago |
mkkellogg
|
e749f44da9
Added call to _renderer.resetGLState() at the end of light loop in WebGLShadowMap.render(), updated WebGLRenderer.refreshUniformsShadow() to send inverse of point light position to shader. Fixes #7260.
|
10 years ago |
Mr.doob
|
120beba99f
WebGLShadowMap: Moved getViewport out of loop. See #7239.
|
10 years ago |
mkkellogg
|
72670aef67
Unrolled loop in calculation of PCF shadow maps for point lights.
|
10 years ago |
mkkellogg
|
83e2794ac8
Bug fix: Viewport not restored correctly when rendering point light shadows for scenes that contain multiple light types.
|
10 years ago |
Mr.doob
|
7c8a56441f
Merge pull request #7237 from tschw/DRYinShadowMap
|
10 years ago |
tschw
|
9db7aca23f
ShadowMap: Corrected number of material variants.
|
10 years ago |
Mr.doob
|
be7aa67c85
WebGLShadowMap: Clean up.
|
10 years ago |
tschw
|
52a7137f0b
ShadowMap: Refactored repetitive code.
|
10 years ago |
tschw
|
1b0d49df6a
Edited comments and whitespace, amending #7153.
|
10 years ago |
mkkellogg
|
a7eed9d638
Updated cubeToUV() to a reduced-instruction version with minimal branching, and updated near plane values for shadow map cameras to be at least 1.
|
10 years ago |
mkkellogg
|
f476908380
Point light shadow mapping now utilizes cube-to-2D projection, avoiding the need for a samplerCube in the shader.
|
10 years ago |
mkkellogg
|
8dfd933fd6
Added checks for definition of POINT_LIGHT_SHADOWS in shaders for including point light shadow mapping code.
|
10 years ago |
Mark Kellogg
|
5964cb9b00
Updated point-light shadow mapping code to be more efficient with uniforms and varyings.
|
10 years ago |
Mark Kellogg
|
ebe6e29939
Updated code formatting.
|
10 years ago |
Mark Kellogg
|
01e0199b3c
Added shadow functionality for point lights.
|
10 years ago |
Mr.doob
|
cb5474fa27
WebGLShadowMap: Removed unused camera reference.
|
10 years ago |
Mr.doob
|
79693fd417
WebGLRenderer: Set group to null to maintain renderItem object structure. @tschw sounds good?
|
10 years ago |
Mr.doob
|
c97bcf9bb8
Renamed THREE.PointCloud to THREE.Points.
|
10 years ago |
Steven Lu (PuTTY Win7 on rMBP[tmux])
|
189ded0892
fix
|
10 years ago |
Mr.doob
|
16b8507264
Revert "WebGLShadowMap: Fixed clearColor bug"
|
10 years ago |
WestLangley
|
13014d3c10
Fixed clearColor bug
|
10 years ago |
Benjamin Dobell
|
ef11160d24
Fixed MultiMaterial shadowing copy n paste bug
|
10 years ago |
Mr.doob
|
9ad1129dbd
WebGLRenderer: Minor tweaks.
|
10 years ago |