diff options
Diffstat (limited to 'tests/auto/render/shaderbuilder/output.es2')
-rw-r--r-- | tests/auto/render/shaderbuilder/output.es2 | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/tests/auto/render/shaderbuilder/output.es2 b/tests/auto/render/shaderbuilder/output.es2 index b543bc5ee..0298e7e51 100644 --- a/tests/auto/render/shaderbuilder/output.es2 +++ b/tests/auto/render/shaderbuilder/output.es2 @@ -24,13 +24,5 @@ highp vec4 lightModel(const in highp vec3 baseColor, void main() { - highp vec2 v2 = texCoord; - sampler2D v1 = texture; - highp float v3 = lightIntensity; - highp vec4 v5 = texture2D(v1, v2); - highp vec3 v0 = worldPosition; - highp float v4 = exposure; - highp vec4 v6 = lightModel(v5, v0, v3); - highp vec4 v7 = v6 * pow(2.0, v4); - gl_fragColor = v7; + gl_fragColor = (((((lightModel(((texture2D(texture, texCoord))), worldPosition, lightIntensity)))) * pow(2.0, exposure))); } |