Fix: EEVEE-Next: Displacement doesn't affect normal map node

While this might not always be the expected behavior,
this at least make it consistent with Cycles.

Fix #122184
Rel #122212
This commit is contained in:
Clément Foucault
2024-05-24 15:12:41 +02:00
parent e5680542aa
commit d15ce8dff5

View File

@@ -633,7 +633,7 @@ vec3 displacement_bump()
void fragment_displacement()
{
#ifdef MAT_DISPLACEMENT_BUMP
g_data.N = displacement_bump();
g_data.N = g_data.Ni = displacement_bump();
#endif
}