Page 1 of 1

How to flip normals of a sphere in Amplify Shader editor

PostPosted: Mon Jan 14, 2019 7:12 pm
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.

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

PostPosted: Tue Jan 15, 2019 8:55 am
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!