User Tag List

Results 1 to 3 of 3

Thread: RGB Seperation shader for fusion?

  1. #1
    Clicker Fusion 2.5Fusion 2.5 Mac
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)
    zip2kx's Avatar
    Join Date
    Jun 2015
    Posts
    703
    Mentioned
    13 Post(s)
    Tagged
    0 Thread(s)

    RGB Seperation shader for fusion?

    Hello!

    Has anyone ever done a RGB separation filter for fusion? You have probably seen it a lot if you played games these last 2 years or watched any music videos.

    here's a random picture from google
    https://cache.redgiant.com/wp-assets...eration_AR.jpg
    https://i.ytimg.com/vi/wZpO2CR92pA/maxresdefault.jpg

    I've never written a shader before but i found this code, maybe it can inspire someone to whip something up?
    Code:
    // Offset the main texture coordinates.
        float2 texCoord2 = texCoord + DisplacementScroll;
        float2 texCoord3 = texCoord - DisplacementScroll;
        
        float4 color1 = tex2D(TextureSampler, texCoord);
        float4 color2 = tex2D(TextureSampler, texCoord2);
        float4 color3 = tex2D(TextureSampler, texCoord3);
    
        // Look up into the main texture.
        return float4 (color1.r,color2.g,color3.b,color1.a);

  2. #2
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleUniversal Windows Platform Export ModuleSWF Export Module
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)
    Banduck's Avatar
    Join Date
    Aug 2013
    Posts
    200
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    There is already exactly this shader you are looking for.

    https://clickstore.clickteam.com/looki_mega_shader_pack

    The shader is called "Channel Offset".

  3. #3
    Clicker Fusion 2.5Fusion 2.5 Mac
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)
    zip2kx's Avatar
    Join Date
    Jun 2015
    Posts
    703
    Mentioned
    13 Post(s)
    Tagged
    0 Thread(s)
    Thank you Banduck, oddly Offset wasnt in the pack when I downloaded a long time ago but i found it from a separate source now.

Similar Threads

  1. Glitch effect/shader in Fusion?
    By Fililip in forum Fusion 2.5
    Replies: 7
    Last Post: 4th July 2017, 09:11 AM
  2. Replies: 0
    Last Post: 7th October 2016, 04:07 AM
  3. Replies: 0
    Last Post: 27th April 2016, 04:11 AM
  4. looking for offset shader, underwater shader, etc
    By neorocker7 in forum Fusion 2.5
    Replies: 9
    Last Post: 18th May 2015, 02:03 PM
  5. Tilemap Pixel Shader (aka "texture atlas" shader)
    By MuddyMole in forum Hardware Accelerated Runtime
    Replies: 3
    Last Post: 10th May 2013, 08:21 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •