Some questions

Node-based Shader Editor

Some questions

Postby DuvE » Wed Jan 30, 2019 12:09 pm

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?
DuvE
 
Posts: 43
Joined: Thu Nov 23, 2017 6:46 pm

Re: Some questions

Postby Amplify_Borba » Thu Jan 31, 2019 3:14 pm

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!
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 29 guests