Debian Codegraph @

libs/opengl/shaders/triangles-shadow-1st.v.glsl

raw
1 R"XXX(#version 300 es
2
3 // VERTEX SHADER: Default shader for MRPT CRenderizable objects
4 // Jose Luis Blanco Claraco (C) 2019-2023
5 // Part of the MRPT project
6
7 in vec3 position;
8
9 uniform highp mat4 m_matrix;
10 uniform highp mat4 light_pv_matrix; // =p*v matrices
11
12 void main()
13 {
14 gl_Position = light_pv_matrix * m_matrix * vec4(position, 1.0);
15 }
16 )XXX"