User Tag List

Results 1 to 5 of 5

Thread: Shader Request: Channel offset

  1. #1
    No Products Registered

    Join Date
    Jul 2007
    Location
    Iceland
    Posts
    13
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Shader Request: Channel offset

    Im looking for a pixel shader that can offset the horizontal position of each of the color channels a certain amount. Like for example, offset the red channel +1 pixel to the right.

    I have no experience with programming shaders, so Im curious if this is something that someone here on the forums has an easy time doing.

  2. #2
    Clicker Fusion 2.5 DeveloperSWF Export ModuleUnicode Add-on
    Looki's Avatar
    Join Date
    Aug 2006
    Location
    Karlsruhe, Germany
    Posts
    3,739
    Mentioned
    4 Post(s)
    Tagged
    1 Thread(s)

    Re: Shader Request: Channel offset

    Made a shader like this years ago but it used relative offsets and was probably coded badly. Just wrote a new one on my laptop without code editor and MMF so I hope it works - it should.

    http://clickteam.info/looki/Shaders/ChannelOffset.zip

  3. #3
    Clicker Fusion 2.5 DeveloperSWF Export ModuleUnicode Add-on
    Looki's Avatar
    Join Date
    Aug 2006
    Location
    Karlsruhe, Germany
    Posts
    3,739
    Mentioned
    4 Post(s)
    Tagged
    1 Thread(s)

    Re: Shader Request: Channel offset

    I was able to test it now, it worked, but opaque pixels at the image borders were repeated when offset which looks ugly - fixed.

  4. #4
    No Products Registered

    Join Date
    Jul 2007
    Location
    Iceland
    Posts
    13
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Shader Request: Channel offset

    This works perfectly.
    Much appreciated Looki, this is exactly what I needed!

  5. #5
    Clicker Fusion 2.5 DeveloperSWF Export ModuleUnicode Add-on
    Looki's Avatar
    Join Date
    Aug 2006
    Location
    Karlsruhe, Germany
    Posts
    3,739
    Mentioned
    4 Post(s)
    Tagged
    1 Thread(s)

    Re: Shader Request: Channel offset

    You're welcome!

Similar Threads

  1. [Request] Set volume on channel #X
    By Koji_Kabuto in forum Android Export Module Version 2.0
    Replies: 0
    Last Post: 4th December 2011, 05:31 PM
  2. Shader Request: Selective Blur
    By alxmrg in forum Hardware Accelerated Runtime
    Replies: 2
    Last Post: 10th July 2010, 09:51 PM
  3. Matrix transform shader [request]!
    By Saml in forum Shader Development
    Replies: 3
    Last Post: 12th June 2010, 05:17 AM
  4. [REQUEST] Some Shader Effects
    By Game_Master in forum Hardware Accelerated Runtime
    Replies: 3
    Last Post: 13th July 2009, 03:12 PM
  5. Pixel shader request.
    By Nifflas in forum Hardware Accelerated Runtime
    Replies: 5
    Last Post: 8th May 2008, 12:50 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
  •