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

OpenGL2: Don't project sun shadows onto nothing #680

Merged
merged 1 commit into from
Jul 27, 2024

Commits on Jul 27, 2024

  1. OpenGL2: Don't project sun shadows onto nothing

    Don't project sun shadows (r_forceSun 1) on to view depth equal to 1.0
    (nothing drawn or skybox). This caused a full second shadow of the
    entire level in tr.screenShadowImage. It would move as the camera far
    plane changed and rotate/stretch strangely as the camera view changed.
    
    It was visible in-game on lightmapped transparent surfaces facing the
    skybox and happen to overlap the extra shadow of the level.
    
    This affected the glass in wop_padship's underwater room.
    zturtleman committed Jul 27, 2024
    Configuration menu
    Copy the full SHA
    586078f View commit details
    Browse the repository at this point in the history