This commit is contained in:
KillzXGaming 2019-03-23 20:00:20 -04:00
parent a410cec88f
commit a421bdf518

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);