You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
#version 450
|
|
|
|
|
|
|
|
layout(location = 0) in vec3 v_Normal;
|
|
|
|
layout(location = 1) in vec4 v_Position;
|
|
|
|
layout(location = 2) in vec2 v_Uv;
|
|
|
|
|
|
|
|
layout(location = 0) out vec4 o_Normal;
|
|
|
|
layout(location = 1) out vec4 o_Position;
|
|
|
|
layout(location = 2) out vec4 o_Uv;
|
|
|
|
|
|
|
|
// so I need to have my 3 color attachments and 1? sampler.
|
|
|
|
|
|
|
|
layout(set = 0, binding = 1) uniform texture2DArray t_Uv;
|
|
|
|
layout(set = 0, binding = 2) uniform gsampler2D s_Uv;
|
|
|
|
|
|
|
|
// I also need my 1 depth texture and its sampler
|
|
|
|
layout(set = 0, binding = 3) uniform texture2DArray t_Shadow;
|
|
|
|
layout(set = 0, binding = 4) uniform samplerShadow s_Shadow;
|
|
|
|
|
|
|
|
void main() {
|
|
|
|
|
|
|
|
}
|