Controlling Reflection Intensity

Hi, I’m trying to achieve a result similar to:


where the blue and black objects are reflective.

I saw this example: three.js examples that uses THREE.Reflector but couldn’t find how to control the reflection intensity (so it won’t be like a mirror) or the reflective object color.

How would you go about this?

Thanks!

Link doesn’t work anymore. I have the same question as above.

The THREE.Reflector class has a color option. Can you solve your issue by changing the default value (0x7F7F7F) to a different one?

As you can see below, changing the color doesn’t decrease the intensity of the reflection. I’m wondering if their is a way in the fragment-shader code of the THREE.Reflector to do so. Is their any performant work around I can do?

Are you looking for a fading effect like discussed in Creating a fading reflection or a constant attenuation over the entire reflector?

I’m asking since there is already a solution for the first one.

A constant attenuation over the entire reflector. I have looked at the fading example and its not the desired effect. I’d like as if I can change the intensity of the reflection over the entire reflector. Like make the intensity of the reflection range from 0 to 1.