2021-32-bit-holiday-jam/shaders/shadow-vert.glsl

14 lines
249 B
Plaintext
Raw Normal View History

2020-03-07 03:36:05 +00:00
#define lowp
#define mediump
#define highp
#line 0
uniform highp mat4 uni_mvp;
attribute highp vec4 attr_pos;
void main (void) {
2020-03-08 17:07:13 +00:00
highp float depth_adjust = -0.0 / 512.0;
2020-03-07 03:36:05 +00:00
gl_Position = uni_mvp * attr_pos + vec4 (0.0, 0.0, depth_adjust, 0.0);
}