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

Update pixel shader translations to fix lighting issues #32

Merged
merged 1 commit into from
Jul 14, 2017

Commits on Jul 5, 2017

  1. Update pixel shader

    - Minor updates in vertex and pixel shaders regex to merge two negative
    lookbacks into one
    - Added code to get the arithmetic count in use
    - Updated regex code that changes 'add' with a '-' modifier to 'sub' to
    make it more generic
    - Added code to generically update any modifier on a constant by using
    the extra arithmetic functions available, this fixes the lighting issues
    with Star Wars Republic Commando
    - Added code that changes 'mad' with a '-' modifier to 'sub', this fixes
    the lighting issues with Star Wars Republic Commando
    - Added code that changes '_bx2' source modifier for constant to use _x2
    destination modifier, this fixes a minor lighting issue with Silent Hill
    2
    elishacloud committed Jul 5, 2017
    Configuration menu
    Copy the full SHA
    5d3fb1a View commit details
    Browse the repository at this point in the history