Cubecamera as Texture for a Sphere Geometry => Cube Structure Way Too Visible. .. React Three Fiber
I Hope This Message Finds You Well Codesandbox: I've Been Following the Last Tutorial of Yuri Artiukh on Noise () to "Translate" It in R3F. It's Been a Blast...
I hope this message finds you well
codesandbox :
I've been following the last tutorial of Yuri Artiukh on noise () to "translate" it in R3F. It's been a blast but i'm confronting one special issue I can't really resolve :
I'm using a CubeCamera to mirror the shader of the background, and it's working fine, the only problem is that the "structure" of the cube is clearly seeable in the sphere. I don't know if it's coming from the fragment shader or the set up of the renderer for the cube camera. Does anyone has any idea how to solve it.
to do so, I use the CubeCamera component from @react-three/drei :
plus a fresnel shader that you can found here :
To show it clearly, I have that :
I want that :
Thanks, Alex