Alpha Channel for Sketchup models

Blitz3D Forums/Blitz3D Beginners Area/Alpha Channel for Sketchup models

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

simcenter,

I don't get how you can apply alpha channels to a Bmp. Bmp's don't hold alpha information so it'll be lost as soon as it's loaded with the model. Entityfx 32 will have no bearing on the texture as it relates to vertex alpha only.

The simplest way is to save the texture as a .png which does support alpha. I've never used SketchUp so no idea if this is even possible.

If that still doesn't work then one hack would be to getbrushtexture as above and loop through all the pixels in the texture setting the alpha as you go ... e.g. if color doesn't equal 0 then alpha = 1.0 else alpha = 0.0.

Stevie