Skip to content

Bug: Tinted PBR brushes are oversaturated #1892

Description

@lenship2

Describe the bug

Adding $color, $srgbtint, or $hsv to adjust the color in a vmt of a lightmapped PBR material will cause the material to be oversaturated when not lit by dynamic lighting. It seems like the color multiplication is being done after the lightmaps but before the dynamic lighting somehow?

Image Image

To Reproduce

  1. https://steamcommunity.com/sharedfiles/filedetails/?id=3594428478
  2. Look at materials/pbr/framework/squarebeams_blue under ambient vs dynamic lighting

Issue Map

N/A

Expected Behavior

Tinting a lightmapped PBR vmt should look (mostly) the same under lightmap and dynamic lighting

Operating System

No response

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type: BugThis is a problem with something that should be working one way, but isn't.What: GraphicsGraphics-related stuff

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions