14 lines
249 B
Plaintext
14 lines
249 B
Plaintext
|
#define lowp
|
||
|
#define mediump
|
||
|
#define highp
|
||
|
#line 0
|
||
|
uniform highp mat4 uni_mvp;
|
||
|
|
||
|
attribute highp vec4 attr_pos;
|
||
|
|
||
|
void main (void) {
|
||
|
highp float depth_adjust = -1.0 / 512.0;
|
||
|
|
||
|
gl_Position = uni_mvp * attr_pos + vec4 (0.0, 0.0, depth_adjust, 0.0);
|
||
|
}
|