i want make mirror but if i change metalness 1 so MeshReflectorMaterial color look like black
i want change color same scene background color even still metalness is 1 and then look like transparently
how can i fix my code
thank you
<mesh rotation={[-Math.PI / 2, 0, 0]}>
<planeGeometry args={[50, 50]} />
<MeshReflectorMaterial
blur={[300, 100]}
resolution={2048}
mixBlur={0.1}
mixStrength={100}
roughness={0.1}
depthScale={1.2}
minDepthThreshold={0.4}
maxDepthThreshold={1.4}
color=“#ffffff”
metalness={1}
/>
scene.background
does not affect material rendering. Does your scene have scene.environment
also set to a white texture?
1 Like
I haven’t tried it yet, but I wanted to make the Reflector boundary invisible.
The reason is that I wanted to create a transparent floor like a mirror, where the panel is not visible against the scene background.
However, it was challenging due to color issues.
If I need to change the environment texture multiple times to match the color, it might be difficult.
I realized now that the scene background color doesn’t affect the Reflector.
Thank you for your help.