KeyShot Forum

Technical discussions => General discussion => Topic started by: PeterSwift on July 10, 2018, 05:45:28 AM

Title: transparent ground plane?
Post by: PeterSwift on July 10, 2018, 05:45:28 AM
If I want to render with transparent background but I also want to control the ground shadow so I add a ground plane. But then the ground plane is not transparent in the rendering.   

How do you fix this so everything is transparent inc the ground plane. I'm trying to figure out material graph but I don't get it working.  Is a product in a cylinder shape.  standing on the ground plane.
Title: Re: transparent ground plane?
Post by: TGS808 on July 10, 2018, 06:35:00 AM
Before you render your image, make sure that "Include Alpha (Transparency)" is checked in your output settings. Also, make sure your ground plane is using the default "ground" material. If you do this, your ground plane will be transparent.
Title: Re: transparent ground plane?
Post by: PeterSwift on July 10, 2018, 07:10:06 AM
ah my Issue I see now that its becosue I tried to fade out the ground shadow using a occulusion material. It made the ground plane visable in my transparancy. So i tried the using a gradient map material instead and that work just fine :)

So I found the issue :) thanks anyways .
Title: Re: transparent ground plane?
Post by: TGS808 on July 10, 2018, 07:34:30 AM
Perhaps I misunderstood your question. Outside of using an opacity map to hide parts of a ground plane, using the "ground" material is the only way to ensure the ground plane will be transparent in your scene and still retain the shadows that fall on it. Any other material applied to the ground plane will result in the ground plane being visible in the scene, which is why you could see it when you applied the occlusion material to it. So, I guess having the ground plane be transparent wasn't quite what you were after. Sounds more like you were trying to control some aspect of the shadow. Either way, good that you found some sort of a solution to your problem.
Title: Re: transparent ground plane?
Post by: PeterSwift on July 10, 2018, 07:54:47 AM
I wanted it transparent. I just got confused when occlusion material overrode the ground plane material properties even when it was just an opacity map.
But when I change to gradient map to the opacity map, to fade the ground shadow, it worked just fine.


Title: Re: transparent ground plane?
Post by: TGS808 on July 10, 2018, 08:17:39 AM
Yes, as I said, any other material besides "ground" on a ground plane will override the transparency and render the ground plane visible. Gradients in the opacity channel however work great for fading out a ground plane when any material other than ground is applied.