Added basic VK_NV_ray_tracing example (wip)
This commit is contained in:
parent
aa915d2c24
commit
b8b3fac9b4
8 changed files with 784 additions and 0 deletions
11
data/shaders/nv_ray_tracing_basic/closesthit.rchit
Normal file
11
data/shaders/nv_ray_tracing_basic/closesthit.rchit
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
#version 460
|
||||
#extension GL_NV_ray_tracing : require
|
||||
#extension GL_EXT_nonuniform_qualifier : enable
|
||||
|
||||
layout(location = 0) rayPayloadInNV vec3 hitValue;
|
||||
hitAttributeNV vec3 attribs;
|
||||
|
||||
void main()
|
||||
{
|
||||
hitValue = vec3(1.0, 1.0, 1.0);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue