Add ray traced glTF sample (#1083)
* Started working on a ray tracing glTF sample * Started working on a ray tracing glTF sample Added textures using descriptor indexing * Frame accumulation Pass glTF node transforms to BLAS build * Shader cleanup * Code cleanup, flip Y using TLAS transform matrix * Create AS for all primitives in the gltf scene * Remove unused variables * Added missing shaders * Minor cleanup
This commit is contained in:
parent
e006185ca0
commit
5962189427
18 changed files with 1109 additions and 2 deletions
9
shaders/glsl/raytracinggltf/shadow.rmiss
Normal file
9
shaders/glsl/raytracinggltf/shadow.rmiss
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
#version 460
|
||||
#extension GL_EXT_ray_tracing : require
|
||||
|
||||
layout(location = 2) rayPayloadInEXT bool shadowed;
|
||||
|
||||
void main()
|
||||
{
|
||||
shadowed = false;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue