Adding transparent geometry to ray tracing

This commit is contained in:
Dynamitos
2024-07-17 10:40:40 +02:00
parent 75e9bc899c
commit 12001152d4
6 changed files with 42 additions and 14 deletions
-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;
}