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

Better water detection on altitude lakes. #43

Merged
merged 1 commit into from
Aug 11, 2023
Merged

Commits on Aug 11, 2023

  1. Better water detection on altitude lakes.

    For now, water detection works good at sea level, but it is difficult for altitude water bodies:
    - If water surface is made with a full black (0x000000) color, surface becomes invisible and player can see through it up to sea level.
    - If water surface is made with alpha channel at 50% opacity, it is always possible to see through surface.
    By setting transparency detection at at least 99% opacity, surface is detected as water but it is not possible to anything trough it.
    Result can be checked on any altitude body of Corsica scenery update.
    jmbau committed Aug 11, 2023
    Configuration menu
    Copy the full SHA
    9db0582 View commit details
    Browse the repository at this point in the history