Skip to content

Commit

Permalink
Fix skybox using the wrong texture
Browse files Browse the repository at this point in the history
  • Loading branch information
adamwych committed Nov 17, 2023
1 parent affe1c9 commit d990298
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/renderer/webgl2/3d-preview/renderer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ export default class WebGL3dPreviewRenderer {
this.environmentMap!,
);
this.skyboxRenderPass.render(
this.environmentMap!.getPrefilterMapTexture(),
this.environmentMap!.getCubeMapTexture(),
this.cameraProjection,
this.cameraView,
);
Expand Down

0 comments on commit d990298

Please sign in to comment.