/usr/src/castle-game-engine-5.2.0/opengl/glsl/rectangle.vs.inc is in castle-game-engine-src 5.2.0-3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 | { -*- buffer-read-only: t -*- }
{ DON'T EDIT -- this file was automatically generated from "rectangle.vs" }
'attribute vec2 vertex;' + LineEnding +
'uniform vec2 viewport_size;' + LineEnding +
'' + LineEnding +
'/* Simple GLSL shader to draw 2D rectangle. */' + LineEnding +
'' + LineEnding +
'void main(void)' + LineEnding +
'{' + LineEnding +
' gl_Position = vec4(vertex * 2.0 / viewport_size - vec2(1.0), 0.0, 1.0);' + LineEnding +
'}' + LineEnding +
''
|