How do you make Alpha textures?


(Ifurita) #1

I’m trying to make some poster textures with an alpha channel around the boarders so that can just place it on top of a nodraw brush and be done with it.

I’ve made tons to custom command map icons with alpha channels that work fine, but my textures show up with the black border.

I tried using the same shader as in the alpha folder

textures/vengeance/poster01
{
	cull disable
	nomipmaps
	nopicmip
	surfaceparm nomarks
	surfaceparm alphashadow
	surfaceparm pointlight
	surfaceparm trans
	surfaceparm woodsteps
	implicitMap -
}

but still, no joy. Anyone have a couple of pointers?


(G0-Gerbil) #2

implicitblend -
should do the trick.
implicitmap sets it up as a bogstandard no alphachannel shader.


(chavo_one) #3

Or you may want to use implicitmask if you need a sharp border.


(Ifurita) #4

That worked. You’re a genius!!!


(ratty redemption) #5

also if your alpha channeled decals are against a wall, then you don`t need the shader lines…

cull disable, which makes the tex two sided so doubling the draw surfaces.

surfaceparm alphashadow, no point if it`s against a wall, unless your casting a light from behind it into the room.

also nomipmaps and nopicmip, will look less blurred at distances, but if you have lots of decals like this, it will impact on fr.