Skip to content

Commit 9aaa6ce

Browse files
committed
WebGLUniforms: Include SAMPLER_CUBE_SHADOW in sort.
1 parent 41561b8 commit 9aaa6ce

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/renderers/webgl/WebGLUniforms.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1129,7 +1129,7 @@ class WebGLUniforms {
11291129

11301130
for ( const u of this.seq ) {
11311131

1132-
if ( u.type === gl.SAMPLER_2D_SHADOW ) {
1132+
if ( u.type === gl.SAMPLER_2D_SHADOW || u.type === gl.SAMPLER_CUBE_SHADOW ) {
11331133

11341134
shadowSamplers.push( u );
11351135

0 commit comments

Comments
 (0)