Skip to content

Smaller fog texture? (less color channels) #1732

Description

@illwieckz

When working on the linear pipeline support for the fog¹, I noticed that, unless I'm wrong, the fog texture is an RGBA image but we only use the alpha channel, setting RGB to {1, 1, 1}.

We may instead store an image with less color components. Also by storing this alpha channel in something like a red channel, we may use sRGB variants and let the hardware do the sRGB conversions.

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

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions