Skip to content

Higher Variable Inspection Precision #1

Open
@gkjohnson

Description

@gkjohnson

Variables are inspected by reading back the framebuffer and converting the pixel value to a float, etc. However, colors are clamped from 0.0 to 1.0 and stored as a byte per channel, meaning a lot of data is lost between the shader and reading that data back.

Possible Solutions

  • A higher precision format, such as a 32-bit per channel texture type would afford higher precision output
  • Packing only 1 float into a single vec4 color channel output would afford more precision, but would require a lot more rendering and be harder to manage.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions