Hello!
I'm having problems displaying a normal map properly. In the example images the figure on the left is using Unity Standard (Roughness setup) shader while the one on the right is an otherwise empty Amplify editor shader, except I've got just plain white color going into albedo.
Image one, neither one has a normal map assigned, the amplify-one doesn't even have anything connected to the normal slot in the master node.
Image two, the one made in amplify editor has a texture node attached to the master node, but the texture hasn't been assigned in the shader editor nor in Unity editor. Why am I getting these weird lines on the model even without any texture assigned to the normal texture?
Image three, here we have both shaders using the same texture for normal map. As you can tell the weird lines from image two are still there, and the normal map highlights are far less visible.
How would I go about editing the amplify shader in order to have it look like the model on the left?
Also secondary question, how would I go about applying height maps to shaders I make with the Amplify editor? I suppose they've got something to do with vertex offsetting, but I'm still very new to all this and am struggling to wrap my head around all these things.
Thanks in advance!
Help with Normals
- Ricardo Teixeira
- Posts: 954
- Joined: Fri Aug 09, 2013 2:26 pm
Re: Help with Normals
Hello,Iikka wrote:Hello!
I'm having problems displaying a normal map properly. In the example images the figure on the left is using Unity Standard (Roughness setup) shader while the one on the right is an otherwise empty Amplify editor shader, except I've got just plain white color going into albedo.
Image one, neither one has a normal map assigned, the amplify-one doesn't even have anything connected to the normal slot in the master node.
Image two, the one made in amplify editor has a texture node attached to the master node, but the texture hasn't been assigned in the shader editor nor in Unity editor. Why am I getting these weird lines on the model even without any texture assigned to the normal texture?
Image three, here we have both shaders using the same texture for normal map. As you can tell the weird lines from image two are still there, and the normal map highlights are far less visible.
How would I go about editing the amplify shader in order to have it look like the model on the left?
Also secondary question, how would I go about applying height maps to shaders I make with the Amplify editor? I suppose they've got something to do with vertex offsetting, but I'm still very new to all this and am struggling to wrap my head around all these things.
Thanks in advance!
Thank you for getting in touch!
That's definitely not supposed to happen, can you share a sample with the normal issue present?
Regarding the "height map" usage, it really depends on what you're trying to build. You have quite a few options available, be sure to check the included Parallax Mapping sample, Parallax Occlusion Mapping POM, and the Tessellation sample.
Looking forward to your reply!
Sales & 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!
Re: Help with Normals
Oh man, I just didn't have the "Unpack Normal Map" tickbox ticked for the texture sample node. Ah well, problem's solved now
Thanks for the height map tips with the examples, the parallax mapping indeed seems to be what I was looking for. Breaks my brain trying to understand how it works though, haha.
Thanks for the height map tips with the examples, the parallax mapping indeed seems to be what I was looking for. Breaks my brain trying to understand how it works though, haha.
- Ricardo Teixeira
- Posts: 954
- Joined: Fri Aug 09, 2013 2:26 pm
Re: Help with Normals
No problem, always happy to helpIikka wrote:Oh man, I just didn't have the "Unpack Normal Map" tickbox ticked for the texture sample node. Ah well, problem's solved now![]()
Thanks for the height map tips with the examples, the parallax mapping indeed seems to be what I was looking for. Breaks my brain trying to understand how it works though, haha.
Be sure to check the available wiki for additional information.
Amplify Shader Editor Wiki
Sales & 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!
- Ricardo Teixeira
- Posts: 954
- Joined: Fri Aug 09, 2013 2:26 pm
Re: Help with Normals
No problem, always happy to helpIikka wrote:Oh man, I just didn't have the "Unpack Normal Map" tickbox ticked for the texture sample node. Ah well, problem's solved now![]()
Thanks for the height map tips with the examples, the parallax mapping indeed seems to be what I was looking for. Breaks my brain trying to understand how it works though, haha.
Be sure to check the available wiki for additional information.
Amplify Shader Editor Wiki
Sales & 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!