Skip to content

gamma for f32 decoding #32

Description

@ScanMountGoat

There are different ways to interpret srgb formats when decoding to f32. Users may want to decode raw values without any correction or decode values as interpreted by a shader on the GPU with gamma applied. Decoding that considers gamma and matches the GPU shader behavior should probably be added as a separate method with appropriate documentation and a corresponding encode function.
https://forums.developer.nvidia.com/t/how-to-export-result-as-srgb-encoded/260983/2

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

    enhancementNew feature or request

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions