mirror of
https://bitbucket.org/smil3y/kde-workspace.git
synced 2025-02-26 03:42:52 +00:00
18 lines
345 B
Text
18 lines
345 B
Text
![]() |
#version 140
|
||
|
|
||
|
uniform mat4 projection;
|
||
|
uniform mat4 modelview;
|
||
|
uniform mat4 screenTransformation;
|
||
|
uniform mat4 windowTransformation;
|
||
|
|
||
|
in vec4 vertex;
|
||
|
in vec2 texCoord;
|
||
|
|
||
|
out vec2 varyingTexCoords;
|
||
|
|
||
|
void main()
|
||
|
{
|
||
|
varyingTexCoords = texCoord;
|
||
|
gl_Position = projection * (modelview * screenTransformation * windowTransformation) * vertex;
|
||
|
}
|