I am trying to render an illuminated dashpanel using VrayBlendMtl.
Base material is black with coat materials with different VrayLightMtl using masks. Now I would like to lit all the different lights together with some Framebuffer Lens effects. Unfortunately everything (incl. white text decals) is used by the Lens effect.
How can I isolate only the illuminated parts which are using the VrayLightMtl?
You can do this by adjusting the ‘threshold’ parameter.
So for example, look at the pixel value of the light material and if it is e.g 10 then set the threshold to maybe 9.
That will likely be higher than the value of all the other objects that do not need the lens effect.
It’s just so you can see what the highest value is, so you can adjust the threshold.
So e.g. if you have 2 objects and you want only one to glare, if one object’s highest pixel value in any rgb is less than the threshold value then
you adjust the second object’s value to be generally higher, or adjust the values of the other object to be lower than that threshold…whichever works in the situation.
I’m set to RAW as default so I always get the correct readout, but it shouldn’t really matter as it’s only a comparison, unless I misunderstood what you wanted to do ofc