Fix T77561 EEVEE: Refraction BSDF is using world probe during glossy bake
This fixes light leaking during baking indoor environment when using refraction bsdfs.
This commit is contained in:
parent
9296ba8674
commit
dede4aac5b
Notes:
blender-bot
2025-02-14 01:12:39 +00:00
Referenced by issue #77561, Eevee: Refraction BSDF is using world probe during glossy bake.
@ -464,6 +464,9 @@ void CLOSURE_NAME(vec3 N
|
||||
float btdf = get_btdf_lut(NV, roughness, ior);
|
||||
|
||||
out_refr += refr_accum.rgb * btdf;
|
||||
|
||||
/* Global toggle for lightprobe baking. */
|
||||
out_refr *= float(specToggle);
|
||||
# endif
|
||||
|
||||
# ifdef CLOSURE_CLEARCOAT
|
||||
|
Loading…
x
Reference in New Issue
Block a user