preview for challenges and new system
[carveJwlIkooP6JGAAIwe30JlM.git] / shaders / scene_font.fs
index 03d6b20c59a067998bec9361a861843a513f17d4..a03b006b766494721f9dd41489280613f8fac987 100644 (file)
@@ -18,7 +18,6 @@ vec3 pal( float t ){
 
 void main(){
    compute_motion_vectors();
-
    vec3 vfrag = vec3(0.5,0.5,0.5);
    vec3 qnorm = aNorm.xyz;
 
@@ -34,7 +33,7 @@ void main(){
    vec4 v1 = step( vec4(0.5), fract(vec4(a) + spread1) );
 
    float d = ( v0.x+v0.y+v0.z+v0.w +
-               v1.x+v1.y+v1.z+v1.w ) * 0.125f;
+               v1.x+v1.y+v1.z+v1.w ) * 0.125;
    
    float dither = fract(dot(vec2(171.0,231.0),gl_FragCoord.xy)/71.0);
    float x = d*0.8+length(p)*0.3;