Planetside Software Forums

Support => Terragen Support => Topic started by: Dune on February 22, 2020, 01:36:03 AM

Title: opacity bug?
Post by: Dune on February 22, 2020, 01:36:03 AM
Did I stumble upon an opacity bug in 4.4.19? Default color is black, opacity input masks out all except distant SSS, preview doesn't indeed show anything close, but render is very different! Can anyone confirm? I will check it out again today.
Title: Re: opacity bug?
Post by: Matt on February 25, 2020, 09:28:23 PM
At the moment (v4.4), opacity doesn't work on displaceable micropoly surfaces when using "Defer all shading" (or path tracing) because the shaders are not evaluated when the micropoly buffer is generated. I will get this working in a future update.

If your only reason to mask the water is to make it render faster where it is hidden, there is no point in doing this with deferred shading because it's not shaded where it's not visible.
Title: Re: opacity bug?
Post by: WAS on February 25, 2020, 09:48:16 PM
I was actually hoping to mask out the water surface poking through the main surface because of small divots in the terrain. Masking the waves smoothly out is a bit of a pain and I had hoped to just use a hard mask at the water line level and just make the water inland not there
Title: Re: opacity bug?
Post by: Matt on February 25, 2020, 09:50:31 PM
You could displace the water downwards so that it's not visible. With deferred shading that will be as fast as any other method, as long as the displacement is gradual, not abrupt.
Title: Re: opacity bug?
Post by: WAS on February 25, 2020, 10:03:47 PM
That makes sense. 

Dune is your surface just one solid surface? It seems what is showing isn't totally solid. Is the horizon, what isn't supposed to be masked brighter/harder?
Title: Re: opacity bug?
Post by: Dune on February 26, 2020, 02:24:01 AM
Thanks Matt, I'll keep that in mind. I wanted to get rid of water in a valley, so I have to do that differently. And yes, WAS, it's all one sphere.