How to flip normals of a sphere in Amplify Shader editor

Node-based Shader Editor
Post Reply
ajopart
Posts: 1
Joined: Mon Jan 14, 2019 7:04 pm

How to flip normals of a sphere in Amplify Shader editor

Post by ajopart »

Hi there.

I'm trying to build a simple shader for a VR project using the Technic shown in this Unite talk: https://youtu.be/CYYPy6wXUQM?t=888.

I need a shader rendering a texture on the inner surface of a sphere, with a mask hiding some part of the texture.
To mask works fine but I cannot find a way to flip the normals of the basic Unity sphere.

I tried by simply taking a sphere in Blender and flipping the normals, working not great.
So I would prefer to use a unity sphere.

So, any idea how I could flip normals in Amplify ?

Thanks a lot for your time and help.
User avatar
Amplify_Borba
Posts: 1239
Joined: Mon Jul 24, 2017 9:50 am

Re: How to flip normals of a sphere in Amplify Shader editor

Post by Amplify_Borba »

Hello, thank you for getting in touch and for your support!

You should be able to achieve a similar effect by setting your shader's 'Cull Mode' to 'Off' / 'Front', and inverting the Vertex Nomals as per the example below:

Image

Image

Please let us know if this helps!
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!
Post Reply