• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1#version 140
2
3uniform sampler1D       texSampler1D;
4uniform sampler2D       texSampler2D;
5
6varying float blend;
7varying vec4 u;
8
9in  vec2 coords2D;
10
11void main()
12{
13    float blendscale = 1.789;
14    float bias       = 2.0;
15    float coords1D   = 1.789;
16    vec4  color      = vec4(0.0, 0.0, 0.0, 0.0);
17#line 53
18    color += texture    (texSampler1D, coords1D);
19    color += texture    (texSampler1D, coords1D, bias);
20#line 102
21    color += texture        (texSampler2D, coords2D);
22    color += texture        (texSampler2D, coords2D, bias);
23
24    gl_FragColor = mix(color, u, blend * blendscale);
25}
26