Author Topic: Custom textures: Alpha Channels help.  (Read 1632 times)

bLiNdThInG

  • VM-68
  • Posts: 146
Custom textures: Alpha Channels help.
« on: September 05, 2010, 08:13:21 AM »
hi all, need some help with textures, specifically transparency.

I searched the forum and found this http://dplogin.com/forums/index.php?topic=39.0 which was very useful, so i did exactly what was said but the part of the texture still isnt transparent. as shown below.

(ps. yes the texture is a jet but it'll make sense when i release the map.)

I'm using photoshop CS4, saving in .tga and 32bit.

In bsp ive set 'requiredfields' 'script/skyhigh.txt'

and the contents of the script are

textures/blindthing/jetfighter
{
     {
           map textures/blindthing/jetfighter.tga
           alphamask
     }
}

some screenies of the image open in photoshop aswell -->>

i still cant see where im going wrong, its probably something really simple, but i hope someone can help me thanks.  :)

ViciouZ

  • Map Committee
  • Autococker
  • Posts: 2227
Re: Custom textures: Alpha Channels help.
« Reply #1 on: September 05, 2010, 01:36:50 PM »
Doesn't Photoshop show a chequered background to indicate transparency? :S

Zorchenhimer

  • Autococker
  • Posts: 2614
Re: Custom textures: Alpha Channels help.
« Reply #2 on: September 05, 2010, 02:16:34 PM »
In BSP you need to set both the Trans33 and Trans66 flags for the texture.

bLiNdThInG

  • VM-68
  • Posts: 146
Re: Custom textures: Alpha Channels help.
« Reply #3 on: September 06, 2010, 12:22:10 AM »
thanks guys for the quick response.

Quote
Doesn't Photoshop show a chequered background to indicate transparency? :S
yeh viciouz i thought this would work aswell but in dp it just appears white...

Quote
In BSP you need to set both the Trans33 and Trans66 flags for the texture.
thanks zorch that did it
 :)

Zorchenhimer

  • Autococker
  • Posts: 2614
Re: Custom textures: Alpha Channels help.
« Reply #4 on: September 06, 2010, 10:10:13 PM »
Glad I could help.

jitspoe

  • Administrator
  • Autococker
  • Posts: 18802
Re: Custom textures: Alpha Channels help.
« Reply #5 on: September 21, 2010, 12:33:15 PM »
On a side note, you should make all of your textures powers of 2 (64x64, 256x256, etc) otherwise they will be scaled in the engine and not look as good.