You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The text was updated successfully, but these errors were encountered:
RickyYCheng
changed the title
Gdshader Normal assignment seems wrong.
[4.3] Gdshader Normal assignment seems wrong.
Jan 8, 2025
RickyYCheng
changed the title
[4.3] Gdshader Normal assignment seems wrong.
[4.3&4.4-dev7] Gdshader Normal assignment seems wrong.
Jan 8, 2025
RickyYCheng
changed the title
[4.3&4.4-dev7] Gdshader Normal assignment seems wrong.
[4.3&4.4-dev7] Light: Gdshader Normal assignment seems wrong.
Jan 8, 2025
This isn't a problem in Godot. You are calculating your normal incorrectly in the shader. You need to assign normal map values to NORMAL_MAP, not to NORMAL. Correcting that in your shader fixes it
Tested versions
Godot v4.3.stable.mono - Windows 10.0.22631 - Vulkan (Forward+) - dedicated NVIDIA GeForce RTX 3050 Laptop GPU (NVIDIA; 32.0.15.6094) - AMD Ryzen 7 5800U with Radeon Graphics (16 Threads)
Godot v4.4.dev7.mono - Windows 11 (build 22631) - Multi-window, 1 monitor - Vulkan (Forward+) - dedicated NVIDIA GeForce RTX 3050 Laptop GPU (NVIDIA; 32.0.15.6094) - AMD Ryzen 7 5800U with Radeon Graphics (16 threads)
System information
Windows 10.0.22631 - Vulkan (Forward+) - dedicated NVIDIA GeForce RTX 3050 Laptop GPU (NVIDIA; 32.0.15.6094) - AMD Ryzen 7 5800U with Radeon Graphics (16 Threads)
Issue description
Chech this image (dir light, 45 deg, .25 height):
Steps to reproduce
Check MRP.
Minimal reproduction project (MRP)
NormalTest.zip
The text was updated successfully, but these errors were encountered: