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

Lighting Attenuation #2471

Merged
merged 2 commits into from
Jun 8, 2015
Merged

Lighting Attenuation #2471

merged 2 commits into from
Jun 8, 2015

Commits on Jun 8, 2015

  1. VideoSW: rewrite lighting attenuation

    - Fixes remaining lighting issues (Mario Tennis, etc)
    - Apply same fixes to Software Renderer
    - Corrected zero length light direction vector to resolve with normal direction (essentially becomes LIGHTDIF_NONE which was what I was after)
    NanoByte011 authored and degasus committed Jun 8, 2015
    Configuration menu
    Copy the full SHA
    06d1b8c View commit details
    Browse the repository at this point in the history
  2. VideoSW: refactor shared lighting attenuation function

    - Refactored Light Attenuation into inline function in Software Renderer
    - Corrected zero length light direction vector to resolve with normal direction (essentially becomes LIGHTDIF_NONE which was what I was after)
    - Change the API of this shared function to use points for output variables (degasus)
    NanoByte011 authored and degasus committed Jun 8, 2015
    Configuration menu
    Copy the full SHA
    59f2736 View commit details
    Browse the repository at this point in the history