adding anyhit, doesnt work though

This commit is contained in:
Dynamitos
2025-01-30 23:25:41 +01:00
parent 44b147084b
commit 89570ff792
19 changed files with 136 additions and 70 deletions
-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());
}