qskinny/playground/shadows/boxshadow.vert

14 lines
225 B
GLSL
Raw Normal View History

2020-10-06 15:49:46 +02:00
uniform highp mat4 matrix;
uniform lowp vec2 aspect;
attribute highp vec4 in_vertex;
attribute mediump vec2 in_coord;
varying mediump vec2 coord;
void main()
{
2021-09-18 14:48:25 +02:00
coord = in_coord;
2020-10-06 15:49:46 +02:00
gl_Position = matrix * in_vertex;
}