Page 1 of 1

How do I invert color on shader? Inside out shader?

PostPosted: Thu Mar 08, 2018 3:54 pm
by markashburner
Hi

I am trying to work out how to invert the color on my spherical mesh which I am using for an atmosphere shader.

So I need the color to show on the inside of the mesh.

Can someone please give me a quick tip on how to do this?

Thanks

Re: How do I invert color on shader? Inside out shader?

PostPosted: Thu Mar 08, 2018 4:38 pm
by Amplify_Borba
Hello Mark, thank you for getting in touch!

You could try using a One Minus Node together with a Switch by Face Node in order to have a color on the outer face and its inverted color in the inner one, as per the example node setup below:

InvertColor.jpg
InvertColor.jpg (83.09 KiB) Viewed 5487 times


Please let me know if this helps, thanks!

Re: How do I invert color on shader? Inside out shader?

PostPosted: Thu Mar 08, 2018 11:24 pm
by markashburner
Hi Amplify_Borba

No that didn't achieve the desired effect. Inside shader is not visible.

Re: How do I invert color on shader? Inside out shader?

PostPosted: Thu Mar 08, 2018 11:41 pm
by Lizzard
Set "Cull Mode" to "Off" maybe?

Re: How do I invert color on shader? Inside out shader?

PostPosted: Fri Mar 09, 2018 11:37 am
by markashburner
Yes Lizard that did the trick. Thank you.