Multiple Textures

BlitzMax Modules Forums/MiniB3D/Multiple Textures

I am wondering how to apply multiple textures to an object in MiniB3D. Specifically, I am using a cubemap to create a 'reflection' of the game world on an object, and then I want to apply a brushed aluminum texture. So that the object looks like reflective metal.

In B3D I would call multiple EntityTexture statements and it would look fine. In MiniB3D, it seems to only be applying the last texture.

It should work the same as Blitz3D...have you got an example?

Actually, I was using the cube-mapping example to create the environment cube map, and that is where the problem seems to come from. When I tried it with static textures loaded from disk instead of updated in real time, it worked just like Blitz3D.

I haven't had time to check where exactly the problem was coming from, if it is a bug or weird behavior in BackBufferToTex, or something I did wrong, but I will post an update when I figure it out.

I created with A.L.E. a terrain with 6 Layer. In Blitz3D it works well, but in miniB3D i only get the first layer.