WebGLRenderer: fails to convert CubeCamera renderTarget to PMREM CubeUV format
See original GitHub issueRelated: #22178
This use case must also be supported.
const material = new THREE.MeshPhysicalMaterial( {
envMap: cubeCamera.renderTarget.texture, // should be auto-converted to PMREM CubeUV format
} );
three.js version: [r131]
Issue Analytics
- State:
- Created 2 years ago
- Comments:45 (22 by maintainers)
Top Results From Across the Web
How to get CubeTexture from CubeCamera to show properly ...
WebGLRenderer : fails to convert CubeCamera renderTarget to PMREM CubeUV format. opened 03:10PM - 01 Aug 21 UTC. WestLangley. Enhancement.
Read more >three.js create texture from cubecamera - Stack Overflow
renderTarget, side: THREE.DoubleSide});. This works great for meshes that are meant to reflect or refract what the cube camera sees. However, I' ...
Read more >Three.js Click to Move - CodePen
c.format,c.type,c.anisotropy ... U(){this.elements=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1];0<arguments.length&&console.error("THREE.Matrix4: the constructor no ...
Read more >https://raw.githubusercontent.com/mrdoob/three.js/...
getDataURL: Image converted to jpg for performance reasons', image); return ... class CubeCamera extends Object3D { constructor(near, far, renderTarget) ...
Read more >UNPKG - @google/model-viewer
getDataURL: Image converted to jpg for performance reasons', ... CubeCamera extends Object3D {\n\n\tconstructor( near, far, renderTarget ) {\n\n\t\tsuper() ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I’ve forgot that we could use this approach now the we have migrated to half floats. I guess we can give this a try and see how the solution performs.
@makc Opting out is not possible.
MeshPhysicalMaterial
andMeshStandardMaterial
only support PMREM cube maps.The only solutions are:
MeshPhongMaterial
instead, or