Debian Codegraph @

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

raw
1 #define FP highp
2
3 uniform FP vec3 eyePosition;
4
5 uniform sampler2D surfaceTexture;
6
7 varying FP vec3 worldPosition;
8 varying FP vec3 worldNormal;
9 varying FP vec2 texCoord;
10
11
12
13 void main()
14 {
15 gl_FragColor = texture2D(surfaceTexture, texCoord);
16 }