More lighting changes

This commit is contained in:
Dynamitos committed 2025-03-13 08:23:00 +01:00
1 parent 80f86ca95c
commit 51d759639e
11 files changed
+18 -20

No files matched your search

-1
View File
@@ -31,6 +31,5 @@ float4 fragmentMain(in FragmentParameter params) : SV_Target
result += pLightEnv.pointLights[lightIndex].illuminate(lightingParams, brdf);
}
result += brdf.evaluateAmbient();
// gamma correction
return float4(result, brdf.getAlpha());
}