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

Support lights "nospecular" parm (if explicitly enabled) #643

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

DanielGibson
Copy link
Member

based on #254

The "nospecular" parm will only be used if either
r_supportNoSpecular is set to 1
or r_supportNoSpecular is set to -1 (the default) and the maps spawnargs contain "allow_nospecular" "1"

Drawback: I think the current code doesn't work with (time)demos, as I think that I can't access the maps spawnargs when playing one

@DanielGibson
Copy link
Member Author

This needs testing, which implies a custom testmap (that someone - not me - has to create).
I won't merge this if it's not tested!

based on dhewm#254

The "nospecular" parm will only be used if either
r_supportNoSpecular is set to 1
or r_supportNoSpecular is set to -1 (the default) and the maps spawnargs
contain "allow_nospecular" "1"

This probably doesn't work with (time)demos yet, because I think when
they're being played I can't access the worldspawn entity
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant