[448/906] xray: increase edges visibility
authorFilippo Argiolas <filippo.argiolas@gmail.com>
Thu, 29 Apr 2010 12:20:56 +0000 (14:20 +0200)
committerMatthew Waters <ystreet00@gmail.com>
Sat, 15 Mar 2014 17:36:41 +0000 (18:36 +0100)
Some little fine tuning, still not completely satisfied yet.

gst/gl/effects/gstgleffectxray.c

index 8abc3c1..0cdcd37 100644 (file)
@@ -270,7 +270,7 @@ gst_gl_effects_xray_step_five (gint width, gint height, guint texture,
   glBindTexture (GL_TEXTURE_RECTANGLE_ARB, texture);
   glDisable (GL_TEXTURE_RECTANGLE_ARB);
 
-  gst_gl_shader_set_uniform_1f (shader, "alpha", (gfloat) 0.4f);
+  gst_gl_shader_set_uniform_1f (shader, "alpha", (gfloat) 0.5f);
   gst_gl_shader_set_uniform_1i (shader, "blend", 1);
 
   gst_gl_effects_draw_texture (effects, texture);