User Tag List

Page 1 of 2 1 2 LastLast
Results 1 to 10 of 20

Thread: Anaglyph Shader

  1. #1
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleMac Export ModuleUnicode Add-on
    Pharanygitis's Avatar
    Join Date
    Aug 2006
    Location
    Germany
    Posts
    1,037
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Anaglyph Shader



    Here my new shader for MMF2 (HWA).
    You can make 3D-Glasses-Games with the Anaglyph-Shader. Its very easy.. see the example for more informations..

    Screenshot:


    Special Thanks:
    Looki (for all the help)
    Attached files Attached files

  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: Anaglyph Shader

    Nice, but it would be cooler with pixels for the offset parameter.

    put float fPixelWidth; at the top of your code, then multiply the offset with fPixelWidth when getting the pixel color. That should be it.

  3. #3
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleMac Export ModuleUnicode Add-on
    Pharanygitis's Avatar
    Join Date
    Aug 2006
    Location
    Germany
    Posts
    1,037
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Anaglyph Shader

    Patched !
    Thank you looki !!

  4. #4
    Clicker Multimedia Fusion 2 DeveloperSWF Export Module

    Join Date
    Aug 2006
    Posts
    2,335
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Anaglyph Shader

    Nice effect, i need to buy some 3d glasses sometime i think. Making a 3d glasses game or having it as a option could be quite fun.

  5. #5
    Clicker SWF Export Module

    Join Date
    Dec 2006
    Location
    England, UK
    Posts
    807
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Anaglyph Shader

    I put my 3D glasses on and it made little difference o_O perhaps being short sighted doesn't help.

    Edit: Atom how can you comment on the effect if you still need to buy some glasses? :crazy:

  6. #6
    Clicker Multimedia Fusion 2 DeveloperSWF Export Module

    Join Date
    Aug 2006
    Posts
    2,335
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Anaglyph Shader

    Atom how can you comment on the effect if you still need to buy some glasses?
    I just said nice effect because it looks like it would work from the preview image, i didn't really comment on the results though just that i thought it is a fun idea but i don't currently have 3d glasses to use it. I don't see anything wrong with commenting though, color offset can also be used as a regular effect even if you don't want to make a game for 3d glasses.

  7. #7
    Clicker Multimedia Fusion 2 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleUnicode Add-on
    iamjot's Avatar
    Join Date
    Nov 2008
    Location
    Austria
    Posts
    718
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Anaglyph Shader

    Sweet! Works nice. Fooling around a bit right now. It works best for me, when the objects are going more "inside". Works great with paralax too. Thank you!

  8. #8
    Clicker

    Fusion 2.5 DeveloperAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export ModuleUnicode Add-on
    Fusion 2.5 (Steam)
    ASD's Avatar
    Join Date
    Feb 2007
    Location
    Japan
    Posts
    1,764
    Mentioned
    8 Post(s)
    Tagged
    0 Thread(s)

    Re: Anaglyph Shader

    Nice effect! However, I was not seen the like 3d with glasses made by myself.

    I suggests it be able to change the red and blue coefficient.

  9. #9
    Clicker Fusion 2.5

    Join Date
    Sep 2010
    Posts
    175
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Anaglyph Shader

    I am visually impaired and have double vision, so seeing in 3D is impossible for me

  10. #10
    Clicker Multimedia Fusion 2SWF Export Module
    Jacob's Avatar
    Join Date
    Jul 2007
    Location
    Second pixel to the right
    Posts
    3,208
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Anaglyph Shader

    The problem with this one is that it only offsets left and right, whereas it should also rotate the offset. Draw a red square and a blue square side by side. Then cross your eyes so you see double and have the red square overlap the blue. It won't line up, because your eyes are at different angles.

    http://www.syndime.com/pics/ANA_Beatles.jpg

    See how in that picture, the line down the center doesn't line up? This is due to the positioning of your eyes. Without that offset, anaglyphic 3D will never look real.

Page 1 of 2 1 2 LastLast

Similar Threads

  1. 3d shader.fx
    By Bogeyman in forum Hardware Accelerated Runtime
    Replies: 4
    Last Post: 21st April 2016, 07:00 PM
  2. Tilemap Pixel Shader (aka "texture atlas" shader)
    By MuddyMole in forum Hardware Accelerated Runtime
    Replies: 3
    Last Post: 10th May 2013, 08:21 PM
  3. 3D Shader ever possible in iOS?
    By StingRay in forum iOS Export Module Version 2.0
    Replies: 1
    Last Post: 16th January 2013, 07:54 AM
  4. Anaglyph Shader
    By Matheus290 in forum Shader Development
    Replies: 0
    Last Post: 3rd November 2011, 03:38 AM
  5. Hue Shader (for PS 2.0 !)
    By Nobuyuki in forum Shader Development
    Replies: 2
    Last Post: 25th September 2010, 02:27 AM

Posting Permissions

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