Making lights invisible in ground reflections?

Started by archz2, February 03, 2022, 07:00:34 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

archz2

I am trying to render a model wherein I need to have lights on but not reflected on the ground plane. I only want the base geometry to be seen in the ground reflection. How can I do it?



ksp file can be downloaded from here

https://we.tl/t-5p1cF4XWlu



RRIS

If the lights are in the environment texture, then you probably can't. If the lights are physical lights (area lights), then you can disable them in reflections, but that might not get you the lighting you want on your object (as you will be missing the reflections  of the lights on that as well).

mattjgerard

RRIS is right, but the disable in reflections is only available in the Area Light light. They do look like HDRI pins.

As in all photography, its a balance between what we want, and what we can do. Need to play with light position, angle, camera position and angle. Also look into placing planes or objects in between the light and the reflective surface you want to block it from (we used to call these flags in the real world)

Until KS has the ability to do this on a per material basis, that's the only solutions that will work. Either that or some fancy photoshop work.

archz2

#3
Quote from: mattjgerard on February 03, 2022, 07:37:03 AM
Also look into placing planes or objects in between the light and the reflective surface you want to block it from (we used to call these flags in the real world)


How do I hide the plane and still make it block light reflections?




Here is the updated ksp file.
https://we.tl/t-OMv72u2ji8

mattjgerard

#4
Quote from: archz2 on February 03, 2022, 07:56:44 AM
Quote from: mattjgerard on February 03, 2022, 07:37:03 AM
Also look into placing planes or objects in between the light and the reflective surface you want to block it from (we used to call these flags in the real world)


How do I hide the plane and still make it block light reflections?




Here is the updated ksp file.
https://we.tl/t-OMv72u2ji8

Make it an emissive object, turn it black and uncheck visible to camera and visible in reflections


archz2

Still not working. This time Keyshot is not following basic laws of physics. How can an opaque black plane let a light pass through it?
I turned off 'visible to camera'. It's just for the screenshot purpose, I have toggled it on.


Here's the updated file.
https://we.tl/t-fpHyKJtCHm


mattjgerard

Here is what I came up with. I was mistaken you need to have "Visble in reflections" checked, otherwise the light travels through and is still visibile in the reflections. Move the flag around in this scene to see how it works. It will still be visible in the reflective floor due to this, but hopefully you can use position and camera angle to avoid it in the scene.

archz2

Yes. The situation is more or less the same.


If I turn off 'visible in reflections' then it allows light to pass through which shouldn't be the case.



RRIS

Probably easiest to render it once without floor, with reflections turned on in your lights (to get reflections in your object). Then render again with the floor, but without the reflections turned on (to get the floor with the object reflections, but without the light reflections). Then composite the two.

DT

#10
Create a new model set with your model and apply the white emissive material to the model then turn off visible in camera and and shadows.
Then add a ground/plane to the new model set and assign a metal/mirror material.
Create a ground reflection mask studio and then add the new mask model set along with a black environment.
Once rendered you'll have a mask of the reflection to remove the environment/lights from the ground reflection from the rendered beauty image.