This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
uniform sampler2D tex; // matched from gst-plugin-gl uniform | |
const vec4 kappa = vec4(1.0,1.7,0.7,15.0); | |
// These can be made uniform if they are added to: | |
// gst/gl/gstglfiltershader.c:363 | |
// gst_gl_shader_set_uniform_1f (filtershader->shader0, "screen_width", width); | |
// gst_gl_shader_set_uniform_1f (filtershader->shader0, "screen_height", height); | |
const float screen_width = 1920.0; |