S
Steve Gal
Guest
Hello.
So I recently wanted to try the d3d functions for a map screen only as the game I am working on has a lot of different layers of mapping. I managed to get very far really quick since what I need is really basic.
I am using "d3d_draw_floor" just to draw simple flat textures on different height levels, so far so good.
I even got the draw_set_alpha_test function so they work as intended.
The issue starts when I wanted to introduce alpha changes depending on what layer of the map you are looking for, only showing the layer you are focusing on as full alpha, and the one below and above at lets say 50% alpha.
Is this even possible? When I set draw alpha, or image alpha for those objects they just disappear or have no effect.
Is there any way to alter a textures alpha outside of 0, and 1? any way to make them only semi transparent?
Thank you in advance.
So I recently wanted to try the d3d functions for a map screen only as the game I am working on has a lot of different layers of mapping. I managed to get very far really quick since what I need is really basic.
I am using "d3d_draw_floor" just to draw simple flat textures on different height levels, so far so good.
I even got the draw_set_alpha_test function so they work as intended.
The issue starts when I wanted to introduce alpha changes depending on what layer of the map you are looking for, only showing the layer you are focusing on as full alpha, and the one below and above at lets say 50% alpha.
Is this even possible? When I set draw alpha, or image alpha for those objects they just disappear or have no effect.
Is there any way to alter a textures alpha outside of 0, and 1? any way to make them only semi transparent?
Thank you in advance.