[GUIDE] Skewing textures in Hammer (by Kaffikopp)

Seba

DR. BIG FUCKER, PHD
aa
Jun 9, 2009
2,364
2,728
Found this linked on Facepunch and, after basking in its glory, decided to link it here. The answer to all your "how do I texture the wall next to a ramp/stairs" problems.

http://forums.svencoop.com/showthread.php/41242-Skewing-textures-in-Hammer

Only caveat is that that was written for GoldSrc, which has a different Face Edit window; in modern Hammer the Align to View option is under Mode (by default it's Lift+Select).
 

Pocket

Half a Lambert is better than one.
aa
Nov 14, 2009
4,696
2,580
I... whaaaa?! You can do this? All this time I figured... and the... but then why did they never... do they even know... the staircases in Double Cross could have been...

I need to lie down for a while.
 

worMatty

Repacking Evangelist
aa
Jul 22, 2014
1,258
999
Very interesting. I had trouble understanding the instructions in the guide, so first had to find out how the camera tool worked and how to use it. I tried the method in the linked post but in the modern TF2 Hammer we use, the process was slightly different and needed some extra steps. The placement of the camera position in my 2D side view was lower, occupying the same grid point as the bottom point of my sloping brush (though, my slope was 128 units, not 64 as it is in the tutorial). After using the Align To View function, the skewing worked but the texture became around 1.5 times its previous scale. I needed to 'Fit' it, then divide the X and Y dimensions in half in Calculator, and paste them back in. They were six decimal places.

There is no easy way to mirror a face, unless you are using face alignment on your sloped face, and the neighbouring faces are using world alignment, and you are facing the 'rear' of the world. Texture lock, and rotating the brush is the only way I know of. I suppose you could make a face-aligned cube in your map and select each appropriate face as a reference for orientation, if you planned to use this method multiple times in the map.

I wonder if this has any effect on the lightmap?
 

worMatty

Repacking Evangelist
aa
Jul 22, 2014
1,258
999
Thanks, Tumb that's great!