glshader element location property removed
pneves
pneves at airborneprojects.com
Tue Aug 30 09:23:52 UTC 2016
Hello Mathew,
I too was confused and honestly I could not get it to work with a shader
that previously worked flawlessly. Now it complains of shader linking "All
shaders must use the same shading language".
Regardless in the code of gstglfiltershader.c there is an example which
might work for you:
gst-launch-1.0 videotestsrc ! glupload ! glshader fragment="\"`cat
myshader.frag`\"" ! glimagesink
Also writing the shader contents to the fragment property should also get
you started.
--
View this message in context: http://gstreamer-devel.966125.n4.nabble.com/glshader-element-location-property-removed-tp4674911p4679284.html
Sent from the GStreamer-devel mailing list archive at Nabble.com.
More information about the gstreamer-devel
mailing list