1234567891011121314 |
- attribute highp vec2 inVertex;
- uniform highp vec2 LowerLeft;
- uniform highp mat2 ScaleMatrix; // width/height and screen rotation
- varying mediump vec2 TexCoord;
- void main()
- {
- gl_Position = vec4(ScaleMatrix * inVertex + LowerLeft, 0, 1);
-
- TexCoord = inVertex;
- }
|