Skip to content

Fix the use of lightgrid on BSP surfaces without lightmap - #991

Merged
illwieckz merged 2 commits into
masterfrom
illwieckz/lighting
Dec 12, 2023
Merged

Fix the use of lightgrid on BSP surfaces without lightmap#991
illwieckz merged 2 commits into
masterfrom
illwieckz/lighting

Conversation

@illwieckz

Copy link
Copy Markdown
Member

Fix the use of lightgrid on bsp surfaces without lightmap.

It looks like a line was mistakenly deleted in 56d0d83.

Seems to fix #990:

@slipher

slipher commented Dec 11, 2023

Copy link
Copy Markdown
Member

LGTM

@illwieckz

illwieckz commented Dec 11, 2023

Copy link
Copy Markdown
Member Author

The perfect map to test this is rusty, the default intermission displays a scene with such map model not using lightmaps:

With bug:

unvanquished_2023-12-11_075425_000

Without bug:

unvanquished_2023-12-11_195315_000

@illwieckz
illwieckz merged commit d4f588f into master Dec 12, 2023
@illwieckz
illwieckz deleted the illwieckz/lighting branch December 12, 2023 04:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Some map models are not properly lit

2 participants