
anymore ). shapes/Gradient has not yet been merged into QskGradient and we still have some stupid conversions to QGradient in the way.
13 lines
196 B
GLSL
13 lines
196 B
GLSL
attribute vec4 vertexCoord;
|
|
|
|
uniform mat4 matrix;
|
|
uniform vec2 centerCoord;
|
|
|
|
varying vec2 coord;
|
|
|
|
void main()
|
|
{
|
|
coord = vertexCoord.xy - centerCoord;
|
|
gl_Position = matrix * vertexCoord;
|
|
}
|