I was looking at the Screenspace.glsl and the Uniforms.glsl, but nothing is jumping out at me as a potential uniform for the viewport dimension.
If I am rendering full screen on a 1920x1080 monitor, I need to get the values of
float xdim = 1.0/1920.0;
float ydim = 1.0/1080.0;
For now I am hard coding it, but it would be good to be a little more flexable.
I tried plugging in a few built in functions and uniforms, but not getting what I am expecting.
Thank you.