You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I’m trying to get a mirror-like effect on the floor for my scene.
I’m using effect composer to use the SSR effect, and so, having a floor that will mirror the lights and the objects on my scene. But the problem is, my objects also get the light. They also have the mirror effect but I don’t want it. They are planeBufferGeometry, with custom shaderMaterial.
I tried with some attributes like receiveShadows, but not working.
I’m maybe searching for a way to select only the meshes on which I want the effect to apply. I saw that in ThreeJS, there is something like “selects” for SSR Pass, is there anything like this in Three Fiber ?
Hey here !
Hope you are doing well,
I’m trying to get a mirror-like effect on the floor for my scene.
I’m using effect composer to use the SSR effect, and so, having a floor that will mirror the lights and the objects on my scene. But the problem is, my objects also get the light. They also have the mirror effect but I don’t want it. They are planeBufferGeometry, with custom shaderMaterial.
I tried with some attributes like receiveShadows, but not working.
I’m maybe searching for a way to select only the meshes on which I want the effect to apply. I saw that in ThreeJS, there is something like “selects” for SSR Pass, is there anything like this in Three Fiber ?
For some code, here is the global Effect Composer
here is the effect of R3F that work well to create the mirror effect
here is one of my mesh
If you have the solution, any idea, or think that it's not the right way to achieve mirror effect, let me know,
Thank you all ! Have a great day !
The text was updated successfully, but these errors were encountered: