iDevGames Forums
Photoshop transparency/alpha channels - Printable Version

+- iDevGames Forums (http://www.idevgames.com/forums)
+-- Forum: Development Zone (/forum-3.html)
+--- Forum: Designer's Studio (/forum-6.html)
+--- Thread: Photoshop transparency/alpha channels (/thread-4871.html)

Pages: 1 2


Photoshop transparency/alpha channels - PowerMacX - Oct 28, 2005 06:29 PM

If your level is pretty dark, you could try using additive blending. Otherwise, the blurred alpha channel TPX described should do the trick.


Photoshop transparency/alpha channels - Max - Oct 29, 2005 12:31 AM

I think it would be better and faster to create your own muzzle flash. It doesn't have to be detailed or beautiful... we'll only see it for a fraction of a second.


Photoshop transparency/alpha channels - TomorrowPlusX - Oct 29, 2005 05:21 AM

He would still get a black box around it. The *easiest* way, without worrying about alpha channels, is to set the blend mode as such:
Code:
glEnable( GL_BLEND );
glBlendFunc( GL_ONE, GL_ONE );

I don't know how you'd do this in Dim3...