Added Third CSM Level

-Added csm_third_intensity ConVar
-Added enablethird Hammer option
-Changed csm_current_distance ConVar
-Added csm_third_fov ConVar
-Added csm_nearz and csm_farz ConVars
-Entity-helpers was renamed

-Now r_farz will be 210000 all the time, so fog's one will not work
This commit is contained in:
2022-12-15 17:10:27 +03:00
parent 4f9f455454
commit 87020dcb97
4 changed files with 561 additions and 96 deletions

View File

@@ -17,6 +17,13 @@
0 : "No"
]
enablethird(Choices) : "Enable Third level?" : 1 : "Enable Third CSM level? CSM will effect at more distance but its more expensive." =
[
1 : "Yes"
0 : "No"
]
ambient(integer) :"Ambient" : 0 : "idk"
input Enable(void) : "Turn on the texture"
@@ -25,6 +32,8 @@
input Texture(string) : "Change texture"
input LightColor(color255) : "Set the light color."
input SetAngles(string) : "Set the sun direction."
input AddAngles(string) : "Add angle for the sun"
input ResetAngles(void) : "Reset angle of the sun"
]
@PointClass base(Angles) iconsprite("editor/light_env.vmt") = light_environment :