User Tag List

Results 1 to 4 of 4

Thread: Choose Pixel Shader by expression

  1. #1
    Clicker Fusion 2.5 (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)

    Join Date
    Nov 2007
    Posts
    456
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Choose Pixel Shader by expression

    I was wondering if there was someway to set a pixel shader by an expression (much like when you use "Set Alterable Value," you can pick one from the list or use the "Use Expression" button to type an expression of which value to use)? If there is, how does the system work? Are they all indexed by number, or would it need to be chosen by a string?

    I was just thinking about making a tool for playing around with the Pixel Shaders and seeing what they all do (along with messing around with the params), as I thought it'd be useful to quickly use when you're trying to decide what effect to use, but became unstuck when I couldn't work out if there was such a way to choose them.

    Cheers

  2. #2
    No Products Registered

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

    Re: Choose Pixel Shader by expression

    i think MMF only includes shaders that are directly referenced when it builds an app, so with expressions, you'd end up running into the same problem that you would when referencing external files through expressions (MMF not being able to "read" the expression and include those shaders)

    in any case, you'd probably have to have a load of dummy objects, each of which would have a different shader you plan on using, unless there are plans to add something like an "Include shaders" section to Data Elements

    though it would be useful once you had the references set up

  3. #3
    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: Choose Pixel Shader by expression

    MMF would need to pre-compile them, ending up in a long freeze at start, I guess.

  4. #4
    Forum Moderator Fusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleHTML5 Export ModuleiOS Export ModuleSWF Export ModuleXNA Export Module
    Sphax's Avatar
    Join Date
    Jun 2006
    Location
    Paris, France
    Posts
    4,454
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Choose Pixel Shader by expression

    I think, it's already planned by Clickteam to add a preview system to the window which list all the pixel-shaders.

Similar Threads

  1. Tilemap Pixel Shader (aka "texture atlas" shader)
    By MuddyMole in forum Hardware Accelerated Runtime
    Replies: 3
    Last Post: 10th May 2013, 08:21 PM
  2. Pixel shader rounding
    By SEELE in forum Hardware Accelerated Runtime
    Replies: 0
    Last Post: 3rd August 2009, 07:24 AM
  3. Can any one get the pixel shader to wok?
    By SEELE in forum Multimedia Fusion 2 - Technical Support
    Replies: 4
    Last Post: 11th August 2008, 01:28 PM
  4. Sub-Pixel Positioning Pixel Shader
    By LazyCoder in forum Hardware Accelerated Runtime
    Replies: 15
    Last Post: 16th March 2008, 11:24 AM
  5. Pixel Shader Help
    By LazyCoder in forum Hardware Accelerated Runtime
    Replies: 15
    Last Post: 11th January 2008, 06:21 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
  •