Fix diffuse transmission for anisotropic materials (#18610)

Expand the diff, this was obviously just a copy paste bug at some point.
This commit is contained in:
JMS55 2025-03-29 19:39:10 -07:00 committed by François Mockers
parent ac04ec0075
commit f8f7dfe792

View File

@ -384,9 +384,9 @@ fn apply_pbr_lighting(
transmissive_lighting_input.clearcoat_strength = 0.0;
#endif // STANDARD_MATERIAL_CLEARCOAT
#ifdef STANDARD_MATERIAL_ANISOTROPY
lighting_input.anisotropy = in.anisotropy_strength;
lighting_input.Ta = in.anisotropy_T;
lighting_input.Ba = in.anisotropy_B;
transmissive_lighting_input.anisotropy = in.anisotropy_strength;
transmissive_lighting_input.Ta = in.anisotropy_T;
transmissive_lighting_input.Ba = in.anisotropy_B;
#endif // STANDARD_MATERIAL_ANISOTROPY
#endif // STANDARD_MATERIAL_DIFFUSE_TRANSMISSION