Ray tracing texturing and alpha mapping sample
This commit is contained in:
parent
5645c2657f
commit
d0ad204606
11 changed files with 49 additions and 8 deletions
13
data/shaders/glsl/raytracingtextures/bufferreferences.glsl
Normal file
13
data/shaders/glsl/raytracingtextures/bufferreferences.glsl
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
/* Copyright (c) 2023, Sascha Willems
|
||||
*
|
||||
* SPDX-License-Identifier: MIT
|
||||
*
|
||||
*/
|
||||
|
||||
layout(push_constant) uniform BufferReferences {
|
||||
uint64_t vertices;
|
||||
uint64_t indices;
|
||||
} bufferReferences;
|
||||
|
||||
layout(buffer_reference, scalar) buffer Vertices {vec4 v[]; };
|
||||
layout(buffer_reference, scalar) buffer Indices {uint i[]; };
|
||||
Loading…
Add table
Add a link
Reference in a new issue