Started working on ray tracing intersection shader example
This commit is contained in:
parent
a048bc2635
commit
ebc4127472
8 changed files with 685 additions and 0 deletions
9
shaders/glsl/raytracingintersection/miss.rmiss
Normal file
9
shaders/glsl/raytracingintersection/miss.rmiss
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
#version 460
|
||||
#extension GL_EXT_ray_tracing : require
|
||||
|
||||
layout(location = 0) rayPayloadInEXT vec3 hitValue;
|
||||
|
||||
void main()
|
||||
{
|
||||
hitValue = vec3(0.0, 0.0, 0.2);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue