Closed twestpha closed 9 years ago
Relevant or helpful links:
http://stackoverflow.com/questions/5879403/opengl-texture-coordinates-in-pixel-space
I think that
void UIDrawable::updateDimensions(){ // Use me for things that scale width = (float(width_pixels)/float(window_width)); height = (float(height_pixels)/float(window_height)); }
should be modified to use the inverse mesh projection above from attachTexture
Two pictures taken from the same build, different runs: