Garry's Mod

Garry's Mod

gm_construct_redesign
greg 15 Jun, 2021 @ 5:41am
how did you get the dynamic shadows with the sun?
Sorry to bother but I noticed the map has a sun with dynamic shadows.
I am new to the mapping scene and just wanted to know how you did it.
< >
Showing 1-2 of 2 comments
Mr. Clumsy  [developer] 21 Jun, 2021 @ 4:32am 
Hi!
I used the normal "light_environment" tool, but for "lightmap scale", I changed the number from 16 to 6 at places I wanted to make better shadows.

To see how it works, check this link below:
https://developer.valvesoftware.com/w/images/3/3b/Sunspreadangle_preview.gif

To know more about "light_environment" tool, you can also check this link below:
https://developer.valvesoftware.com/wiki/Light_environment
greg 3 Aug, 2021 @ 12:23am 
Originally posted by E-IKO:
Hi!
I used the normal "light_environment" tool, but for "lightmap scale", I changed the number from 16 to 6 at places I wanted to make better shadows.

To see how it works, check this link below:
https://developer.valvesoftware.com/w/images/3/3b/Sunspreadangle_preview.gif

To know more about "light_environment" tool, you can also check this link below:
https://developer.valvesoftware.com/wiki/Light_environment
thanks
< >
Showing 1-2 of 2 comments
Per page: 1530 50