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

Replaced implicit emissive weight with default. #13871

Merged

Commits on Jun 16, 2024

  1. Replaced implicit emissive weight with default.

    Since StandardMaterial::emissive_exposure_weight does not get
    packed into the gbuffer in the deferred case, unpacking uses an
    implicit default value for emissive's alpha channel.
    
    This resulted in divergent behavior between the forward and
    deferred renderers when using standard materials with default
    emissive_exposure_weight, this value defaulting to 0.0 in the
    forward case and 1.0 in the other.
    
    This patch changes the implicit value in the deferred case to 0.0
    in order to match the behavior of the forward renderer. However,
    this still does not solve the case where emissive_exposure_weight
    is not 0.0.
    dragostis committed Jun 16, 2024
    Configuration menu
    Copy the full SHA
    723c863 View commit details
    Browse the repository at this point in the history