Hi all!
So, ideally I need the GUI in my game to be pixel-perfect so that I could deform elements, use particle systems or incorporate a bit of 3D geometry into my GUI without the pixel effect vanishing. Would also be nice to stop worrying about snapping everything that moves in the UI to prevent things from going between pixels.
And I also need to process GUI with a simple shader — effectively, applying a color in Soft Light blending mode to the whole GUI layer.
Basically, everything I've tried falls into two families of experiments:
• Adding Pixel Perfect Camera component to the GUI camera
• Getting the GUI camera to render to texture and then outputting this texture to a RawImage or to a separate Quad
After doing any of these, everything breaks: the GUI is misaligned, the cursor position is either completely off or just slightly off, semi-transparent areas of the GUI are always displayed incorrectly, the Pixel Perfect Camera's output, in addition to being broken in at least one way, is also not pixel perfect...
Has anyone tried achieving/achieved this in PQ, and what is the best way to attack the problem? Achieving just the "shader on top of GUI" part would also go a long way (shader itself is not the problem, only the setup)