Skip to content

Light values are incorrectly truncated to 4 bits when encoding vertex data #2228

@jellysquid3

Description

@jellysquid3

Sodium 0.5.0 introduced a 16-byte vertex format, which reduced the precision of light values from 8 bits to just 4 bits. We need to revert this change, since it doesn't provide sufficient resolution for even trivial cases, and breaks things like stained glass (#2052) and dynamic lighting mods.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions