kaliber/assets/engine/solid.glsl_fragment

18 lines
287 B
Plaintext
Raw Normal View History

2020-04-13 11:24:53 +00:00
#ifdef GL_ES
precision mediump float;
#endif
2020-12-24 23:22:41 +00:00
UNIFORM_BEGIN
UNIFORM_V(vec2 scale)
UNIFORM_V(vec2 offset)
UNIFORM_V(vec2 rotation)
UNIFORM_V(mat4 projection)
UNIFORM_F(vec4 color)
UNIFORM_END
FRAG_COLOR_OUT(frag_color)
2020-04-13 11:24:53 +00:00
void main() {
2020-12-24 23:22:41 +00:00
FRAG_COLOR(frag_color) = PARAM(color);
2020-04-13 11:24:53 +00:00
}