What you're asking for isn't called layers, it's called stencils.
BlitzMax, as far as I know, doesn't directly support stencils though the built in command set, but you could enable them with the appropriate DirectX and OpenGL calls.
Search the forum for "stencils" and you may find some code to enable them.
But the shadeblend method suggested above would probably be your best choice. It would be a lot easier to implement for you.
BlitzMax, as far as I know, doesn't directly support stencils though the built in command set, but you could enable them with the appropriate DirectX and OpenGL calls.
Search the forum for "stencils" and you may find some code to enable them.
But the shadeblend method suggested above would probably be your best choice. It would be a lot easier to implement for you.