Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

hemebond
Copy link
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
Copy link
Contributor Author

Converted to a draft because a crash when player dies.

@hemebond hemebond marked this pull request as ready for review September 25, 2024 09:56
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).
2 participants