How to get CubeTexture from CubeCamera to show properly on MeshStandardMaterial

Hey All,

I’ve been trying to experiment using reflections from cube cameras. However I can’t get the reflections to show on MeshStandardMaterials. However I can get it to show on MeshBasic and MeshLambert. I’ve attached a code sandbox to provide an example. And it should be using the latest v134

In the createMeshes() function, there’s two premade materials (one basic and standard). You can swap them out in the mesh constructor function.

Is there something I am doing wrong?


The support for raw cube textures and cube render targets has been stopped for all PBR materials because the result was not physically correct. You always have to pre-process environment maps with PMREMGenerator when using MeshStandardMaterial or MeshPhysicalMaterial.

Until the following issue is resolved, you have to use MeshPhongMaterial instead.

1 Like

Understood that makes sense. Thanks Mugen!