Bug Report: Black Spots on World Aligned Normal

Hi Epic Games,

maybe i have found a little error within the World Aligned Normal node.

pic1:

105810-pic1.jpg

visual1:

What i did is this:

Result:

Now the normal map is correct:

I have just converted the world aligned normal map and put in the full blue channel.

Maybe this little fix could find his way into the world aligned node.

Cheers

There is nothing wrong with WorldAlignedNormal node. The black spots you are seeing are most likely occurring in places where normal blue channel is close to zero or equals zero, while R and G channels are negative. Do not forget that normal map is getting unpacked from 0-1 to -1 - 1 range. Normal map will still perform correctly, when plugged to a proper pin. By replacing blue channel with flat 1 value you just distorted the normal map. That is not a fix. In fact, there is nothing to fix here.

ok sorry :smiley:
How can i avoid those black spots without distoring the normal map? cause when i use the normal i get this result:

There are black spots and they do not disappear wherever the lightsource is.

I have found a quite good solution. Just clamp the Blue Channel, so that a pixel cannot be black completely: