datatatatata
This commit is contained in:
parent
351e90b541
commit
096679b347
1458 changed files with 1038826 additions and 77 deletions
|
|
@ -39,8 +39,8 @@ layout(push_constant) uniform _PushConstantRay { PushConstantRay pcRay; };
|
|||
|
||||
void main()
|
||||
{
|
||||
/*
|
||||
const vec2 rayOriginInPix = vec2(gl_LaunchIDEXT.xy) + pointset[255].xy;
|
||||
|
||||
const vec2 rayOriginInPix = vec2(gl_LaunchIDEXT.xy) + pointset[gl_LaunchIDEXT.x + WINDOWSIZE * gl_LaunchIDEXT.y].xy;
|
||||
const vec2 inUV = rayOriginInPix / vec2(gl_LaunchSizeEXT.xy);
|
||||
vec2 d = inUV * 2.0 - 1.0;
|
||||
|
||||
|
|
@ -64,6 +64,6 @@ void main()
|
|||
tMax, // ray max range
|
||||
0// payload (location = 0)
|
||||
);
|
||||
*/
|
||||
imageStore(image, ivec2(gl_LaunchIDEXT.xy), vec4(pointset[gl_LaunchIDEXT.x + WINDOWSIZE * gl_LaunchIDEXT.y].xy, 0.f, 1.0));
|
||||
|
||||
imageStore(image, ivec2(gl_LaunchIDEXT.xy), vec4(prd.hitValue, 1.0));
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue