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.