Skip to content
This repository was archived by the owner on May 18, 2026. It is now read-only.
This repository was archived by the owner on May 18, 2026. It is now read-only.

XR Extras do not use colorManagement #191

Open

Description

@ephb

When using the colorManagement property in an a-scene there is a significant difference in brightness between a material created by using pbrMaterialComponent compared to a material component on a geometry node using the same textures. This also applies to the basicMaterialComponent.

The following explanation is what i assume is happening, please correct me if I am wrong:

The renderer in aframe supports a property called color management which enables a color managed linear workflow.
Upon creating a new material this sets the color encoding of the textures accordingly.

When one creates an aframe material and sets its texture trough the src attribute this happens automatically.

But when using pbrMaterialComponent with the same texture it appears much brighter. Supposedly because setting the encoding is not done.

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions