Jump to content

  • Log In with Google      Sign In   
  • Create Account

Awesome job so far everyone! Please give us your feedback on how our article efforts are going. We still need more finished articles for our May contest theme: Remake the Classics

#ActualNikster

Posted 29 January 2012 - 06:11 AM

The uvs you supply you need to pinch them 1/2 texel, not just move them all by the same value.

htw = half texel width, hth = half texel height.

As in, u(0) += htw, v(0) += hth - u(1) -= htw, v(1) -= hth

Other corner can be worked out from these.

#1Nikster

Posted 29 January 2012 - 06:08 AM

The uv's you supply you need to pinch them 1/2 texel, not just move them all by the same value.

htw = half texel width, hth = half texel height.

As in, u(0) += htw, v(0) += hth - u(1) -= htw, v(1) -= hth

Other corner can be worked out from these.

PARTNERS