Skip to content

Do more checks before flagging a model to be lit#206

Open
hemebond wants to merge 2 commits intoDarkPlacesEngine:masterfrom
hemebond:fix/fullbright-when-missing-lit
Open

Do more checks before flagging a model to be lit#206
hemebond wants to merge 2 commits intoDarkPlacesEngine:masterfrom
hemebond:fix/fullbright-when-missing-lit

Conversation

@hemebond
Copy link
Copy Markdown
Contributor

Do not set the RENDER_LIGHT flag on an entity if it is not flagged to be lit via its model->lit property.
Check we have lightmap data before enabling the lit property on a loadmodel.
Fixes #103

… be lit via its model->lit property.

Check we have lightmap data before enabling the lit property on a loadmodel.
@hemebond hemebond marked this pull request as ready for review September 25, 2024 09:56
@redactedontop
Copy link
Copy Markdown

Updates? This has been approved already...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Textures in a fullbright map (a Q1 map with no light data).

3 participants