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

Add optional mapping file for tuning light conditions for each map #94

Open
vE5li opened this issue Sep 25, 2024 · 0 comments
Open

Add optional mapping file for tuning light conditions for each map #94

vE5li opened this issue Sep 25, 2024 · 0 comments
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed

Comments

@vE5li
Copy link
Owner

vE5li commented Sep 25, 2024

Korangar uses a very dynamic ligthing system but the maps are obviously not designed with that in mind. It would be nice if it was possible to disable the directional lighting (for example in caves / closed rooms) and apply some adjustments.

My current idea is to have a sigle file in the client directory, something like lighting.ron, that contains this information:

{
    "geffen": (
        directional_light: true,
        directional_light_intensity: 0.8,
    ),
    "pay_dun00": (
        directional_light: false,
        ambient_light_intensity: 0.8,
    )
}

Any missing fields should use a default value. The default values should be

  • directional_light : true
  • directional_light_intensity : 1.0
  • ambient_light_intensity : 1.0
@vE5li vE5li added enhancement New feature or request help wanted Extra attention is needed good first issue Good for newcomers labels Sep 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant