adding anyhit, doesnt work though

This commit is contained in:
Dynamitos committed 2025-01-30 23:25:41 +01:00
1 parent 44b147084b
commit 89570ff792
19 files changed
+136 -70

No files matched your search

-2
View File
@@ -32,7 +32,5 @@ float4 fragmentMain(in FragmentParameter params) : SV_Target
}
result += brdf.evaluateAmbient();
// gamma correction
//result = result / (result + float3(1.0));
//result = pow(result, float3(1.0/2.2));
return float4(result, brdf.getAlpha());
}