Debian Codegraph @

libs/opengl/shaders/debug_show_texture.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 in vec2 vertexUV;
9
10 out mediump vec2 frag_UV; // Interpolated UV texture coords
11
12 void main()
13 {
14 frag_UV = vertexUV;
15 gl_Position = vec4(position, 1.0);
16 }
17 )XXX"