I looked at lesson 25 tga loading and implemented it. I checked and I think I am loading all four channels. Unfortunately when I test it out I can see the texture, but the black parts are still there. Any ideas ?
I tried re-loading the tga file into photoshop to make sure the alpha channel is there and it is.
Nitzan
-------------------------
www.geocities.com/nitzanw
www.scorchedearth3d.net
-------------------------
masking problem
and have you set the parts of the image you want to be transparent to have an alpha of 0? (You should be able to do this in Photoshop)
The method I described should work... hmmm...
[edit] Maybe try setting your texenv mode to GL_DECAL instead of GL_MODULATE when you load your texture (which is what I suspect you have it on if you were blending before).
Sorry if I am a little off the mark or vague... all doped up on medication at the mo
[edited by - Bad Monkey on April 11, 2002 10:12:50 PM]
The method I described should work... hmmm...
[edit] Maybe try setting your texenv mode to GL_DECAL instead of GL_MODULATE when you load your texture (which is what I suspect you have it on if you were blending before).
Sorry if I am a little off the mark or vague... all doped up on medication at the mo

[edited by - Bad Monkey on April 11, 2002 10:12:50 PM]
Thanks for all the help everyone! I finally figured out I was forgetting to enable Alpha Testing! DUH! Man I feel so stupid. But its working and my trees look sweet!
Nitzan
-------------------------
www.geocities.com/nitzanw
www.scorchedearth3d.net
-------------------------
Nitzan
-------------------------
www.geocities.com/nitzanw
www.scorchedearth3d.net
-------------------------
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement