Mr.doob
|
538ce76897
More ShadowMaps refactoring.
|
10 anni fa |
Mugen87
|
55504ff81d
removal of THREE.MeshFaceMaterial
|
10 anni fa |
Mr.doob
|
954ba555ce
WebGLShadowMap: Use state.clearColor().
|
10 anni fa |
Mr.doob
|
392b53f016
WebGLRenderer: Moved scissor/viewport state code to WebGLSate. Fixes #7732.
|
10 anni fa |
Mr.doob
|
48461d0875
WebGLRenderer: Tweaked the way setViewport/setScissor works. See #5979 #7732.
|
10 anni fa |
Mr.doob
|
06554f209d
WebGLShadowMap: Detach RenderTarget. Maybe fixes #7732?
|
10 anni fa |
Mr.doob
|
63e626fa13
Removed unused variables.
|
10 anni fa |
Mr.doob
|
faebb42ee1
WebGLRenderer: Support viewports + shadowmap. Fixes #3532.
|
10 anni fa |
Mr.doob
|
7a9f11167c
WebGLRenderer: Simplified _lights.shadows. (Was trying to link them)
|
10 anni fa |
Mr.doob
|
4bfdf068ce
WebGLRenderer: Removed unused lights reference.
|
10 anni fa |
Mr.doob
|
a103cd56b1
WebGLShadowMap: Use parsed lights array.
|
10 anni fa |
Mr.doob
|
3460f25114
WebGLShadowMap: Added layers support.
|
10 anni fa |
Mr.doob
|
a83c56772d
WebGLRenderer: Fixed castShadow.
|
10 anni fa |
Mr.doob
|
0e045c7c4b
LightShadow API clean up.
|
10 anni fa |
Mr.doob
|
3e12ab145d
Vector2: Added width/height getters/setters. Seems simpler than creating Size2.
|
10 anni fa |
Mr.doob
|
978b7b1f91
WebGLShadowMap: Clean up.
|
10 anni fa |
Mr.doob
|
f1d3105ca6
Refactored Light's shadow API.
|
10 anni fa |
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 anni fa |
Mr.doob
|
120beba99f
WebGLShadowMap: Moved getViewport out of loop. See #7239.
|
10 anni fa |
mkkellogg
|
72670aef67
Unrolled loop in calculation of PCF shadow maps for point lights.
|
10 anni fa |
mkkellogg
|
83e2794ac8
Bug fix: Viewport not restored correctly when rendering point light shadows for scenes that contain multiple light types.
|
10 anni fa |
Mr.doob
|
7c8a56441f
Merge pull request #7237 from tschw/DRYinShadowMap
|
10 anni fa |
tschw
|
9db7aca23f
ShadowMap: Corrected number of material variants.
|
10 anni fa |
Mr.doob
|
be7aa67c85
WebGLShadowMap: Clean up.
|
10 anni fa |
tschw
|
52a7137f0b
ShadowMap: Refactored repetitive code.
|
10 anni fa |
tschw
|
1b0d49df6a
Edited comments and whitespace, amending #7153.
|
10 anni fa |
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 anni fa |
mkkellogg
|
f476908380
Point light shadow mapping now utilizes cube-to-2D projection, avoiding the need for a samplerCube in the shader.
|
10 anni fa |
mkkellogg
|
8dfd933fd6
Added checks for definition of POINT_LIGHT_SHADOWS in shaders for including point light shadow mapping code.
|
10 anni fa |
Mark Kellogg
|
5964cb9b00
Updated point-light shadow mapping code to be more efficient with uniforms and varyings.
|
10 anni fa |