
This is primarily done to lower the GTK version dependency below GTK 3.22, since GTK 3.22 is unlikely to be widely availale any time soon.
14 lines
367 B
GLSL
14 lines
367 B
GLSL
//-----------------------------------------------------------------------------
|
|
// Mesh rendering shader
|
|
//
|
|
// Copyright 2016 Aleksey Egorov
|
|
//-----------------------------------------------------------------------------
|
|
attribute vec3 pos;
|
|
|
|
uniform mat4 modelview;
|
|
uniform mat4 projection;
|
|
|
|
void main() {
|
|
gl_Position = projection * modelview * vec4(pos, 1.0);
|
|
}
|