File: output.es2

package info (click to toggle)
qt3d-opensource-src 5.15.17%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 119,352 kB
  • sloc: cpp: 220,927; ansic: 904; python: 467; objc: 244; javascript: 158; pascal: 155; xml: 28; makefile: 25
file content (28 lines) | stat: -rw-r--r-- 665 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
#version 100

varying highp vec2 texCoord;
uniform sampler2D texture;
uniform highp float lightIntensity;
varying highp vec3 worldPosition;
uniform highp float exposure;
highp vec4 lightModel(const in highp vec3 baseColor,
                      const in highp vec3 pos,
                      const in highp float intensity)
{
    ...
}

#line 9
highp vec4 lightModel(const in highp vec3 baseColor,
                      const in highp vec3 pos,
                      const in highp float intensity)
{
    ...
}

#line 11

void main()
{
    gl_fragColor = (((((lightModel(((texture2D(texture, texCoord))), worldPosition, lightIntensity)))) * pow(2.0, exposure)));
}