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

Node-based Shader Editor

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

Postby markashburner » Thu Mar 08, 2018 3:54 pm

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
markashburner
 
Posts: 8
Joined: Thu Mar 08, 2018 3:51 pm

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

Postby Amplify_Borba » Thu Mar 08, 2018 4:38 pm

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 5633 times


Please let me know if this helps, thanks!
Customer Relations at Amplify Creations
Learn more about our offering: Amplify Creations Products
Amplify Shader Editor won the Asset Store Best Tool Award - Thank you for your support!
User avatar
Amplify_Borba
 
Posts: 1239
Joined: Mon Jul 24, 2017 9:50 am

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

Postby markashburner » Thu Mar 08, 2018 11:24 pm

Hi Amplify_Borba

No that didn't achieve the desired effect. Inside shader is not visible.
markashburner
 
Posts: 8
Joined: Thu Mar 08, 2018 3:51 pm

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

Postby Lizzard » Thu Mar 08, 2018 11:41 pm

Set "Cull Mode" to "Off" maybe?
Lizzard
 
Posts: 8
Joined: Mon Feb 26, 2018 2:25 pm

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

Postby markashburner » Fri Mar 09, 2018 11:37 am

Yes Lizard that did the trick. Thank you.
markashburner
 
Posts: 8
Joined: Thu Mar 08, 2018 3:51 pm


Return to Amplify Shader Editor

Who is online

Users browsing this forum: Bing [Bot] and 3 guests