Skip to content

Commit 23349c4

Browse files
feat: mark material for update when shader is set
1 parent 1a0b2af commit 23349c4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/component/image/ImageGLRenderer.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -209,6 +209,7 @@ export class ImageGLRenderer {
209209
material.vertexShader = resolveShader(
210210
shader.vertex,
211211
plane.camera);
212+
material.needsUpdate = true;
212213
}
213214
}
214215

0 commit comments

Comments
 (0)