什麼是0"空"法線貼圖?或未著色的著色器


1

有人能理解法線貼圖,統一為0的法線貼圖會是什麼顏色?

我想將標準著色器轉換為不著色的著色器,因此(我認為?)的想法是法線貼圖不應對照明有所貢獻。

0

In the most common normal map encoding, an RGB value of (0.5,0.5,1) would be uniformly flat. If the shader is meant to be unlit, you should be able to remove anything in the code that’s using the surface normal, light / view direction, etc.