#custom texture with a picture with transparent background

1 messages · Page 1 of 1 (latest)

naive plaza
#

this is the original picture

hallow dagger
#

add $alphatest 1 to vmt

#

fuck

#

this isn't source 1 ignore that

#

you have to have the alpha as a separate image

#

unless the original image is a psd

naive plaza
#

i actually have the psd, but i didn't know that if i use the psd file it will work, let me try

hallow dagger
#

yeah psd texture import is goated

#

would recommend

#

you also need the translucency option checked in the shader (alphatest for this)

#

but it should just work iirc

naive plaza
#

so this should work without checking that option too?

hallow dagger
#

no you 100% at least need the option enabled

#

I believe at least

naive plaza
#

wouldn't i need the trans pic too then?

hallow dagger
#

with PSD I think it either auto applies or you can just re-use it

#

actually wait one second

#

is this an overlay texture or what is it

naive plaza
#

i m using this texture to put the logo of a community

#

over the walls of my map

hallow dagger
#

but what is it

#

are you just putting it on a mesh or

naive plaza
#

yeah

hallow dagger
#

unrelated but I would recommend doing an overlay instead because it will likely be a lot easier

#

though I realized for alpha PSD stuff I was thinking of the decaltexture option

#

but I would check to see if the PSD alpha stuff works for overlays

#

if it doesn't just work when you check "alphatest" there, you will have to have a separate alpha texture map

naive plaza
#

i tried with the overlay, but when i check the alpha test, this happens

hallow dagger
#

your texture isnt power of 2

#

Thats gonna break no matter what shader you use

#

Even if it looks like it works, it will break when you distribute the map

naive plaza
#

1024x256

#

thats the res

prime wraith
#

You should re-check that

naive plaza
#

what the heck

#

oh wait

#

i got the pic before changing it

#

my bad

#

it worked now