StrataSource / FGD

The FGD + Hammer resource files for games built on Strata Source.
20 stars 15 forks source link

Light falloff shouldn't be in BaseLight #180

Closed ozxybox closed 1 year ago

ozxybox commented 1 year ago

The light falloff parameters only apply to light and light_spot, not light_directional or light_environment. Should we have a new base light for these two?

Falloff parameters:

_zero_percent_distance
_fifty_percent_distance
_hardfalloff
_constant_attn
_linear_attn
_quadratic_attn
_distance
TeamSpen210 commented 1 year ago

Actually, BaseLight is only used for light/light_spot, not the others.

tmob03 commented 1 year ago

Actually, BaseLight is only used for light/light_spot, not the others.

Yes, but it should 🙃, these two ents have all the inputs and kvs of BaseLight, minus the above.