Texture2D nodes should clearly display if they are parsed as a normal map or not
Admin Edit: Original title was "Light map Bug - Directional Lightmaps"
Original post below:
So there seems to be multiple issues with the new lightmap implementation: Firstly, directional lightmaps: (ignore the last image)
It seems as though the normal map is inverted or is being incorrectly calculated.
Answer
This is due to the normal map not being marked as a normal map in the SF shader, thus not unpacking the normals when rendering the shader. I'll rename this task to be about a clear indicator on the Texture nodes to actually show if it's being read as a normal map or not :)
Just to elaborate a bit on this: Basically, I just needed to make sure my Texture2D node had a normal map in it when compiling the shader. I had left it empty so SF assumed it was a diffuse texture.
Edit: This has been fixed in 0.15, where there is now a checkbox for what type of texture it's supposed to be, as well as which default value it should hold when unconnected
Customer support service by UserEcho
Edit: This has been fixed in 0.15, where there is now a checkbox for what type of texture it's supposed to be, as well as which default value it should hold when unconnected