mirror of
https://github.com/celisej567/Fake-CSM-Mapbase.git
synced 2026-09-21 20:09:02 +03:00
Brighness Scale
I find out that the alpha of the color doesnt work correctly, so i add a Brightness Scale Keyvalue and csm_brightness_general ConVar for this. When you set Brightness Scale, csm_brightness_general uses this value. If you want to change brightness In-Game, you can use Console or for mappes they can use point_clientcommand to change csm_brightness_general.
This commit is contained in:
@@ -9,6 +9,7 @@
|
||||
1 : "Enabled" : 1
|
||||
]
|
||||
lightcolor(color255) : "Light Color" : "255 255 255 200" : "Light Color RGB-Intensity"
|
||||
brightnessscale(float) : "Brightness Scale" : "1" : "ConVar csm_brightness_general = this parameter. You change this parameter - game changes csm_brightness_general to this value. Want to change brightness using inputs - use point_servercommand and change csm_brightness_general itself."
|
||||
cameraspace(integer) : "Camera Space" : 0 : "Angles are interpreted as being relative to camera."
|
||||
|
||||
uselightenvangles(Choices) : "Use light_environment's angles" : 1 : "If true, the CSM shadow angles are automatically harvested from the light_environment's angles. If false, this entity's angles are used." =
|
||||
@@ -24,7 +25,7 @@
|
||||
]
|
||||
|
||||
|
||||
ambient(integer) :"Ambient" : 0 : "idk"
|
||||
ambient(integer) :"Ambient" : 0 : "[DOESNT WORK] Ambient of the light. I know how to make it work, but i will do it later."
|
||||
|
||||
input Enable(void) : "Turn on the texture"
|
||||
input Disable(void) : "Turn off the texture"
|
||||
|
||||
Reference in New Issue
Block a user