.:`=-~rANdOm~`-=:. Game Servers

Technology (Read Only) => Mapping => Topic started by: coolzeldad on September 18, 2010, 03:05:48 PM

Title: shadow problem fix (tutorial)
Post by: coolzeldad on September 18, 2010, 03:05:48 PM
ORIGINAL THREAD BY jimonions

some of you mappers may have noticed that your prop shadows may be upside down, its very simple to fix and ill show you how.

Ive mad a map just for this so here are pics, in this first one you can see the light_environment for the militia_hdr skybox(note these settings are correct)
heres the lnik to the valve skytexture list where you can find all skybox textures and recommended lighting for them.
http://developer.valvesoftware.com/wiki/Sky_List (http://developer.valvesoftware.com/wiki/Sky_List)

(http://lh4.ggpht.com/_BEnVMFVvJZk/S6zJdtwJGDI/AAAAAAAAAKY/ZxryluZvDek/s576/SHADOW_TUT1.jpg)

here is the bad shadow_control, the pitch is a negative making your shadows go up instead of down :(

(http://lh5.ggpht.com/_BEnVMFVvJZk/S6zJee5vR-I/AAAAAAAAAKc/nN6SwWReEss/s576/SHADOW_TUT2.jpg)

Ingame

(http://lh5.ggpht.com/_BEnVMFVvJZk/S6zJOxRpmLI/AAAAAAAAAKQ/ql3J8hnfpwU/s576/tut_shadows0009.jpg)

now here is the correctway, for the pitch (-60) just get rid of the negtive then hit apply. so now it should be 60. voila, your shadows look amazing.

(http://lh6.ggpht.com/_BEnVMFVvJZk/S6zJfC2FI3I/AAAAAAAAAKg/dk9oGb5LSEg/s576/SHADOW_TUT3.jpg)

Ingame

(http://lh4.ggpht.com/_BEnVMFVvJZk/S6zJPWhi7zI/AAAAAAAAAKU/-phFpQQm6qw/s576/tut_shadows0010.jpg)

This concludes of my tutorial for making you shadows look nice. I bet i know what your thinking ":O why fence and grateshadow look realistic?"

You can do that by placing blocklights precisely and tuning down the lightmap scale all the way down to one. ??? However thats another tutorial. kthxbye.
+1 cheer if you like this!