summaryrefslogtreecommitdiff
path: root/res/shaders/simple_shader.frag
blob: b11a5a8ac8cc22e4b03b3e7ac076f5d6e8940400 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#version 450

layout (location = 0) in vec3 fragColor;

layout (location = 0) out vec4 outColor;

layout(set = 0, binding = 0) uniform GlobalUbo {
  mat4 projectionViewMatrix;
  vec3 directionToLight;
} ubo;

layout(push_constant) uniform Push {
  mat4 transform;
  mat4 normalMatrix;
} push;

void main() {
  outColor = vec4(fragColor, 1.0);
}