custom transparent textures
Moderator: Moderators
-
smartaiguy
- Brigadier General
- Posts: 512
- Joined: Tue Jul 08, 2003 2:52 pm
custom transparent textures
how do you make custom see through textures, like windows or fences, the texture in MohRadiant is black in the transparent parts
-
smartaiguy
- Brigadier General
- Posts: 512
- Joined: Tue Jul 08, 2003 2:52 pm
-
smartaiguy
- Brigadier General
- Posts: 512
- Joined: Tue Jul 08, 2003 2:52 pm
alpha
You do need an alpha channel, if parts of it are not going to be see-through. Find a see-though shader for a window and copy it. Then change the image names to your new image and rename the shader.
-
smartaiguy
- Brigadier General
- Posts: 512
- Joined: Tue Jul 08, 2003 2:52 pm
photoshop
Well, if you have photoshop, switch it from Layers to channels. Then find a tga image of a see through window and you will see the alpha channel. it is white where the frame is and black where you can see through.
-
smartaiguy
- Brigadier General
- Posts: 512
- Joined: Tue Jul 08, 2003 2:52 pm
friend
You'll have to send it to a friend that can make alpha channels. Or, ask someone here to do it for you. If you try to do it without an alpha channel, the glass will probably just be black in the game.
I guess you could try pasting your frame on an exsisting see-through window TGA image (and renaming it), but the glass panes have to stay the same because of the alpha channel mask.
I guess you could try pasting your frame on an exsisting see-through window TGA image (and renaming it), but the glass panes have to stay the same because of the alpha channel mask.
