1
0
mirror of synced 2024-12-01 02:27:22 +01:00
This commit is contained in:
KillzXGaming 2019-03-23 20:00:43 -04:00
parent a421bdf518
commit 89e8980cdb

View File

@ -310,7 +310,7 @@ void main()
diffuseTerm *= cavity; diffuseTerm *= cavity;
diffuseTerm *= ao; diffuseTerm *= ao;
diffuseTerm *= shadow; diffuseTerm *= shadow;
diffuseTerm += LightingDiffuse; diffuseTerm += LightingDiffuse;
// Adjust for metalness. // Adjust for metalness.
// diffuseTerm *= clamp(1 - metallic, 0, 1); // diffuseTerm *= clamp(1 - metallic, 0, 1);