Update README.md

This commit is contained in:
celisej567
2022-08-29 17:32:44 +03:00
committed by GitHub
parent d9777508b4
commit e4f330b076

View File

@@ -27,7 +27,8 @@ Then copy materials folder to the your mod folder.
Your `mat_depthbias_shadowmap` better should be `0.00001`, `mat_slopescaledepthbias_shadowmap` should be `4` and `r_flashlightdepthres` should be more then `2048`. Its only for better visual and you not literally should do that.
# How to add this light in your map
First, add env_cascade_light to the map and set it to the angle you want.
Copy csm.fgd from fgd folder to bin folder in SDK Base 2013.
Add env_cascade_light to the map and set it to the angle you want.
If you want to use the angle from light_environment then you need to set `Use light_environment's angles` to Yes and do some manipulation with your light_environment:
- Add any targetname to your light_environment
- Copy Pitch to second number of the Angle.