Skip to content

Commit ff507be

Browse files
authored
WebGLUniforms: Include SAMPLER_CUBE_SHADOW in sort.
1 parent 3ec7df2 commit ff507be

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)