Where are Effects applied in the C2 runtime?

0 favourites
  • 1 posts
From the Asset Store
Find pleasure in juggling balls with this basic HTML5 template
  • Hey all,

    Does anyone know where in the C2 runtime shader Effects are applied?

    In particular I'm trying to find the code which sets up each effect's coordinate space, for an object with a list of applied effects.

    That is, inside the GLSL code, the X and Y sample coords are different from layout or canvas coords.

    I'm trying to find the code that does the canvas-to-GLSL coord space conversion.

    Granted, it might be that the effects are just called on some kind of quad, and the coords are taken from the quad corners, I'm not sure how exactly GLSL coords work in C2.

    Basically where ever the GLSL coord space is explicitly or implicitly determined is what I'm trying to find.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)