Skip to content

Gamma correction for mipmap generation #19

@RunDevelopment

Description

@RunDevelopment

Downsampling in sRGB isn't correct, so there should be an option to do gamma correction automatically.


True sRGB <-> linear is quite expensive, and gamma 2.3 isn't much cheaper. Maybe we could get away with using gamma 2? Then sRGB -> linear is just squaring. This is huge, because the ration of sRGB->linear to linear->sRGB operations is 3:1. So sRGB->linear better be cheap.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions