Translucent textures with WorldVertexTransition

Got problems with your models? Struggling with textures? Get help with your custom assets.

Translucent textures with WorldVertexTransition

Postby defragen1 on Thu Sep 23, 2010 9:30 pm

Basically I'm trying to blend a texture with a completely transparent texture

I have mapped for ep1 for a long time and I was aware of the limitations of WorldVertexTransition
It didnt support textures with alpha...

yea well now I'm using the alien swarm SDK ( source2010 )
I'm assuming WorldVertexTransition supports translucent textures now
I even remember seeing in tf2 a gravel texture being blended into a 0 alpha texture

As a test
I'm trying to blend this texture of leafs into a completely transparent texture

first I tried

Image




then I tried
Image


what is wrong?
- defragen1
User avatar
defragen1
Member
Member
 
Joined: Tue Dec 16, 2008 6:22 am

Re: Translucent textures with WorldVertexTransition

Postby Kremator on Thu Sep 23, 2010 9:37 pm

Try commenting out blendtexture.
User avatar
Kremator
Sir Post-a-lot
Sir Post-a-lot
 
Joined: Mon Jan 03, 2005 8:50 am
Location: the alarums of war

Re: Translucent textures with WorldVertexTransition

Postby defragen1 on Thu Sep 23, 2010 10:42 pm

just makes it look worse

Image


and ingame the alpha is not working ( like in hammer )
Image
- defragen1
User avatar
defragen1
Member
Member
 
Joined: Tue Dec 16, 2008 6:22 am

Re: Translucent textures with WorldVertexTransition

Postby ankhsethamon on Fri Sep 24, 2010 1:18 am

Try

Code: Select all
"$alphatest" 1


instead of

Code: Select all
"$translucent" 1
Image
User avatar
ankhsethamon
Been Here A While
Been Here A While
 
Joined: Sat Aug 09, 2008 8:28 pm
Location: Mexico

Re: Translucent textures with WorldVertexTransition

Postby defragen1 on Fri Sep 24, 2010 1:30 am

ankhsethamon wrote:Try

Code: Select all
"$alphatest" 1


instead of

Code: Select all
"$translucent" 1



its still the same ( in game and hammer )
- defragen1
User avatar
defragen1
Member
Member
 
Joined: Tue Dec 16, 2008 6:22 am

Re: Translucent textures with WorldVertexTransition

Postby Groxkiller585 on Fri Sep 24, 2010 2:08 am

Try making the second blend texture 1 instead of 0 opacity. I found this can fix many transparency issues.

If all else fails, since I assume your using this to make leaves over something else just make it an overlay.
User avatar
Groxkiller585
Sir Post-a-lot
Sir Post-a-lot
 
Joined: Fri Jul 09, 2010 3:43 pm

Re: Translucent textures with WorldVertexTransition

Postby MrTwoVideoCards on Fri Sep 24, 2010 3:09 am

The shader does not support translucency.
User avatar
MrTwoVideoCards
Monothetic
 
Joined: Thu Aug 02, 2007 11:18 am
Location: IN YOUR SOUL

Re: Translucent textures with WorldVertexTransition

Postby Kremator on Fri Sep 24, 2010 3:43 am

Code: Select all
$alpha <normal>


Value can be 0-1 basing on how much you want it to be transparent, however, this is probably what you're not looking for as it affects the whole displacement not just your specific texture. Unfortunately this is the only translucency-related parameter that is guaranteed to work on worldvertextransition. Note also that any brush textured with $alpha material will immediately be ignored by VIS.
User avatar
Kremator
Sir Post-a-lot
Sir Post-a-lot
 
Joined: Mon Jan 03, 2005 8:50 am
Location: the alarums of war

Re: Translucent textures with WorldVertexTransition

Postby Duke Nukem on Fri Sep 24, 2010 11:58 am

create that sprite with SprayR and tadaa, its transculent^^ i use sprayR to comile spraylogos ingame quickly and transculent effects always worked...
Enjoy your Kartoffelsuppe!

ModDB Profile
User avatar
Duke Nukem
Pheropod
Pheropod
 
Joined: Thu Aug 28, 2008 7:06 pm

Re: Translucent textures with WorldVertexTransition

Postby defragen1 on Sat Sep 25, 2010 11:19 pm

MrTwoVideoCards wrote:The shader does not support translucency.

what a shame.

and you would think source2010 would finally surpass unreal2...
- defragen1
User avatar
defragen1
Member
Member
 
Joined: Tue Dec 16, 2008 6:22 am

Return to Custom Asset Help

Who is online

Users browsing this forum: No registered users