Planetside Software Forums

General => Terragen Discussion => Topic started by: WAS on September 26, 2020, 01:41:43 AM

Title: Background Sphere Shader Repeating on Backside
Post by: WAS on September 26, 2020, 01:41:43 AM
So I'm a little puzzled. I decided to add a new galaxy to my new star field generator. But, I immediately noticed something strange. The Simple Shape Shader when rotated on X by 90, to put it on the horizon (just to rest rotating) it repeats on the back side of the sphere as well. I was puzzled why I was seeing the same thing when I switched to 180 rotation, because it literally is the same thing on the other side. Is this normal? Can I not have this happen? Or?
Title: Re: Background Sphere Shader Repeating on Backside
Post by: Dune on September 26, 2020, 03:03:58 AM
Maybe clamp the output so negatives are out?
Title: Re: Background Sphere Shader Repeating on Backside
Post by: WAS on September 26, 2020, 09:55:08 AM
Hmm. Nope. An actual PF shader isn't doing the same shape on the other side. Next I'll try a manual function ellipsis.
Title: Re: Background Sphere Shader Repeating on Backside
Post by: Dune on September 26, 2020, 11:11:09 AM
Mask by distance (clamped Z) shader then....
Title: Re: Background Sphere Shader Repeating on Backside
Post by: WAS on September 26, 2020, 11:21:05 AM
I think it's because of the SSS at 0,0,0 to be rotatable. So it's being read from either side
Title: Re: Background Sphere Shader Repeating on Backside
Post by: cyphyr on September 26, 2020, 11:49:37 AM
Is it rendering like that or just showing up like that in the VP?

I have had similar issues with sun lights showing up in two places. Renders were fine though.

Check your default shaders specular settings.
Title: Re: Background Sphere Shader Repeating on Backside
Post by: WAS on September 26, 2020, 11:55:10 AM
There is no default shader, it's all no-alpha except the stars, and glows which are from a masked surface layer with a Alpha background (for a post fx mask). The rest is just luminosity glow.

It's in the renders too. The example is a spherical render showing both sides of the BG sphere.