User Tag List

Results 1 to 10 of 10

Thread: Pixel shaders independant of object angle

  1. #1
    Clicker Multimedia Fusion 2 Developer

    Join Date
    Jul 2006
    Location
    Denmark
    Posts
    1,812
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Pixel shaders independant of object angle

    So I was wondering if it's possible (or will be possible) to apply pixel shader effects to active objects in a way so that they DON'T follow the active object's angle?

  2. #2
    No Products Registered

    Join Date
    Aug 2006
    Posts
    984
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Pixel shaders independant of object angle

    not like i'll know the final answer but it's sort of possible by moving the rotation to the shader itself

    this of course brings up its own problems such as the object's corners being chopped off unless you add a lot of blank padding space

  3. #3
    No Products Registered

    Join Date
    Jul 2006
    Location
    Texas
    Posts
    1,225
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Pixel shaders independant of object angle

    What are you talking about following its angle? If you mean making it so it rotates first, then applies the shader, what you could do is make the rotation part of the pixel shader.

  4. #4
    Clicker Multimedia Fusion 2 Developer

    Join Date
    Jul 2006
    Location
    Denmark
    Posts
    1,812
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Pixel shaders independant of object angle

    okay so let's say I didn't make this pixel shader

    what would I do to make it rotate?

  5. #5
    Clicker Multimedia Fusion 2 Developer

    Join Date
    Jun 2006
    Location
    Darlington, UK
    Posts
    3,298
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Pixel shaders independant of object angle

    You wouldn't

  6. #6
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleSWF Export ModuleUnicode Add-on
    Looki's Avatar
    Join Date
    Aug 2006
    Location
    Karlsruhe, Germany
    Posts
    3,741
    Mentioned
    5 Post(s)
    Tagged
    1 Thread(s)

    Re: Pixel shaders independant of object angle

    Sorry for the hole one, it really is too much math for ps 2.0
    I can't optimize it so it's under 64 operations...

  7. #7
    Clicker Multimedia Fusion 2 Developer

    Join Date
    Jul 2006
    Location
    Denmark
    Posts
    1,812
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Pixel shaders independant of object angle

    Quote Originally Posted by Dynasoft
    You wouldn't
    so what you're saying is that it's impossible for me to achieve?

  8. #8
    No Products Registered

    Join Date
    Jul 2006
    Location
    Texas
    Posts
    1,225
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Pixel shaders independant of object angle

    Not without editing the pixel shader.

  9. #9
    Clicker Multimedia Fusion 2 Developer

    Join Date
    Jul 2006
    Location
    Denmark
    Posts
    1,812
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Pixel shaders independant of object angle

    Quote Originally Posted by LazyCoder
    Not without editing the pixel shader.
    I never said I wasn't willing to do that. I just asked what I would, like, do in the pixelshader's code in order to achieve that.

  10. #10
    No Products Registered

    Join Date
    Jul 2006
    Location
    Texas
    Posts
    1,225
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Pixel shaders independant of object angle

    Well first what you'd need to do is rotate it in the pixel shader's code first (and you can look at one of sphax's shaders to see how that's done). So it's really almost all copy & paste.

Similar Threads

  1. Pixel Shaders examples
    By Sphax in forum Hardware Accelerated Runtime
    Replies: 116
    Last Post: 15th October 2016, 07:09 PM
  2. Pixel Shaders? HWA? Please someone shed some light...
    By Blacstar in forum Multimedia Fusion 2 - Technical Support
    Replies: 5
    Last Post: 24th February 2012, 07:18 PM
  3. Pixel Shaders 3.0?
    By Algul in forum Hardware Accelerated Runtime
    Replies: 1
    Last Post: 11th January 2012, 12:02 PM
  4. Pixel Shaders Ideas/Requests - HWA
    By Novabrain in forum Hardware Accelerated Runtime
    Replies: 77
    Last Post: 2nd June 2009, 12:45 PM
  5. Pixel Shaders
    By Looki in forum Hardware Accelerated Runtime
    Replies: 9
    Last Post: 24th January 2009, 07:52 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
  •