Support for lower end GPUs.

This commit is contained in:
Vasco Lavos committed 2014-04-19 18:29:39 +01:00
1 parent 0c9c6ad51b
commit 853a381855
1 file changed
+2 -2
@@ -12,5 +12,5 @@ void main() {
float brightness = sin(time / 20.0) * 0.5 + 0.5 + 0.15;
float alpha = sin(time / 30.0) * 0.5 + 0.5 + 0.35;
gl_FragColor = vec4((pow(color, 2) * 0.0005 * brightness + texture2D(bgl_RenderedTexture, texcoord)).rgb, alpha);
}
gl_FragColor = vec4(color * color * 0.0005 * brightness + texture2D(bgl_RenderedTexture, texcoord)).rgb, alpha);
}