Cubemap Problem
by Mike Kuklinski · in Torque Game Engine Advanced · 01/13/2006 (4:12 pm) · 7 replies

The cubemap is valid...
About the author
http://dev.stackheap.com/
#3
01/15/2006 (12:08 am)
I'd suggest running that bad boy under PIX so you can look at the cubemap and see if it's getting loaded properly.
#4
01/15/2006 (12:13 am)
I must ask -- what is PIX?
#6
I rewrote it to use a single cube map DDS like from the ATi tool, and I still get the same issue.
01/15/2006 (9:30 am)
There is a D3D9 Cubemap Texture in PIX, but it wouldn't let me view it. However, if I remove the release calls in the code, each of the subtextures (as a surface) come up fine.I rewrote it to use a single cube map DDS like from the ATi tool, and I still get the same issue.
#7
I rewrote part of the shadergen, so that instead of using cubetrans and whatnot, I simply give it the eye direction, it multiplies the vert normal by the modelview matrix, and then reflectsthe eye direction against that multiplied vector. That gives you the reflection vector.
01/15/2006 (1:29 pm)
Well, I think I fixed it.I rewrote part of the shadergen, so that instead of using cubetrans and whatnot, I simply give it the eye direction, it multiplies the vert normal by the modelview matrix, and then reflectsthe eye direction against that multiplied vector. That gives you the reflection vector.
Associate Kyle Carter