How to flip normals of a sphere in Amplify Shader editor

Node-based Shader Editor

How to flip normals of a sphere in Amplify Shader editor

Postby ajopart » Mon Jan 14, 2019 7:12 pm

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.
ajopart
 
Posts: 1
Joined: Mon Jan 14, 2019 7:04 pm

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

Postby Amplify_Borba » Tue Jan 15, 2019 8:55 am

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!
User avatar
Amplify_Borba
 
Posts: 1239
Joined: Mon Jul 24, 2017 9:50 am


Return to Amplify Shader Editor

Who is online

Users browsing this forum: No registered users and 5 guests