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

Initial particle lights config system #49

Merged
merged 1 commit into from
Aug 23, 2023
Merged

Conversation

doodlum
Copy link
Owner

@doodlum doodlum commented Aug 22, 2023

This uses a config system with defaults, to control different basic settings about particle lights.

Typically, all that is needed is to control the culling parameter which should always be enabled on any particle light textures that are empty, but this method also avoids false positives such as on the player torch or candlelight spell, as well as scenarios, mainly with Rudy ENB Lights where the radius is much larger than the actual light to avoid frustum culling issues.

The flicker parameters are based on the game's own system, but implement completely differently.

The config loader class was separated due to how large LightLimitFix.cpp file is becoming, as well as it existing outside of rendering.

@doodlum doodlum merged commit 3a652f3 into dev Aug 23, 2023
@doodlum doodlum deleted the particle-lights-configs branch August 23, 2023 00:52
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.

None yet

2 participants