light: add "minlight_mottle" as an alias for "minlightMottle"
This commit is contained in:
parent
ab2569486d
commit
a8d84ee149
|
|
@ -376,6 +376,14 @@ func_detail/func_group as well, if qbsp from these tools is used.
|
|||
Set the minimum light level for any surface of the brush model.
|
||||
Default 0.
|
||||
|
||||
.. note:: Q2 uses a 0..1 scale for this key
|
||||
|
||||
.. bmodel-key:: "_minlight_mottle" "n"
|
||||
"_minlightMottle" "n"
|
||||
|
||||
Whether minlight should have a mottled pattern. Defaults
|
||||
to 1 in Q2 mode and 0 otherwise.
|
||||
|
||||
.. bmodel-key:: "_minlight_exclude" "texname"
|
||||
|
||||
Faces with the given texture are excluded from receiving minlight on
|
||||
|
|
|
|||
|
|
@ -135,7 +135,7 @@ modelinfo_t::modelinfo_t(const mbsp_t *b, const dmodelh2_t *m, float lmscale)
|
|||
offset{},
|
||||
minlight{this, "minlight", 0},
|
||||
maxlight{this, "maxlight", 0},
|
||||
minlightMottle{this, "minlightMottle", false},
|
||||
minlightMottle{this, {"minlight_mottle", "minlightMottle"}, false},
|
||||
shadow{this, "shadow", 0},
|
||||
shadowself{this, {"shadowself", "selfshadow"}, 0},
|
||||
shadowworldonly{this, "shadowworldonly", 0},
|
||||
|
|
|
|||
Loading…
Reference in New Issue