Shadows on displacements and bird's eye view

soylent robot

L420: High Member
May 26, 2009
499
394
First question, probably heard this a bunch of times but i cant find anything about it. Im using displacements to hide the gaps that happen when a skybox intersects with a brush, but the displacements are having odd shadow problems:
tumblr_ns3rozAXsm1rl597qo2_1280.jpg

you can see how the shadows arent right on the roofs on the top, how do i sort this out so they have shadows correctly like the normal brushes?

second question, how are birds eye view pictures like this achieved?
team_fortress_2_map_overview_steel.jpg

Is there a console command that allows this kind of screenshot, or is it actually removing all the roofs and ceilings and stuff so the map looks like that?

cheers!
 

YM

LVL100 YM
aa
Dec 5, 2007
7,135
6,056
Displacements smooth differently to regular brushes, so the lighting is smoothing around those corners as if they were nice and rounded. The solution for that particular scenario is to make the edges not meet exactly (ie: have the roof overhang slightly)

as for the overhead:
cl_leveloverview <number>
Get into position in the centre of the map, use noclip and the swim up/down keys to change the height it clips at. the number is the zoom level. It also helps if you aim level before activating it and let go of the mouse. That way you can use wasd to move around. if you're looking up or down when you do, you'll end up moving up and down as well, that's why I recommended the swim up/down keys.