Some questions

Node-based Shader Editor
Post Reply
DuvE
Posts: 43
Joined: Thu Nov 23, 2017 6:46 pm

Some questions

Post by DuvE »

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

Re: Some questions

Post by Amplify_Borba »

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.
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