Transparent brushes
Moderator: Moderators
Transparent brushes
Hey i started making a new map with a mountain theme and i added a new texture of a mountain peak. What i want to see is only the mountain part but when i use my texture i see the mountain and then a white background. I tired changing the background to black but it apears black in the game. How do i make a transparent brush?
Code: Select all
I bought bateries, but it said "batteries not included" so i had to buy them again.
You have to save your mountain image in the Targaformat (.tga) and you need to cut or set all pixels, which should be transparent, to transparent.
Which Image Editor are you using?
Edit: Try some of those programs if you dont have yet:
http://de.wikipedia.org/wiki/Targa_Imag ... GA-Dateien
Which Image Editor are you using?
Edit: Try some of those programs if you dont have yet:
http://de.wikipedia.org/wiki/Targa_Imag ... GA-Dateien
I use adobe photoshop 7.0, when i saved my image i saved it as a Tga and i put the background as transparent. Its still shows up as a white background.
Code: Select all
I bought bateries, but it said "batteries not included" so i had to buy them again.
if i remember rightly..... you have to make an alpha channel and paint anything you want 'see through' in black.... tho i have never tried myself.
[ Formerly Known As Snakeâ„¢ ]I did the alpha channel thing but it doesnt work. Im thinking maybe I should changing the shader file?
Code: Select all
I bought bateries, but it said "batteries not included" so i had to buy them again.
Download a map or file for moh that has a half transparent image in it and look at its shader and tga file.
(or look at files already in mohaa.... player icons above their head maybe?)
(or look at files already in mohaa.... player icons above their head maybe?)
[ Formerly Known As Snakeâ„¢ ]I tried switching the scripts but it still doesnt work!!!
This is really starting to tcik me off!
Code: Select all
I bought bateries, but it said "batteries not included" so i had to buy them again.
the alpha channel must be WHITE where you want it to show an image, and BLACK where you want it not to show... works like a mask. Shader doesn not need to be fiddled with i don't think.
[ Formerly Known As Snakeâ„¢ ]It works! finally! ty guys im all calmed down now/. 
Code: Select all
I bought bateries, but it said "batteries not included" so i had to buy them again.