sprite trouble
Blitz3D Forums/Blitz3D Beginners Area/sprite trouble
| ||
How can I get a sprite to look solid (entityblend spt,0) while not drawing the black background. I know I saw how to do it in the command refference, but I couldn't find it. |
| ||
is it %100 black (rgb 0,0,0) |
| ||
Yes it is. I went into paint and tediously spent an hour making sure that it had an (rgb 0,0,0) background. I also set the cameraclscolor 0,0,255. Could that be my problem? |
| ||
I think what you want is an alpha map, that way you can antialias it. |
| ||
How would I make an alpha map? |
| ||
Texture the sprite with a texture that has the (rgb 0,0,0) background like you had, then add the number 4 after the texture name to make the black texture invisible., like so ---------------------------------- texture=LoadTexture ("glass-win1.png",4) ----------------- let me know if it works. |
| ||
Great!!! Thanks!!! This will make my game look much better! It looked pretty bad when everything had a black box around it. |