Debian Codegraph @

tests/manual/render-qml-to-texture/shaders/gl3/texturing.frag

raw
1 #version 150 core
2
3 uniform vec3 eyePosition;
4
5 uniform sampler2D surfaceTexture;
6
7 in vec3 worldPosition;
8 in vec3 worldNormal;
9 in vec2 texCoord;
10
11 out vec4 fragColor;
12
13 void main()
14 {
15 fragColor = texture(surfaceTexture, texCoord);
16 }