Skip to content

The preview of the ARSceneView looks overlighted and the colors looks artificial #657

@RomanShemsheiForm

Description

@RomanShemsheiForm

The camera output image looks like it’s been artificially enhanced: the colors are oversaturated, and the contrast is too high. Also, the center of the preview looks brighter than the sides.

I tried to fix this by adding:

// Try to disable scene lighting completely
sceneView.view.scene?.let { scene ->
    scene.indirectLight = null
    scene.skybox = null 
}

I also experimented with ColorGrading, but it didn't help:

val colorGrading = ColorGrading.Builder()
                .exposure(0f)
                .saturation(1.0f)
                .contrast(1f)
                .vibrance(1.0f)
                .exposure(1.0f)
                .saturation(1.0f)
                .contrast(1.0f)
                .vibrance(1.0f)
                .build(sceneView.engine)
sceneView.view.colorGrading = colorGrading

Is there a way to make the ARSceneView preview look identical to the standard camera preview?

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