Hi, I have two questions about normals and Custom Render Texture Template:
- Is there a node or a function to convert height map texture to normal?
Some questions
- Amplify_Borba
- Posts: 1239
- Joined: Mon Jul 24, 2017 9:50 am
Re: Some questions
Hey there, it seems that you've only posted one question.
We provide a shader function called 'Normal Create' that generates a normal map from a greyscale image, as long as you sample that texture through a Texture Object.
Alternatively, if you're using a non-texture type, you could attempt to generate a normal map on the shader, although it would be a fairly expensive operation because it would require generating each vector component separately in order to calculate the approximate slope.
We provide a shader function called 'Normal Create' that generates a normal map from a greyscale image, as long as you sample that texture through a Texture Object.
Alternatively, if you're using a non-texture type, you could attempt to generate a normal map on the shader, although it would be a fairly expensive operation because it would require generating each vector component separately in order to calculate the approximate slope.
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!
Learn more about our offering: Amplify Creations Products
Amplify Shader Editor won the Asset Store Best Tool Award - Thank you for your support!