Fix T99018: EEVEE: Regression: Specular BSDF apply specular color input twice

This was an oversight. I checked that no other node had the same regression.
This commit is contained in:
Clément Foucault 2022-06-20 16:26:26 +02:00 committed by Philipp Oeser
parent 9e94525681
commit 770ce6b971
Notes: blender-bot 2023-02-14 06:17:14 +01:00
Referenced by issue #99018, EEVEE: Regression: Specular BSDF apply specular color input twice
Referenced by issue #98661, 3.2: Potential candidates for corrective releases
1 changed files with 1 additions and 1 deletions

View File

@ -48,7 +48,7 @@ void node_eevee_specular(vec4 diffuse,
vec2 split_sum = brdf_lut(NV, roughness);
vec3 brdf = F_brdf_single_scatter(specular.rgb, vec3(1.0), split_sum);
reflection_data.color = specular.rgb * brdf;
reflection_data.color = brdf;
reflection_data.N = N;
reflection_data.roughness = roughness;
}