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

Improvements to parallax mapping code for comprehensibility and correctness #1

Merged

Commits on Apr 10, 2023

  1. Improvements to parallax mapping code for comprehensibility and corre…

    …ctness
    
    'height' -> 'depth' as the texture has 0 as minimum depth and 1 as maximum
    depth.
    
    Make the Vt used in parallax mapping point from the camera to the fragment to
    make the algorithm easier to understand as the ray points into the surface.
    Adjust the UV maths as appropriate to step forward instead of backward.
    superdump committed Apr 10, 2023
    Configuration menu
    Copy the full SHA
    566d231 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    14bd139 View commit details
    Browse the repository at this point in the history