Storing some computations to texture.

This commit is contained in:
Filippo Scognamiglio
2014-06-28 11:47:10 +02:00
parent 211afe6dce
commit 9eee62b3a4
3 changed files with 7 additions and 3 deletions
-1
View File
@@ -169,7 +169,6 @@ ShaderEffect {
color += texture2D(bloomSource, coords).r *" + str(2.5 * bloom) + ";" : "") +
"vec3 finalColor = mix(background_color, font_color, color).rgb;" +
"finalColor = mix(finalColor * 1.1, vec3(0.0), 1.2 * distance * distance);" +
"finalColor *= texture2D(rasterizationSource, coords).a;" +
(brightness_flickering !== 0 ? "