Text fixed

This commit is contained in:
viktorljung
2016-01-23 18:17:20 +01:00
parent 160b7183b2
commit ef020a3770
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -13,5 +13,5 @@ void main()
vec4 sampled = vec4(1.0, 1.0, 1.0, texture(text, TexCoords).r);
vec4 color_result = textColor * sampled;
sceneColor = vec4(color_result.xyz, clamp(color_result.a, 0, 1));
bloomColor = vec4(clamp(color_result.xyz - 1.0, 0, 100), 1.0);
bloomColor = vec4(clamp(color_result.xyz - 1.0, 0, 100), 1.0) * sampled;
}