User Tag List

Results 1 to 6 of 6

Thread: RGB Seperation shader for fusion?

  1. #1
    Clicker Fusion 2.5Fusion 2.5 Mac
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Fusion 2.5+ DLC (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
    781
    Mentioned
    17 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 DeveloperFusion 2.5+ DLCAndroid 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
    211
    Mentioned
    3 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)Fusion 2.5+ DLC (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
    781
    Mentioned
    17 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.

  4. #4
    Clickteam Clickteam
    Simon's Avatar
    Join Date
    Jun 2006
    Location
    UK
    Posts
    2,642
    Mentioned
    58 Post(s)
    Tagged
    3 Thread(s)
    @lolkid please don't use the report post feature to ask a question, just post it here. Thanks

  5. #5
    Clicker Fusion 2.5Fusion 2.5+ DLC

    Join Date
    Mar 2014
    Posts
    148
    Mentioned
    14 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Simon View Post
    @lolkid please don't use the report post feature to ask a question, just post it here. Thanks
    Why aren't there any 'how to use shaders with Fusion 2.5 tutorials' plastered in an easy to find place on the clickteam website? Everything is buried!

  6. #6
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleUniversal Windows Platform Export Module

    Join Date
    May 2014
    Posts
    97
    Mentioned
    7 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Edel View Post
    Why aren't there any 'how to use shaders with Fusion 2.5 tutorials' plastered in an easy to find place on the clickteam website? Everything is buried!
    Sticking site:community.clickteam.com at the end of a Google search usually helps narrow things down.

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
  •