Skip to content

Document loading texture normals in linear RGB #12123

Closed
@BD103

Description

@BD103
          YES! Setting the TextureFormat to Rgba8Unorm fixed it.

          This is a real footgun that should be warned about...

Originally posted by @Affinator in #12061 (comment)

It would be useful to document in StandardMaterial::normal_map_texture that it cannot be loaded in sRGB, but instead must be linear RGB. A code example would also be quite useful.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-RenderingDrawing game state to the screenC-DocsAn addition or correction to our documentationD-TrivialNice and easy! A great choice to get started with Bevy

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions