Skip to content

Commit 820a50d

Browse files
chovelyoukaiGocnak
authored andcommitted
Switch clustered lights back to using CLQ
1 parent c1ff729 commit 820a50d

File tree

4 files changed

+8
-16
lines changed

4 files changed

+8
-16
lines changed

fgd/bases/BaseClusteredFalloff.fgd

Lines changed: 0 additions & 11 deletions
This file was deleted.

fgd/bases/BaseLightFalloff.fgd

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,16 @@
22
sphere(_fifty_percent_distance)
33
sphere(_zero_percent_distance)
44
sphere(_distance)
5+
sphere(_hard_radius_override)
56
= BaseLightFalloff
67
[
78
_constant_attn(string) : "Constant" : "0"
89
_linear_attn(string) : "Linear" : "0"
9-
_quadratic_attn(string) : "Quadratic" : "0"
10-
_fifty_percent_distance(string) : "50 percent falloff distance" : "128": "Distance at which brightness should fall off to 50%. If set, overrides linear constant and quadratic parameters."
11-
_zero_percent_distance(string) : "0 percent falloff distance" : "256": "Distance at which brightness should fall off to negligible (1/256)%. Must set _fifty_percent_distance to use."
10+
_quadratic_attn(string) : "Quadratic" : "1"
11+
_fifty_percent_distance(string) : "50 percent falloff distance" : "0": "Distance at which brightness should fall off to 50%. If set, overrides linear constant and quadratic parameters."
12+
_zero_percent_distance(string) : "0 percent falloff distance" : "0": "Distance at which brightness should fall off to negligible (1/256)%. Must set _fifty_percent_distance to use."
1213
_hardfalloff(integer) : "Hard Falloff" : 0 : "If set, causes lights to fall to exactly zero beyond the zero percent distance. May cause unrealistic lighting if not used carefully."
1314
_distance(integer) : "Maximum Distance" : 0 : "The distance that light is allowed to cast."
15+
_hard_radius_threshold(float) : "Hard radius minimum brightness threshold" : 32
16+
_hard_radius_override(float) : "Hard radius override" : 0
1417
]

fgd/point/light/light_rt.fgd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
@PointClass base(BasePointLight, BaseClusteredFalloff, BaseClusteredDynLight)
1+
@PointClass base(BasePointLight, BaseLightFalloff, BaseClusteredDynLight)
22
clusteredlight(point)
33
= light_rt: "An invisible omnidirectional realtime light-source."
44
[

fgd/point/light/light_rt_spot.fgd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
@PointClass base(BaseSpotLight, BaseClusteredFalloff, BaseClusteredDynLight)
1+
@PointClass base(BaseSpotLight, BaseLightFalloff, BaseClusteredDynLight)
22
clusteredlight(spot)
33
= light_rt_spot: "An invisible and directional realtime spotlight."
44
[

0 commit comments

Comments
 (0)