Added 'NoPerPixelLighting' flag to models to force it to not use per-pixel lighting. Main use case is for voxels that have been converted to models.
This commit is contained in:
parent
2420371c46
commit
1c3e0f1a75
3 changed files with 6 additions and 1 deletions
|
|
@ -524,6 +524,10 @@ static void ParseModelDefLump(int Lump)
|
|||
{
|
||||
smf.flags |= MDL_USEACTORROLL;
|
||||
}
|
||||
else if (sc.Compare("noperpixellighting"))
|
||||
{
|
||||
smf.flags |= MDL_NOPERPIXELLIGHTING;
|
||||
}
|
||||
else if (sc.Compare("rotating"))
|
||||
{
|
||||
smf.flags |= MDL_ROTATING;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue