Jump to content

  • Log In with Google      Sign In   
  • Create Account


#ActualRetsu90

Posted 11 October 2012 - 01:08 PM

(layer+.5f) / textureDepth resolved the problem! It's a good idea to take the Z in the middle of the texture!
However I'm using a GeForce 620M.
There are no possibilities that textureDepth is 0 due to some checks (textureDepth is a private member in my class)

#1Retsu90

Posted 11 October 2012 - 01:08 PM

(layer+.5f) / textureDepth resolved the problem! It's a good idea to take the Z in the middle of the texture!
However I'm using a GeForce 620M.
There are no possibilities that textureDepth is 0 due to some checks (textureDepth is a private member in my class, so no possibilities to launch a division-by-zero)

PARTNERS