Topic was automatically imported from the old Question2Answer platform.
Asked By
xdeadmonkx
Old Version
Published before Godot 3 was released.
Hello, does anyone tried to set up objectspace normal map in godot 3?
i do it this way:
uniform sampler2D uNormal;
void fragment()
{
NORMAL = texture(uNormal, UV).rgb;
}
all is good if i don’t change camera position/rotation, but when i change it lighting/shadow areas begin to move but it must be in the same position because light source is in the same place (
maybe i missing something in shader?