Texture bug?

BlitzMax Forums/MiniB3D Module/Texture bug?

SLotman(Posted 2010) [#1]
I tried something simple, creating a cube and texturing it... but the same code, the results are different on miniB3D and Blitz3D:



miniB3D code:


Now, same code, for Blitz3D:


What could be the problem????


slenkar(Posted 2010) [#2]
just a crap guess

directx has the opposite co-ordinate systems so maybe the texture matrix is also opposite


Warner(Posted 2010) [#3]
Also guessing, since I have no BMax here: maybe it is the combination of BackBufferToTex and Begin/EndMax2D? Try using BackBufferToTex before EndMax2D.