New example, loading glTF scenes instead of individual OBJ. Showing simple path tracing and how to make it 3x faster.
This commit is contained in:
parent
813f392fdf
commit
2eb9b6e522
25 changed files with 4410 additions and 2 deletions
10
ray_tracing_gltf/shaders/binding.glsl
Normal file
10
ray_tracing_gltf/shaders/binding.glsl
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
|
||||
|
||||
#define B_CAMERA 0
|
||||
#define B_VERTICES 1
|
||||
#define B_NORMALS 2
|
||||
#define B_TEXCOORDS 3
|
||||
#define B_INDICES 4
|
||||
#define B_MATERIALS 5
|
||||
#define B_MATRICES 6
|
||||
#define B_TEXTURES 7
|
||||
Loading…
Add table
Add a link
Reference in a new issue