Something changed !

This commit is contained in:
Dynamitos committed 2024-07-13 09:25:42 +02:00
1 parent b756f17a09
commit 3463ecd7b9
8 files changed
+9 -8

No files matched your search

+2 -2
View File
@@ -37,7 +37,7 @@ void closestHit(inout RayPayload hitValue, in BuiltInTriangleIntersectionAttribu
CallablePayload callable;
callable.params = params;
CallShader(0, callable);
CallShader(InstanceID(), callable);
hitValue.color = float3(0, 1, 1) + callable.color;
hitValue.color = float3(1, 0, 0);
}