- Home /
Normal map looks incorrect and changes depending on camera direction?
Here's a scene with one light, positioned directly above the flat normal-mapped surface. Color map is a single color. When seen from above there are no highlights anywhere:
Here it is at an angle. Now the highlights are on the wrong edges for the farthest tiles
Normal map looks like this: https://i.imgur.com/FZlVTGD.png
I have set a simple low resolution normal map, using default HDRP/Lit material, and single color base texture. The material is set to 0 smoothness, so it should be fully diffuse and independent on view direction. Texture is set to normal map, and point or bilinear filtering both have the same problem.
What's going on?
Answer by Namey5 · Apr 03, 2020 at 12:44 AM
This is still specular lighting you're seeing, only so rough that it looks like diffuse lighting. In reality, there's no such thing as a perfect diffuser, so even though you can set the smoothness to 0 in the editor, Unity caps the smoothness directly in the shader (I think to a minimum of 0.02). Not really sure if there's anything you can do to change this, other than editing the HDRP BRDF hlsl file and removing the minimum.
Your answer
Follow this Question
Related Questions
Normal Map makes object look very bad in unity as opposed to in Blender. 0 Answers
How to Prevent Vertice/Normal Seams Visible on Mesh? 0 Answers
Normal maps turn red with DirectX 11 enabled 1 Answer
Surface Shader apply normal map to object normal without pluggin it into o.Normal 1 Answer
Baked Normal Map Discrepancies 1 Answer