Page 1 of 1

Making a transparent texture?

Posted: Thu Aug 19, 2004 12:26 am
by Mj
I am currently trying to create a texture, with holes in, or a transparent one. Something visible, yet see through. But, the method is yet eluding me, after fiddling with PSP8 images and shaders i'm still having no luck :(

If anyone can help, I'd be most grateful :wink:

Mj

Posted: Thu Aug 19, 2004 2:10 am
by Balr14
Create an alpha channel for your texture, color the transparent parts black and the solid parts white (in the alpha channel), save it as a 32 bit tga, use this shader:

textures/yourfolder/yourtexture
{
qer_keyword metal
surfaceparm metal
surfaceparm trans
cull none
{
map textures/yourfolder/yourtexture.tga
depthWrite
alphaFunc GE128
nextbundle
map $lightmap
rgbgen lightingDiffuse
}
}

Posted: Thu Aug 19, 2004 10:22 am
by Mj
Ahar! Thanks Balr :D

Posted: Thu Aug 19, 2004 9:30 pm
by LeadHead
question... how do u make alpha channels in paint shop pro 8?

i have been wondering that for a while but nobody seems to know :?

Posted: Thu Aug 19, 2004 9:35 pm
by lizardkid
make it a bitmap (use Paint) and import to PSP 8 for format changing. accessories>paint hopefully

Posted: Fri Aug 20, 2004 2:36 am
by Balr14
I use photoshop. My version of PSP is too old and screws up TGAs pretty bad.

Posted: Sat Aug 21, 2004 12:43 pm
by fuhrer
i struggled for ages tryin to get that alpha channel crap in psp, never did get it :(

Posted: Sat Aug 21, 2004 1:10 pm
by jv_map
I think it's called a 'mask' :? in psp, not overly sure though...