Toggle Shaders

0 favourites
  • 5 posts
From the Asset Store
Toggles Dials Switches and Alerts ! A foundational sound grouping of Analog type switches and Steampunk effects
  • Say for example I want every single object in my game to have the sketch shader, but I want the player to be able to toggle it whenever they want.

    So, to do this, I put every object into the same family, and then applied the shader to that family. This does what I want in-game, but when I try to edit the levels, they all have the shader applied. This isn't such a big deal when it comes to sketch, but lens? Glass? Then it gets hard.

    So, my question is... how do I toggle the shader on and off in layout mode?

  • You can set "Enable WebGL" to off while you working in editor.

  • You can set "Enable WebGL" to off while you working in editor.

    Good idea, but I have to remember to turn it on each time I test the level, which I do quite often. Seems odd I can enable/disable them in the editor, but not in the layout.

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Yeah it would be good to have a way to toggle them, like a checkbox in the 'view' menu.

  • Yeah it would be good to have a way to toggle them, like a checkbox in the 'view' menu.

    Yeah, that way we could have them start disabled, just like booleans. I'd also like to be able to toggle them:

    Upon pressing space, toggle effect active. I know you can work around this easily enough, but it's nice to have the option.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)