Skip to content

Commit

Permalink
feat: mark material for update when shader is set
Browse files Browse the repository at this point in the history
  • Loading branch information
oscarlorentzon committed Apr 2, 2024
1 parent fc8240b commit 4c0bc90
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/component/image/ImageGLRenderer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -209,6 +209,7 @@ export class ImageGLRenderer {
material.vertexShader = resolveShader(
shader.vertex,
plane.camera);
material.needsUpdate = true;
}
}

Expand Down

0 comments on commit 4c0bc90

Please sign in to comment.