Debian Codegraph @

libs/opengl/shaders/skybox.f.glsl

raw
1 R"XXX(#version 300 es
2
3 // FRAGMENT SHADER: Default shader for MRPT CRenderizable objects
4 // Jose Luis Blanco Claraco (C) 2019-2023
5 // Part of the MRPT project
6
7 in highp vec3 TexCoords;
8 out lowp vec4 color;
9
10 uniform samplerCube skybox;
11
12 void main()
13 {
14 color = texture(skybox, TexCoords);
15 }
16 )XXX"