Strange swapped texture bug(?)

Bill Shit

L1: Registered
Mar 27, 2021
12
1
I'm trying to edit a building using brick textures, but for some reason, the compiled map uses a different brick texture (brick/brickwall001 specifically) to what is shown in-editor. I've used this texture before and it was fine and matched the texture below it. The bugged texture looks very similar to a different brick texture (brick/brickwall005) but not quite.

This is happening regardless of lightmap scale. Anybody know what could be causing then and how it can be fixed?
 
Last edited:
Aug 26, 2016
137
101
Make sure you don't have a duplicate brush inside the other one.

Usually this results in z-fighting, but in my experience, not always.
 
Aug 26, 2016
137
101
What are the names of the two textures you are using? Are either of them custom?

Also, try the command mat_crosshair while looking at the texture in game and see if its name matches what it should.
 

Pocket

Half a Lambert is better than one.
aa
Nov 14, 2009
4,697
2,581
Did you happen to download any asset packs that might have contained modified versions of either of these materials? If you're not sure, check whether there's a file with either name inside /tf/materials/ or /tf/custom/[every subfolder]/materials/. It looks like a case of one of the materials using parameters Hammer doesn't recognize and is ignoring.