Added new branch

This commit is contained in:
2022-12-10 14:22:45 +03:00
parent f83df98dc7
commit 25ff6eaa8f
6 changed files with 36 additions and 77 deletions
+15
View File
@@ -25,4 +25,19 @@
input Texture(string) : "Change texture"
input LightColor(color255) : "Set the light color."
input SetAngles(string) : "Set the sun direction."
]
@PointClass base(Angles) iconsprite("editor/light_env.vmt") = light_environment :
"Sets the color and angle of the light from the sun and sky."
[
targetname(string) : "Name"
pitch(integer) : "Pitch" : 0 : "The downward pitch of the light from the sun. 0 is horizontal, -90 is straight down."
_light(color255) : "Brightness" : "255 255 255 200"
_ambient(color255) : "Ambient" : "255 255 255 20"
_lightHDR(color255) : "BrightnessHDR" : "-1 -1 -1 1"
_lightscaleHDR(float) : "BrightnessScaleHDR" : "1" : "Amount to scale the light by when compiling for HDR."
_ambientHDR(color255) : "AmbientHDR" : "-1 -1 -1 1"
_AmbientScaleHDR(float) : "AmbientScaleHDR" : "1" : "Amount to scale the ambient light by when compiling for hdr."
pitch(integer) : "Pitch" : 0 : "The downward pitch of the light from the sun. 0 is horizontal, -90 is straight down."
SunSpreadAngle(float) : "SunSpreadAngle" : 0 : "The angular extent of the sun for casting soft shadows. Higher numbers are more diffuse. 5 is a good starting value."
]