Hey guys,
some materials are opaque to certain wavelengths of light but transparent to others. If you place a green glass in between a white light source and an outer red glass, the exiting light color becomes yellow/orange. A clever approach to use colored multi-component translucent materials to let e.g. the turn light shine yellow/orange when it´s turned on, while the tail lamp appears fully red from the outside when it’s turned off. I wonder if this is possible with V-Ray
The first test ended in a bad result, but maybe there is something wrong with the setup.
Of course red and green light makes yellow. So makes perfect sense.
What technique are you using to make the glass red in VRay? It looks like it has some fresnel effect.
I am out of the office, but I would try coloring the refraction map. If that fails, color the fog, or try both.
But something tells me you likely already tried this.
The IOR looks different between the two samples as well??
I also wonder if a thin IOR 1.0 “gel” object placed on the inside of the red lens might help, or be necessary. But the other renderer looks great. What renderer is that?
I tested both fog color and refraction color, in this case, the result was the same.
The other renderer is Vred which is very rooted in automotive visualization. They claim to be fully spectral.
I would say that there’s something wrong happening, on the back side of the red glass I get the yellow tint, on the front I see no light at all when using a green glass in between, Ill post some results later.
Never mind.. I rebuild the shader from scratch and I get the correct result, very basic setup, white refraction and red/green fog color. I’m colorblind though so its possible I’m missing something..
Weird, it just does not work. This is a test in Max 2024 with V-Ray 60.10.08.
White refraction, red/green fog color and a white sphere light behind the discs.
Fog is a filter.
You see red in the top glass because green and blue are absorbed by it.
The green from below will never come through if the color is pure red, or set to absorb it all.
The plus operation of the overlayed glass, in other words, comes after the filtering by fog/refraction color.