mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2025-01-23 17:30:42 +00:00
4ccd4ba3c7
The recent changes for planes and shadows broke the forward renderer pipeline spec.
30 lines
608 B
GLSL
30 lines
608 B
GLSL
#version 450
|
|
|
|
layout (set = 2, binding = 0) uniform sampler2D Skin;
|
|
|
|
layout (push_constant) uniform PushConstants {
|
|
layout (offset = 72)
|
|
uint colorA;
|
|
uint colorB;
|
|
vec4 base_color;
|
|
vec4 fog;
|
|
};
|
|
|
|
layout (location = 0) in vec2 texcoord;
|
|
layout (location = 1) in vec4 position;
|
|
layout (location = 2) in vec3 fnormal;
|
|
layout (location = 3) in vec3 ftangent;
|
|
layout (location = 4) in vec3 fbitangent;
|
|
layout (location = 5) in vec4 color;
|
|
|
|
layout (location = 0) out vec4 frag_color;
|
|
|
|
void
|
|
main (void)
|
|
{
|
|
vec4 c;
|
|
|
|
c = texture (Skin, texcoord);// * color;
|
|
|
|
frag_color = c;
|
|
}
|