EEVEE-Next: Make AO node respect the normal input

This commit is contained in:
Clément Foucault
2023-12-11 14:50:45 +01:00
parent 4ed9b4fed0
commit bac94fe307

View File

@@ -268,7 +268,7 @@ float ambient_occlusion_eval(vec3 normal,
vP, hiz_tx, texel, max_distance, inverted, sample_count);
vec3 V = drw_world_incident_vector(g_data.P);
vec3 N = g_data.N;
vec3 N = normal;
vec3 Ng = g_data.Ng;
float unused_error, visibility;