Customized blackboard image showing through walls

[O]

L3: Member
Mar 21, 2009
121
27
Like the title says, my customized blackboard image is showing through walls. You can see them anywhere on the map.

what I did:

made a bunch of vmt and vtf [one for the background, one for the water]

placed them in the materials folder

applied the background to a regular brush and placed that brush just infront of the blackboard surface

applied the water water image to a func_brush [i plan on switching it on and off] and placed that slightly infront of my background brush.

For some reason they show through walls. Anyone have any idea whats going on?

I suspect it might be some alpha screw up when I created the textures.

blackboard.jpg
 

Penguin

Clinically Diagnosed with Small Mapper's Syndrome
aa
May 21, 2009
2,039
1,484
can you post the text inside the vmt? It's a material proxy, but I forget which one.
 

[O]

L3: Member
Mar 21, 2009
121
27
can you post the text inside the vmt? It's a material proxy, but I forget which one.

"UnlitGeneric"
{
"$basetexture" "blackboard\blackboard_base_cp_damned_a2"
"$translucent" 1
"$ignorez" 1
"$vertexcolor" 1
}


Is that what you're asking for?
 

Urban

aa
Jul 27, 2009
212
352
$ignorez is your problem, its designed for UI materials and so it will render over pretty much everything.
 

[O]

L3: Member
Mar 21, 2009
121
27
$ignorez is your problem, its designed for UI materials and so it will render over pretty much everything.

thanks asshat. so what do i have to do exactly? change the value to 0 ?
 

Urban

aa
Jul 27, 2009
212
352
Is there a reason for it being there in the first place? If not just remove it from the .vmt
 

[O]

L3: Member
Mar 21, 2009
121
27
Is there a reason for it being there in the first place? If not just remove it from the .vmt

I basically just copied all the text from the vmt for the objective screen tutorial.

It wont break if i remove that line?

Any other lines removable for that matter? I have no idea what they mean.
 

Urban

aa
Jul 27, 2009
212
352
Removing $ignorez wont break it no, as for the others go read up on what they do on the Valve Dev Wiki and decide whether you want them there or not.
 

Wander

L3: Member
Sep 16, 2010
148
55
[O];253233 said:
"UnlitGeneric"
{
"$basetexture" "blackboard\blackboard_base_cp_damned_a2"
"$translucent" 1
"$ignorez" 1
"$vertexcolor" 1
}


Is that what you're asking for?

UnlitGeneric means it won't be affected by lighting and such, you should probably use LightmappedGeneric instead
I'm not sure what vertexcolor does, but I don't think you need it, and translucent is needed for textures with transparency (not sure if you have that, but it won't hurt keeping)

So I'd suggest this:

"LightmappedGeneric"
{
"$basetexture" "blackboard\blackboard_base_cp_damned_a2"
"$translucent" 1
}
 
Last edited:

[O]

L3: Member
Mar 21, 2009
121
27
Is there a reason for it being there in the first place? If not just remove it from the .vmt

Removing $ignorez wont break it no, as for the others go read up on what they do on the Valve Dev Wiki and decide whether you want them there or not.

UnlitGeneric means it won't be affected by lighting and such, you should probably use LightmappedGeneric instead
I'm not sure what vertexcolor does, but I don't think you need it, and translucent is needed for textures with transparency (not sure if you have that, but it won't hurt keeping)

So I'd suggest this:

"LightmappedGeneric"
{
"$basetexture" "blackboard\blackboard_base_cp_damned_a2"
"$translucent" 1
}


the texture wouldnt show when i removed the "$ignorez" 1 line.

it would show again when i returned the line.

AND heres something else thats strange: when i remove the "$translucent" 1 line it fixed EXCEPT when i look through props...then its showing through props...wierd.
 
Last edited: