I need to create a pixelprecise Dynamic Texture starting in the topleft corner of a renderer.
Strangely i have to manipulate the theoretical correct value to translate the quad to the left corner of the renderer a bit to achive the correct result.
… see attached patch
Why is this ? Is it a bug or did I do something wrong ?
only thing is: pixel is not texel. you somehow need to shift everything about half a pixel in both x and y to get it right.
then you also need no filter node anymore. you are now in pixel space…
I did it for a pixelshader like this, may be its of interest.
Would be interesting if it differs at different graphic card as I have read. Actually my ATI is -0,5x and 0,5y.