KeyShot Forum

Technical discussions => General discussion => Topic started by: archz2 on February 03, 2022, 07:00:34 AM

Title: Making lights invisible in ground reflections?
Post by: archz2 on February 03, 2022, 07:00:34 AM
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?

(https://i.imgur.com/3HGMoVP.png)

ksp file can be downloaded from here

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


Title: Re: Making lights invisible in ground reflections?
Post by: RRIS on February 03, 2022, 07:19:43 AM
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).
Title: Re: Making lights invisible in ground reflections?
Post by: mattjgerard on February 03, 2022, 07:37:03 AM
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.
Title: Re: Making lights invisible in ground reflections?
Post by: 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?


(https://i.imgur.com/lgHSsC1.png)

Here is the updated ksp file.
https://we.tl/t-OMv72u2ji8
Title: Re: Making lights invisible in ground reflections?
Post by: mattjgerard on February 03, 2022, 01:39:01 PM
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?


(https://i.imgur.com/lgHSsC1.png)

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

Title: Re: Making lights invisible in ground reflections?
Post by: archz2 on February 04, 2022, 01:47:57 AM
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.
(https://i.imgur.com/vwUugWX.png)

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

Title: Re: Making lights invisible in ground reflections?
Post by: mattjgerard on February 04, 2022, 08:16:55 AM
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.
Title: Re: Making lights invisible in ground reflections?
Post by: archz2 on February 04, 2022, 09:01:52 AM
Yes. The situation is more or less the same.
(https://i.imgur.com/nHpZXS6.png)

If I turn off 'visible in reflections' then it allows light to pass through which shouldn't be the case.
(https://i.imgur.com/IzZr3xx.png)
Title: Re: Making lights invisible in ground reflections?
Post by: archz2 on February 10, 2022, 07:18:23 AM
Bump.........
Title: Re: Making lights invisible in ground reflections?
Post by: RRIS on February 17, 2022, 05:40:29 AM
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.
Title: Re: Making lights invisible in ground reflections?
Post by: DT on February 18, 2022, 03:12:35 PM
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.