<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[[SOLVED] Apply general shader on whole QGLPainter]]></title><description><![CDATA[<p dir="auto">Hello,</p>
<p dir="auto">I want to turn on/off a global shader on my application to turn on/off all colors into only two e.g Black/whte using GLSL shaders.</p>
<p dir="auto">Is there a way to apply a 'global shader' to QGLPainter or need I to add QGLShaderProgramEffect on a root scenenode ?</p>
<p dir="auto">I managed to call the painter-&gt;setUserEffect(shaderEffect) prior draw but I would like to apply it to the whole scene.</p>
<p dir="auto">Regards</p>
]]></description><link>https://forum.qt.io/topic/18717/solved-apply-general-shader-on-whole-qglpainter</link><generator>RSS for Node</generator><lastBuildDate>Fri, 15 May 2026 21:20:01 GMT</lastBuildDate><atom:link href="https://forum.qt.io/topic/18717.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 31 Jul 2012 05:06:45 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to [SOLVED] Apply general shader on whole QGLPainter on Mon, 29 Apr 2013 08:36:16 GMT]]></title><description><![CDATA[<p dir="auto">Will use the AfterRendering wi QQuickWindow.</p>
]]></description><link>https://forum.qt.io/post/151162</link><guid isPermaLink="true">https://forum.qt.io/post/151162</guid><dc:creator><![CDATA[Skylar]]></dc:creator><pubDate>Mon, 29 Apr 2013 08:36:16 GMT</pubDate></item></channel></rss>