Adding transparent geometry to ray tracing

This commit is contained in:
Dynamitos committed 2024-07-17 10:40:40 +02:00
1 parent 75e9bc899c
commit 12001152d4
6 files changed
+42 -14

No files matched your search

-1
View File
@@ -53,7 +53,6 @@ void closestHit(inout RayPayload hitValue, in BuiltInTriangleIntersectionAttribu
// gamma correction
result = result / (result + float3(1.0));
result = pow(result, float3(1.0/2.2));
hitValue.color = result;
}