<?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[Guru Session #11: GLSL Shaders (Wed Apr 29th, 6pm CEST&#x2F;5pm GMT&#x2F;12pm EDT&#x2F;9am PDT)]]></title><description><![CDATA[<p>Dear All,</p>
<p>Tomorrow, Wednesday April 29th, I'll welcome advanced users for a deep dive on GLSL Shaders. We'll start with ways to source existing shaders from sources like GLSL Sandbox and ShaderToy and TroikaTronix's own GLSL Shader collection, move on to experiment with modifying shaders ourselves, and finally I'll show you a new, very nerdy (but very useful!) command line tool that will convert many of the existing <a href="https://isf.video/" target="_blank">ISF Shaders</a> to the Isadora format. By the end of this tutorial, you'll be end up with new sources of imagery and palette of new effects for your toolbox.</p>
<p>All sessions begin at 6pm CEST/5pm GMT/12pm EDT/9am PDT.<br /></p>
<p>Links for the live stream link and materials for this session will be published here at 5:50pm CEST on May1st.</p>
<p>See you there!</p>
<p>Warm Wishes + Stay Safe,<br />Mark</p>]]></description><link>https://community.troikatronix.com/topic/6588/guru-session-11-glsl-shaders-wed-apr-29th-6pm-cest-5pm-gmt-12pm-edt-9am-pdt</link><generator>RSS for Node</generator><lastBuildDate>Fri, 10 Apr 2026 09:06:32 GMT</lastBuildDate><atom:link href="https://community.troikatronix.com/topic/6588.rss" rel="self" type="application/rss+xml"/><pubDate>Tue, 28 Apr 2020 13:50:20 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Guru Session #11: GLSL Shaders (Wed Apr 29th, 6pm CEST&#x2F;5pm GMT&#x2F;12pm EDT&#x2F;9am PDT) on Fri, 08 May 2020 18:22:23 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-user plugin-mentions-a" href="https://community.troikatronix.com/uid/3587">@astrid</a></p><p>Remove the space between <strong>ISADORA_FLOAT_PARAM</strong> and <strong>(<br /></strong></p><p>So the second one ;) The first one is your example<br /></p><p><span class="write-container"><br /></span></p><pre>
// ISADORA_FLOAT_PARAM (noise_level, noil, 0.0, 1.0, 0.5, "This is the text that helps");</pre>
<pre>
// ISADORA_FLOAT_PARAM(noise_level, noil, 0.0, 1.0, 0.5, "This is the text that helps");</pre>]]></description><link>https://community.troikatronix.com/post/40879</link><guid isPermaLink="true">https://community.troikatronix.com/post/40879</guid><dc:creator><![CDATA[Juriaan]]></dc:creator><pubDate>Fri, 08 May 2020 18:22:23 GMT</pubDate></item><item><title><![CDATA[Reply to Guru Session #11: GLSL Shaders (Wed Apr 29th, 6pm CEST&#x2F;5pm GMT&#x2F;12pm EDT&#x2F;9am PDT) on Fri, 08 May 2020 17:52:52 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-user plugin-mentions-a" href="https://community.troikatronix.com/uid/2066">@juriaan</a>, <br />sorry for the super late reply;<br />here's my code for one of the tries</p><pre>
<br /><br /><br />
uniform float noise_level;<br />// ISADORA_FLOAT_PARAM (noise_level, noil, 0.0, 1.0, 0.5, "dit is de text  die helpt");<br />uniform float dark_factor;<br />// ISADORA_FLOAT_PARAM (dark_factor, dkfa, 0.0, 1.0, 0.5, "dit is wat het doet");
// #define NOISE_LEVEL 0.25<br />// #define DARKEN_FACTOR 0.125
#define DENOMINATOR vec2(213, 5.53)<br />#define NEG_X vec2(-1.0, 1.0)<br />#define NEG_Y vec2(1.0, -1.0)
#define GLITCH_OFFSET_1 vec2(32.05, 236.0)<br />#define GLITCH_OFFSET_2 vec2(-62.05, -36.0)
float rand(vec2 co)<br />{<br /> return fract(sin(dot(co.xy, vec2(12.9898, 78.233))) * 43758.5453);<br />}
void mainImage(out vec4 fragColor, in vec2 fragCoord)<br />{<br /> vec2 uv = fragCoord.xy / iResolution.xy;<br />    <br />    // Scanline desync<br /> if (mod(iTime, 2.0) &gt; 1.9)<br /> uv.x += cos(iTime * 10.0 + uv.y * 1000.0) * 0.01;<br />    <br />    // Pixelate glitch 1<br />    if (mod(iTime, 4.0) &gt; 3.0)<br /> uv = floor(uv * 32.0) / 32.0;
    // Pixelate glitch 2<br /> if (mod(iTime, 5.0) &gt; 3.75)<br />    uv += 1.0 / 64.0 * (2.0 * vec2(<br />            rand(floor(uv * 32.0) + GLITCH_OFFSET_1),<br />            rand(floor(uv.y * 32.0) + GLITCH_OFFSET_2)) - 1.0);
fragColor = texture(iChannel0, uv);<br />    fragColor.rgb<br />        += noise_level<br />        * vec3(rand(iTime + fragCoord / DENOMINATOR * NEG_X),<br />               rand(iTime - fragCoord / DENOMINATOR * NEG_Y),<br />               rand(iTime + fragCoord / DENOMINATOR))<br />        - dark_factor;<br />        <br />     <br /> <br />}</pre>]]></description><link>https://community.troikatronix.com/post/40878</link><guid isPermaLink="true">https://community.troikatronix.com/post/40878</guid><dc:creator><![CDATA[Astrid]]></dc:creator><pubDate>Fri, 08 May 2020 17:52:52 GMT</pubDate></item><item><title><![CDATA[Reply to Guru Session #11: GLSL Shaders (Wed Apr 29th, 6pm CEST&#x2F;5pm GMT&#x2F;12pm EDT&#x2F;9am PDT) on Mon, 04 May 2020 20:25:14 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-user plugin-mentions-a" href="https://community.troikatronix.com/uid/3933">@light-fx-uk</a> said:</p>
<blockquote>massive thumbs up!</blockquote>
<p>Thank you for letting me know. I will make the instructions clearer.</p><p>Best Wishes,<br />Mark</p>]]></description><link>https://community.troikatronix.com/post/40833</link><guid isPermaLink="true">https://community.troikatronix.com/post/40833</guid><dc:creator><![CDATA[mark]]></dc:creator><pubDate>Mon, 04 May 2020 20:25:14 GMT</pubDate></item><item><title><![CDATA[Reply to Guru Session #11: GLSL Shaders (Wed Apr 29th, 6pm CEST&#x2F;5pm GMT&#x2F;12pm EDT&#x2F;9am PDT) on Mon, 04 May 2020 18:27:11 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-user plugin-mentions-a" href="https://community.troikatronix.com/uid/2">@mark</a> thankyou will delete that folder and try again.....EDIT....it worked a dream.....massive thumbs up!</p>]]></description><link>https://community.troikatronix.com/post/40832</link><guid isPermaLink="true">https://community.troikatronix.com/post/40832</guid><dc:creator><![CDATA[Light FX UK]]></dc:creator><pubDate>Mon, 04 May 2020 18:27:11 GMT</pubDate></item><item><title><![CDATA[Reply to Guru Session #11: GLSL Shaders (Wed Apr 29th, 6pm CEST&#x2F;5pm GMT&#x2F;12pm EDT&#x2F;9am PDT) on Mon, 04 May 2020 11:19:05 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-user plugin-mentions-a" href="https://community.troikatronix.com/uid/3933">@Light-FX-UK</a> </p><p>From what I see above, the path in your downloads folder is something like</p><p>C:\Users\YOUR_USER_FOLDER_NAME\Downloads\ISF-Files-Master<u><strong> (1)\ISF Files master</strong></u></p><p>that won't work. (The underlined and bold part is wrong.) It must be exactly:</p><p>C:\Users\YOUR_USER_FOLDER_NAME\Downloads\ISF-Files-Master</p><p>Best Wishes,<br />Mark</p>]]></description><link>https://community.troikatronix.com/post/40826</link><guid isPermaLink="true">https://community.troikatronix.com/post/40826</guid><dc:creator><![CDATA[mark]]></dc:creator><pubDate>Mon, 04 May 2020 11:19:05 GMT</pubDate></item><item><title><![CDATA[Reply to Guru Session #11: GLSL Shaders (Wed Apr 29th, 6pm CEST&#x2F;5pm GMT&#x2F;12pm EDT&#x2F;9am PDT) on Sun, 03 May 2020 08:08:22 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-user plugin-mentions-a" href="https://community.troikatronix.com/uid/2">@mark</a> Hi Mark, yes ISF-Files-master is in my downloads folder, I ran the script but unfortunately no success.....it's probably my fault but a bit stumped on this one.  See further screen grab, following another test.  I downloaded everything again just to make sure.......</p><img src="/assets/uploads/files/1588493266242-screenshot-8-resized.png" />]]></description><link>https://community.troikatronix.com/post/40815</link><guid isPermaLink="true">https://community.troikatronix.com/post/40815</guid><dc:creator><![CDATA[Light FX UK]]></dc:creator><pubDate>Sun, 03 May 2020 08:08:22 GMT</pubDate></item><item><title><![CDATA[Reply to Guru Session #11: GLSL Shaders (Wed Apr 29th, 6pm CEST&#x2F;5pm GMT&#x2F;12pm EDT&#x2F;9am PDT) on Sun, 03 May 2020 04:33:06 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-user plugin-mentions-a" href="https://community.troikatronix.com/uid/3933">@Light-FX-UK</a> </p><p>Did you download the ISF files to your downloads folder?</p><p>1) Go to <a href="https://github.com/Vidvox/ISF-Files" target="_blank">the ISF Files github</a><br />2) Click the "Clone or Download" button and choose "Download ZIP"<br />3) After the download completes, verify you now have a file called <strong>ISF-Files-master.zip</strong> in your download folders.<br />4) Right-click the .zip file and extract the contents of the .zip so that you see a folder called <strong>ISF-Files-master</strong> in your downloads folder. (Here are <a href="https://www.simplehow.tips/a/56/how-to-zip-and-unzip-files-in-windows10" target="_blank">instructions on how to extract a zip file</a> to a folder.)</p><p>The script if the ISF-Files-master folder is in your downloads folder.</p><p>Best Wishes,<br />Mark</p>]]></description><link>https://community.troikatronix.com/post/40812</link><guid isPermaLink="true">https://community.troikatronix.com/post/40812</guid><dc:creator><![CDATA[mark]]></dc:creator><pubDate>Sun, 03 May 2020 04:33:06 GMT</pubDate></item><item><title><![CDATA[Reply to Guru Session #11: GLSL Shaders (Wed Apr 29th, 6pm CEST&#x2F;5pm GMT&#x2F;12pm EDT&#x2F;9am PDT) on Sat, 02 May 2020 17:24:53 GMT]]></title><description><![CDATA[<p dir="auto"><img src="/assets/uploads/files/1588440251455-isadora-isf-batch-issue-resized.png" /></p><p><a class="plugin-mentions-user plugin-mentions-a" href="https://community.troikatronix.com/uid/2">@mark</a> sorry its here.....ony recently entered the forums so finding my feet....</p><p></p>
]]></description><link>https://community.troikatronix.com/post/40811</link><guid isPermaLink="true">https://community.troikatronix.com/post/40811</guid><dc:creator><![CDATA[Light FX UK]]></dc:creator><pubDate>Sat, 02 May 2020 17:24:53 GMT</pubDate></item><item><title><![CDATA[Reply to Guru Session #11: GLSL Shaders (Wed Apr 29th, 6pm CEST&#x2F;5pm GMT&#x2F;12pm EDT&#x2F;9am PDT) on Sat, 02 May 2020 15:18:34 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-user plugin-mentions-a" href="https://community.troikatronix.com/uid/3933">@light-fx-uk</a> said:</p>
<blockquote>I've included the command window response for your perusal. </blockquote>
<p> Where? I don' see it.</p><p>Best Wishes,<br />Mark</p>]]></description><link>https://community.troikatronix.com/post/40809</link><guid isPermaLink="true">https://community.troikatronix.com/post/40809</guid><dc:creator><![CDATA[mark]]></dc:creator><pubDate>Sat, 02 May 2020 15:18:34 GMT</pubDate></item><item><title><![CDATA[Reply to Guru Session #11: GLSL Shaders (Wed Apr 29th, 6pm CEST&#x2F;5pm GMT&#x2F;12pm EDT&#x2F;9am PDT) on Sat, 02 May 2020 11:40:31 GMT]]></title><description><![CDATA[<p>Hi Mark....fantastic resource the guru sessions....have watched all but one - you're a fantastic tutor :-)  I'm having an issue with getting the isf shaders to batch convert using the windows bat file you included.  I've included the command window response for your perusal.  I'm pretty sure I have the files and the bat command in the same download file....but maybe its me.</p><p>Regards</p><p></p><p>Gavin</p>]]></description><link>https://community.troikatronix.com/post/40807</link><guid isPermaLink="true">https://community.troikatronix.com/post/40807</guid><dc:creator><![CDATA[Light FX UK]]></dc:creator><pubDate>Sat, 02 May 2020 11:40:31 GMT</pubDate></item><item><title><![CDATA[Reply to Guru Session #11: GLSL Shaders (Wed Apr 29th, 6pm CEST&#x2F;5pm GMT&#x2F;12pm EDT&#x2F;9am PDT) on Fri, 01 May 2020 22:34:38 GMT]]></title><description><![CDATA[<p>Thanks for this session!<br />GLSL seems to be a great way to manipulate images and adding some customs tools in Isadora.<br />I've been playing a bit with some Shadertoy shaders, and I found this answer from <a class="plugin-mentions-user plugin-mentions-a" href="https://community.troikatronix.com/uid/2">@mark</a> about multi-pass shaders  on the forum very useful: <a href="https://community.troikatronix.com/topic/3618/multi-pass-shaders/5">https://community.troikatronix...</a> That works well. Maybe those informations could be added to the GLSL Shader Actor Tutorial ?<br /><br />I would add that sometimes, in a multi-pass shader, when a "channel" needs itself (by example if iChannel0 calls iChannel0), we can add an empty GLSL node to make a loop. Here is a little example based on this reaction-diffusion shader: <a href="https://www.shadertoy.com/view/XsG3z1">https://www.shadertoy.com/view...</a><a href="/assets/uploads/files/1588372336627-reaction-diffusion_002.izz"> Reaction-diffusion_002.izz</a> (sorry I'm still on 2.6).<br /><br />Otherwise, there are some amazing shaders that use cubemaps on Shadertoy. I know there is a lot of work in many areas on Isadora, and I don't know how much it's complicated to make it working, but it could be a very cool feature for a next release!<br />Or maybe someone knows a way to avoid cubemaps (I was wondering if it's possible to use 2d textures as a cubemap...) ?<br /></p>]]></description><link>https://community.troikatronix.com/post/40797</link><guid isPermaLink="true">https://community.troikatronix.com/post/40797</guid><dc:creator><![CDATA[avienne]]></dc:creator><pubDate>Fri, 01 May 2020 22:34:38 GMT</pubDate></item><item><title><![CDATA[Reply to Guru Session #11: GLSL Shaders (Wed Apr 29th, 6pm CEST&#x2F;5pm GMT&#x2F;12pm EDT&#x2F;9am PDT) on Fri, 01 May 2020 17:22:37 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-user plugin-mentions-a" href="https://community.troikatronix.com/uid/2">@mark</a> cheers again for looking at this - it seems like a good work around at least for creating still images outseide of real-time. here is a 128 x 72 stage capture scaled up in photoshop x 300 % , and a 32 x 18 scaled up 1000%<br /></p>
<img src="/assets/uploads/files/1588353726582-isadoratemp20050113205907.jpg" /><img src="/assets/uploads/files/1588353726700-sam-32-18.jpg" /><p><img src="/assets/uploads/files/1588353555502-isadoratemp20050113150904.jpg" style="cursor:pointer" /> <img src="/assets/uploads/files/1588353555875-sam-thumbs-up.jpg" style="cursor:pointer" /> <br /></p>]]></description><link>https://community.troikatronix.com/post/40787</link><guid isPermaLink="true">https://community.troikatronix.com/post/40787</guid><dc:creator><![CDATA[Videosmith]]></dc:creator><pubDate>Fri, 01 May 2020 17:22:37 GMT</pubDate></item><item><title><![CDATA[Reply to Guru Session #11: GLSL Shaders (Wed Apr 29th, 6pm CEST&#x2F;5pm GMT&#x2F;12pm EDT&#x2F;9am PDT) on Fri, 01 May 2020 05:08:25 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-user plugin-mentions-a" href="https://community.troikatronix.com/uid/56">@Videosmith</a> </p>
<p>Well, one of the problems is that Isadora is going to scale this image up to the stage size, and then it's going to get blurry because of the scaling.</p>
<p>If you need the image to stay really low res, set the stage size to something low in the Stage Setup editor, and then use the "Capture Stage to Picture" actor to grab a picture at that resolution.You can then scale it up in an image editing program. Here's a patch with the stage set to a custom size of 128x72 as shown below.</p>
<img src="/assets/uploads/files/1588309096747-screen-shot-2020-05-01-at-6.57.08-am.png" style="cursor:pointer" /><br />
<p>Here's an example snap of the stage using my webcam.</p>
<p><img src="/assets/uploads/files/1588308986556-mark-128x72.png" style="cursor:pointer" /><br /></p><p>Same image scaled up in Photoshop using Nearest Neighbor resampling to preserve the hard edges:<br /></p>
<p><img src="/assets/uploads/files/1588309004746-mark-scaled-up-640x360.png" style="cursor:pointer" /><br /></p><p>And a black and white version...</p>
<p><img src="/assets/uploads/files/1588309653841-mark-128x72-bw.png" style="cursor:pointer" /><br /></p><p><img src="/assets/uploads/files/1588309667505-mark-128x72-bw-scaled-up.png" style="cursor:pointer" /><br /></p>
<p>Maybe that helps?</p><p>Here's the patch: <a href="https://community.troikatronix.com/assets/uploads/files/1588309646007-glsl-dithering-small-stage.izz">glsl dithering small stage.izz</a></p>
<p>Best Wishes,<br />Mark</p>]]></description><link>https://community.troikatronix.com/post/40779</link><guid isPermaLink="true">https://community.troikatronix.com/post/40779</guid><dc:creator><![CDATA[mark]]></dc:creator><pubDate>Fri, 01 May 2020 05:08:25 GMT</pubDate></item><item><title><![CDATA[Reply to Guru Session #11: GLSL Shaders (Wed Apr 29th, 6pm CEST&#x2F;5pm GMT&#x2F;12pm EDT&#x2F;9am PDT) on Thu, 30 Apr 2020 16:41:05 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-user plugin-mentions-a" href="https://community.troikatronix.com/uid/2">@mark</a> thankyou, this is great!  - I'm definitely getting a better range of sizes by using the izzy scaler and the bayer tile.The  lowest I can seem to keep it relatively crisp is about 160 x 90. <em>(my need to get it lower is funnily enough to generate knitting patterns!)</em></p><img src="/assets/uploads/files/1588264769533-screen-shot-2020-04-30-at-12.31.47.png" /><img src="/assets/uploads/files/1588264769983-screen-shot-2020-04-30-at-12.36.10.png" /><img src="/assets/uploads/files/1588264770658-screen-shot-2020-04-30-at-12.31.52.png" /><img src="/assets/uploads/files/1588264770647-screen-shot-2020-04-30-at-12.32.41.png" /><img src="/assets/uploads/files/1588264771321-screen-shot-2020-04-30-at-12.31.41.png" />]]></description><link>https://community.troikatronix.com/post/40771</link><guid isPermaLink="true">https://community.troikatronix.com/post/40771</guid><dc:creator><![CDATA[Videosmith]]></dc:creator><pubDate>Thu, 30 Apr 2020 16:41:05 GMT</pubDate></item><item><title><![CDATA[Reply to Guru Session #11: GLSL Shaders (Wed Apr 29th, 6pm CEST&#x2F;5pm GMT&#x2F;12pm EDT&#x2F;9am PDT) on Thu, 30 Apr 2020 07:43:03 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-user plugin-mentions-a" href="https://community.troikatronix.com/uid/56">@videosmith</a></p>
<p>[NOTE: my reply is for Sam, but this info is useful for all! Please read. ;-) ]</p>
<p>OK, I think I've gotten some dithers worked out for you.</p>
<p>First, regarding the ShaderToy code for <a href="https://www.shadertoy.com/view/wsjSRd">Dither Webcam</a>:</p>
<p>Remember what I said in the tutorial regarding looking at the iChannel0, iChannel1, inputs, etc. Look at this part of the page:</p>
<p><img src="/assets/uploads/files/1588229911564-screen-shot-2020-04-30-at-8.58.08-am.png" style="cursor:pointer" /><br /></p><p>The webcam is video input 1 (iChannel0) but it needs a texture for video input 2, as seen in the iChannel1 input. The problem with ShaderToy is that it is not very apparent which texture has been chosen because it's scaling and anti-aliasing it in the preview. :-(</p>
<p>In the end, I determined it was the texture called <strong>Bayer</strong> which is an 8x8 grid of greyscale values. (Bayer is a technique used for dithering, that was my clue.)</p>
<p>But then the question becomes, how do you get that texture? At the moment, the site <a href="https://shadertoyunofficial.wordpress.com" target="_blank">ShaderToy Unofficial</a> has a page that gives links to the textures under the section <a href="https://shadertoyunofficial.wordpress.com/2019/07/23/shadertoy-media-files/" target="_blank">ShaderToy Media Files</a>. Hopefully the image I've circled looks familiar from above:</p>
<p><img src="/assets/uploads/files/1588230798520-screen-shot-2020-04-30-at-9.12.17-am.png" style="cursor:pointer" /><br /></p><p>So I clicked that and downloaded it. If you provide that as the second input, the dithering works.</p>
<p>I also worked around the error in the ShaderToy <a href="https://www.shadertoy.com/view/WstXR8" target="_blank">4x4 Bayer Dithering</a> shader. It needs to do an integer modulo operation (the '%' operator) which macOS doesn't want to do. But I created a function to peform the modulo called "modulo" which you'll see in the code.</p>
<p>In addition, I added a 'color amt' parameter to this shader to allow you to see the dithered color (the default for the ShaderToy) or a black and white version.</p>
<p>For both of these shaders, I made three scenes: one at the native resolution of the camera, one scaled to 640x360, and one scaled to 320x180. This will change the look of the final image, as smaller images may give you more of what you were hoping for.</p>
<p>I also made three versions of the bayer image png for the Dither Webcam patches. The 8x8 one I downloaded from ShaderToy Unofficial didn't look as good as a 96x96 pixel image I got from ShaderToy itself. The patches are set to use the 96x96 pixel version of the 8x8 matrix, but you can experiment with the 8x8 pixel, 96x96pixel, and 192x192pixel matrix images to see what you like best.</p>
<p>Let me know what you find and if this gives you what you were looking for.</p>
<p><a href="/assets/uploads/files/1588232440932-glsl-dithering.zip">glsl dithering.zip</a></p>
<p>Best WIshes,<br />Mark</p>]]></description><link>https://community.troikatronix.com/post/40769</link><guid isPermaLink="true">https://community.troikatronix.com/post/40769</guid><dc:creator><![CDATA[mark]]></dc:creator><pubDate>Thu, 30 Apr 2020 07:43:03 GMT</pubDate></item><item><title><![CDATA[Reply to Guru Session #11: GLSL Shaders (Wed Apr 29th, 6pm CEST&#x2F;5pm GMT&#x2F;12pm EDT&#x2F;9am PDT) on Wed, 29 Apr 2020 21:50:29 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-user plugin-mentions-a" href="https://community.troikatronix.com/uid/2">@mark</a> - thankyou - most of the other shaders didnt have a second input so I wasnt really focusing on that, but seems to be a clue to the puzzle. replacing that with the bayer tile from here <a href="https://www.shadertoy.com/view/WtsXW2">https://www.shadertoy.com/view/WtsXW2</a> (channel 0 menu) seems to help?  anyway, I'll keep experimenting -  thanks again for the tips  <br /></p>]]></description><link>https://community.troikatronix.com/post/40768</link><guid isPermaLink="true">https://community.troikatronix.com/post/40768</guid><dc:creator><![CDATA[Videosmith]]></dc:creator><pubDate>Wed, 29 Apr 2020 21:50:29 GMT</pubDate></item><item><title><![CDATA[Reply to Guru Session #11: GLSL Shaders (Wed Apr 29th, 6pm CEST&#x2F;5pm GMT&#x2F;12pm EDT&#x2F;9am PDT) on Wed, 29 Apr 2020 19:13:17 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-user plugin-mentions-a" href="https://community.troikatronix.com/uid/56">@videosmith</a> said:</p>
<blockquote>thanks for the code - it compiles, but im still having the same issues regards resolution (see images) - what does it look like for you? </blockquote>
<p>Maybe you need to connect both video inputs... did you do that?</p><p>Best Wishes,<br />Mark</p>]]></description><link>https://community.troikatronix.com/post/40767</link><guid isPermaLink="true">https://community.troikatronix.com/post/40767</guid><dc:creator><![CDATA[mark]]></dc:creator><pubDate>Wed, 29 Apr 2020 19:13:17 GMT</pubDate></item><item><title><![CDATA[Reply to Guru Session #11: GLSL Shaders (Wed Apr 29th, 6pm CEST&#x2F;5pm GMT&#x2F;12pm EDT&#x2F;9am PDT) on Wed, 29 Apr 2020 18:38:15 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-user plugin-mentions-a" href="https://community.troikatronix.com/uid/2066">@juriaan</a> hi  - im working on Isadora version 3.0.7 , OS 10.13.6 Hi Sierra - MacBook Pro (Retina, 13-inch, Mid 2014 - 3 GHz Intel Core i7, 16 GB 1600 MHz DDR3, Graphics Intel Iris 1536 MB  )</p><p>thanks for the code - it compiles, but im still having the same issues regards resolution (see images) - what does it look like for you? <br /></p><img src="/assets/uploads/files/1588185484865-screen-shot-2020-04-29-at-14.35.51.png" /><img src="/assets/uploads/files/1588185484841-screen-shot-2020-04-29-at-14.35.37.png" />]]></description><link>https://community.troikatronix.com/post/40766</link><guid isPermaLink="true">https://community.troikatronix.com/post/40766</guid><dc:creator><![CDATA[Videosmith]]></dc:creator><pubDate>Wed, 29 Apr 2020 18:38:15 GMT</pubDate></item><item><title><![CDATA[Reply to Guru Session #11: GLSL Shaders (Wed Apr 29th, 6pm CEST&#x2F;5pm GMT&#x2F;12pm EDT&#x2F;9am PDT) on Wed, 29 Apr 2020 18:25:53 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-user plugin-mentions-a" href="https://community.troikatronix.com/uid/56">@Videosmith</a> </p><p>Ditter webcam </p><p><a href="https://gist.github.com/JuriaanGregor/719c6290939646f9cc36903a11f80760">https://gist.github.com/Juriaa...</a></p><p>Regarding your 4x4 Bayer Dithering, the code works fine as is. What operation system are you on / what version of Isadora ?</p>]]></description><link>https://community.troikatronix.com/post/40765</link><guid isPermaLink="true">https://community.troikatronix.com/post/40765</guid><dc:creator><![CDATA[Juriaan]]></dc:creator><pubDate>Wed, 29 Apr 2020 18:25:53 GMT</pubDate></item><item><title><![CDATA[Reply to Guru Session #11: GLSL Shaders (Wed Apr 29th, 6pm CEST&#x2F;5pm GMT&#x2F;12pm EDT&#x2F;9am PDT) on Wed, 29 Apr 2020 18:17:10 GMT]]></title><description><![CDATA[<p><strong><u>Resolution problems with lo-res shaders / dither</u></strong><br /></p><p><br />Hi Mark - thankyou for the session. It's a complex area to get my head around but I grasped some of it - im sure the video will be rewatched!</p><p>If anyone can help me in my lo-res quest  - </p><p>I am trying to find a dither shader and get it to work <a href="https://community.troikatronix.com/topic/5436/in-praise-of-dither" target="_blank">(I talked about this</a> a year or so ago on the forum - but I'm still no wiser!) - it either looks too high res or completely anti aliased. I've tried changing resolution in video preferences / turning shader full frame anti aliasing off, and changing resolution in the shader. <br /><br />Is there some hidden thing I need to switch? (@Maxime - you seemed to have more success with the Obra Dinn shader)<br /></p><p>I've made a list below of examples I've used, and errors (for those that don't compile) - if anyone can get a nice crisp dither shader running in izzy please let me know - that would be awesome!</p><hr />
<p><u><strong>Examples that compile image is too high resolution / anti aliasing</strong></u>
</p><ul><li>1-Bit Waves - <a href="https://www.shadertoy.com/view/WtsXW2" target="_blank">https://www.shadertoy.com/view/WtsXW2</a></li></ul>
<ul><li>Obra Dinn dither - <a href="https://www.shadertoy.com/view/4sySzw" target="_blank">https://www.shadertoy.com/view/4sySzw</a></li></ul>
<ul><li>Classic Mac floyd-steinberg-ish - <a href="https://www.shadertoy.com/view/4sjGRD" target="_blank">https://www.shadertoy.com/view/4sjGRD</a></li></ul><p>
</p><p><u><strong><br /></strong></u></p><p><u><strong>Examples that give errors and won't compile:</strong></u></p>
<ul><li>Dither Webcam - <a href="https://www.shadertoy.com/view/wsjSRd" target="_blank">https://www.shadertoy.com/view/wsjSRd</a></li></ul>
<p>Error:<em></em></p><p><em>FRAG ERROR: 0:20: Invalid call of undeclared identifier 'round'</em></p>
<ul><li>Bayer maxtrix dithering explorer  - <a href="https://www.shadertoy.com/view/WtjSzm" target="_blank">https://www.shadertoy.com/view/WtjSzm</a></li></ul>
<p>Error:</p>
<p><em>syntax error: Array size must appear after variable name</em><br /></p>
<ul><li>4x4 Bayer Dithering<strong> </strong>- <a href="https://www.shadertoy.com/view/WstXR8" target="_blank">https://www.shadertoy.com/view/WstXR8</a></li></ul>
<p>Error:</p>
<p></p><p><em>FRAG ERROR: 0:29: '%' does not operate on 'int' and 'int'<br />FRAG ERROR: 0:29: '%' does not operate on 'int' and 'int'<br />FRAG ERROR: 0:37: Use of undeclared identifier 'bayerValue'<br />FRAG ERROR: 0:38: Use of undeclared identifier 'bayerValue'<br />FRAG ERROR: 0:39: Use of undeclared identifier 'bayerValue'</em></p><p></p>]]></description><link>https://community.troikatronix.com/post/40764</link><guid isPermaLink="true">https://community.troikatronix.com/post/40764</guid><dc:creator><![CDATA[Videosmith]]></dc:creator><pubDate>Wed, 29 Apr 2020 18:17:10 GMT</pubDate></item><item><title><![CDATA[Reply to Guru Session #11: GLSL Shaders (Wed Apr 29th, 6pm CEST&#x2F;5pm GMT&#x2F;12pm EDT&#x2F;9am PDT) on Wed, 29 Apr 2020 18:15:58 GMT]]></title><description><![CDATA[<p><a class="plugin-mentions-user plugin-mentions-a" href="https://community.troikatronix.com/uid/3587">@Astrid</a> </p><p>Could you share the GLSL code that you put inside your code window ? Upload it to Gist / Pastebin or use a Code block here on the forum. Then we can take a look with ya :)<br /></p>]]></description><link>https://community.troikatronix.com/post/40763</link><guid isPermaLink="true">https://community.troikatronix.com/post/40763</guid><dc:creator><![CDATA[Juriaan]]></dc:creator><pubDate>Wed, 29 Apr 2020 18:15:58 GMT</pubDate></item><item><title><![CDATA[Reply to Guru Session #11: GLSL Shaders (Wed Apr 29th, 6pm CEST&#x2F;5pm GMT&#x2F;12pm EDT&#x2F;9am PDT) on Wed, 29 Apr 2020 17:45:33 GMT]]></title><description><![CDATA[<p>Thnx again for this session!</p>
<p>Although I'm not a coder, I think I could follow most of what you demonstrated.</p>
<p>Sadly my custom parameters/inputs were not working in any of the shaders I tried them on (not sure if my screenshots are uploading..)<a href="/assets/uploads/files/1588182266557-screenshot-2020-04-29-at-19.34.54-resized.png"></a></p>
<p>When typing the code, no compile errors, but also no changes to the actor after compile/ok.</p>
<p>When I copy pasted the text, from the chat:<br /></p>
<pre>
uniform float dark_factor;
// ISADORA_FLOAT_PARAM(dark_factor, dkfa, 0.0, 1.0, 0.125, "This is the amount of darkness.");
</pre>
<p><strong class="style-scope yt-icon-button"><br /></strong><br /></p><p>I get messages like :</p>
<pre>
FRAG ERROR: 0:14: '&lt;' : syntax error: syntax error&lt;a href="/assets/uploads/files/1588182227804-screenshot-2020-04-29-at-19.16.00-resized.png"&gt;&lt;/a&gt;
</pre><img src="/assets/uploads/files/1588182321827-screenshot-2020-04-29-at-19.16.00-resized.png" /><img src="/assets/uploads/files/1588182322762-screenshot-2020-04-29-at-19.34.54-resized.png" />]]></description><link>https://community.troikatronix.com/post/40762</link><guid isPermaLink="true">https://community.troikatronix.com/post/40762</guid><dc:creator><![CDATA[Astrid]]></dc:creator><pubDate>Wed, 29 Apr 2020 17:45:33 GMT</pubDate></item><item><title><![CDATA[Reply to Guru Session #11: GLSL Shaders (Wed Apr 29th, 6pm CEST&#x2F;5pm GMT&#x2F;12pm EDT&#x2F;9am PDT) on Wed, 29 Apr 2020 19:12:00 GMT]]></title><description><![CDATA[<p><a href="https://troikatronix.com/files/guru11.zip">Download the materials</a> for this session.</p>
<p><strong>*** NOTE *** The recording of the livestream is offline for a few hours while we make an edit... it will be online again by Thursday Morning, Apr 30th. *****</strong></p><p>Watch the <a href="https://youtu.be/ysaPeyVL1Xc" target="_blank">live stream</a> (also good for later viewing)</p>
<p>See you in a little bit! ;-)</p>
<p>Best Wishes,<br />Mark</p>
<p></p>]]></description><link>https://community.troikatronix.com/post/40760</link><guid isPermaLink="true">https://community.troikatronix.com/post/40760</guid><dc:creator><![CDATA[mark]]></dc:creator><pubDate>Wed, 29 Apr 2020 19:12:00 GMT</pubDate></item></channel></rss>