Questions about clipping tool and skybox

  • If you're asking a question make sure to set the thread type to be a question!

squ1rrel

L4: Comfortable Member
Apr 11, 2016
167
24
1) Is there a way to set newly clipped faces to use the nodraw texture automatically instead of something more expensive. I have to manually nodraw the clipped faces which is really annoying.

2) If the light from the skybox was casting shadows from west to east, would there be anyway to change the light so it would travel from east to west?
 

Crowbar

Spiritual preprocessor
aa
Dec 19, 2015
1,455
1,297
1) no
2) the angles settings in light_environment and env_sun (probably don't need to touch the latter)
 

squ1rrel

L4: Comfortable Member
Apr 11, 2016
167
24
As in Pitch Yaw Roll or the pitch?
 

Tumby

aa
May 12, 2013
1,084
1,190
Angles (Pitch Yaw Roll) only cares about the second value, which controls from which direction the sunlight is coming from. [This is answering the question of the thread.]
Pitch is just how high up the sun is in the sky. Reading the help shows that, and it also mentions special values like 0 (horizontal, known to break compiles) and -90 (straight down).

env_sun (probably don't need to touch the latter)
Env_sun does not generate any light and not every map uses it. It simply adds a sprite to the sky so people can see a sun if the current skybox doesn't have one already (or you just want to enhance it). If you want to use that, remember to copy the Angles and the Pitch (combine them into Pitch Yaw Roll to make one set of Angles) from the light_environment and NEGATE THE PITCH. -90 would be at the bottom of the sky, which nobody should ever see. Small changes to these values shouldn't be too noticeable, so you can have it match with clouds and stuff better.