Sign in to follow this  

how to create a valid 32bit targa

Recommended Posts

I could load either 24bit or 32bit targa images in my OpenGL app.
But I got problems in creating 32bit targas..

This is my way of doing things. It failed to work..
Photoshop CS5
1.After creating a new file, I throw the default background layer into the trash and add a new transparent layer.
(Here, I am creating a very simple file)
2. I make a selection and fill in some solid color ,leaving the remaining area transparent.
3.I save the file as 32bit targa...

when loading the file in my OpenGL app, the region which should have been transparent is now pure white...

What is the correct way to do it? I may need a detailed tutorial...thank you in advance.

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this