mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-17 19:55:32 +00:00
[448/906] xray: increase edges visibility
Some little fine tuning, still not completely satisfied yet.
This commit is contained in:
parent
87fda0d867
commit
c888188422
1 changed files with 1 additions and 1 deletions
|
@ -270,7 +270,7 @@ gst_gl_effects_xray_step_five (gint width, gint height, guint texture,
|
||||||
glBindTexture (GL_TEXTURE_RECTANGLE_ARB, texture);
|
glBindTexture (GL_TEXTURE_RECTANGLE_ARB, texture);
|
||||||
glDisable (GL_TEXTURE_RECTANGLE_ARB);
|
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_shader_set_uniform_1i (shader, "blend", 1);
|
||||||
|
|
||||||
gst_gl_effects_draw_texture (effects, texture);
|
gst_gl_effects_draw_texture (effects, texture);
|
||||||
|
|
Loading…
Reference in a new issue