Fix: EEVEE-Next: Add missing translucent weight

This commit is contained in:
Miguel Pozo
2024-01-30 20:15:10 +01:00
parent 049b0e6539
commit 5a2aceb671

View File

@@ -50,6 +50,7 @@ void main()
g_diffuse_data.color *= g_diffuse_data.weight;
g_reflection_data.color *= g_reflection_data.weight;
g_refraction_data.color *= g_refraction_data.weight;
g_translucent_data.color *= g_translucent_data.weight;
/* TODO(fclem): This feels way too complex for what is it. */
bool has_any_bsdf_weight = g_diffuse_data.weight != 0.0 || g_reflection_data.weight != 0.0 ||