forked from Dynamitos/Seele
trying to a add automatic exposure
This commit is contained in:
1 parent
a957b05615
commit
80f86ca95c
10 files changed
+254
-112
No files matched your search
@@ -7,8 +7,6 @@ import StaticMeshVertexData;
|
||||
[shader("anyhit")]
|
||||
void anyhit(inout RayPayload hitValue, in BuiltInTriangleIntersectionAttributes attr)
|
||||
{
|
||||
if(RayTCurrent() > hitValue.t)
|
||||
return;
|
||||
const float3 barycentricCoords = float3(1.0f - attr.barycentrics.x - attr.barycentrics.y, attr.barycentrics.x, attr.barycentrics.y);
|
||||
|
||||
InstanceData inst = pScene.instances[InstanceID()];
|
||||
|
||||
Reference in new issue
Block a user