transparent color how?
Aha! I completely forgot I was using testing and not blending. I had blending going a long time ago, but it kept giving me crappy results with my Milkshape objects so i disabled it in my prog. Some recoding and tweaking should fix it. Thanks for the response!
THE swoish
Quote: Original post by psycho-babble
Aha! I completely forgot I was using testing and not blending. I had blending going a long time ago, but it kept giving me crappy results with my Milkshape objects so i disabled it in my prog. Some recoding and tweaking should fix it. Thanks for the response!
If you've got performance problems with blending then you can use alpha testing as well to save yourself a bit of speed (at the expense of some quality).
By setting alpha testing to something close to fully transparent (like say, 0.1f) these almost invisible pixels are totally rejected (so no expensive framebuffer read, blend, write) but you get near identical visual result.
[size="1"][[size="1"]TriangularPixels.com[size="1"]] [[size="1"]Rescue Squad[size="1"]] [[size="1"]Snowman Village[size="1"]] [[size="1"]Growth Spurt[size="1"]]
Quote: Original post by OrangyTang
If you've got performance problems with blending then you can use alpha testing as well to save yourself a bit of speed (at the expense of some quality).
By setting alpha testing to something close to fully transparent (like say, 0.1f) these almost invisible pixels are totally rejected (so no expensive framebuffer read, blend, write) but you get near identical visual result.
Alpha blending gives a slightly better visual quality, but to do it properly you need to order all your scene, so alpha testing is the way :)
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement