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
9
data/shaders/nv_ray_tracing_basic/miss.rmiss
Normal file
9
data/shaders/nv_ray_tracing_basic/miss.rmiss
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
#version 460
|
||||
#extension GL_NV_ray_tracing : require
|
||||
|
||||
layout(location = 0) rayPayloadInNV vec3 hitValue;
|
||||
|
||||
void main()
|
||||
{
|
||||
hitValue = vec3(0.0, 0.0, 0.2);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue