New version of the samples and tutorials based on KHR_ray_tracing
This commit is contained in:
parent
2fd15056a2
commit
b6402f0c09
271 changed files with 134108 additions and 2 deletions
12
ray_tracing_callable/shaders/raycommon.glsl
Normal file
12
ray_tracing_callable/shaders/raycommon.glsl
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
struct hitPayload
|
||||
{
|
||||
vec3 hitValue;
|
||||
};
|
||||
|
||||
struct rayLight
|
||||
{
|
||||
vec3 inHitPosition;
|
||||
float outLightDistance;
|
||||
vec3 outLightDir;
|
||||
float outIntensity;
|
||||
};
|
||||
Loading…
Add table
Add a link
Reference in a new issue