Added HLSL shaders for ray tracing callable sample

Minor cleanup
This commit is contained in:
Sascha Willems 2021-03-06 16:21:09 +01:00
parent 35288a6f2b
commit 5db9781d52
14 changed files with 168 additions and 63 deletions

View file

@ -8,6 +8,4 @@ void main()
// Generate a line pattern
vec2 pos = vec2(gl_LaunchIDEXT / 8);
outColor = vec3(mod(pos.y, 2.0));
// outColor = vec3(0.0, 0.0, 1.0);
}

View file

@ -1,9 +0,0 @@
#version 460
#extension GL_EXT_ray_tracing : require
layout(location = 2) rayPayloadInEXT bool shadowed;
void main()
{
shadowed = false;
}