Trying to get the glass on my riot sheild to function...
[img]http://www.adamncasey.co.uk/upload/image/1766/d/o[/img]
I got that center one using this vmt
[code]
VertexLitGeneric
{
"$alphatest" 1
"$basetexture" "models/Duno/riotsheild"
"$envmap" "env_cubemap"
$envmapmask "models/Duno/riotsheild_spec"
"$model" 1
"$nocull" 1
}
[/code]
[img]http://www.adamncasey.co.uk/upload/image/1767/d/o[/img]
I got this from...
[code]
VertexLitGeneric
{
"$alpha" 1
"$translucent" 1
"$basetexture" "models/Duno/riotsheild"
"$envmap" "env_cubemap"
$envmapmask "models/Duno/riotsheild_spec"
"$model" 1
"$nocull" 1
}
[/code]
any fixes for the glass?
What exactly are you after and why are you not satisfied with those?
In the first one, the glass is completely invisible, in the second one the police sign is translucent.
Have you tryed making the glass in the texture file translucent?
try putting the police part in front.
Not trying to burst your bubble or anything, but:
[url]http://www.garrysmod.org/downloads/?a=view&id=1041[/url]
Just pointing out if you're trying to make your own due to not having one.
[QUOTE=duno;19196308]In the first one, the glass is completely invisible, in the second one the police sign is translucent.[/QUOTE]
It looks to me that you might have flipped normals on the police-"block". Why is a separete mesh if you could have just skinned it on the shield by the way?
[QUOTE=azndude;19208292]Not trying to burst your bubble or anything, but:
[url]http://www.garrysmod.org/downloads/?a=view&id=1041[/url]
Just pointing out if you're trying to make your own due to not having one.[/QUOTE]
Mine looks cooler.
And the "police" being protruding outwards is more useful for my purpose.
I'll try triangle flip.
Source has some troubles rendering alphas, your best bet, is to make different texture sheets for the same model, it will fix it, I know it's not the most efficient way, but it's source problem. Make a seperate texture for the glass and another one for the police thing.
Sorry, you need to Log In to post a reply to this thread.