Filament: AR Try on issue.

Created on 4 Jun 2020  路  6Comments  路  Source: google/filament

according to the issue https://github.com/google/filament/issues/2513, I set the hand colorWrite to false, and render the hand and watch.

image

but the part of the watch hidden by the hand is like pixels.

image

bug duplicate

All 6 comments

What material are you using for the hand? What does the model look like? And on what device/OS version do you see this issue?

Merging with bug #2636.

What material are you using for the hand?

material {
    name : "Filament Blit Material",
    shadingModel : unlit,
    colorWrite : false,
    requires: [uv0],
}

fragment {
    void material(inout MaterialInputs material) {
        prepareMaterial(material);
        material.baseColor.rgb = vec3(getUV0(), 0.0);
    }
}

What does the model look like?
image

And on what device/OS version do you see this issue?
android 10, I use different device and os version it exits always.

Did you try with depthWrite : true ?

Did you try with depthWrite : true ?

yes, I have try depthWrite : true, but it is the same

HI there @jiqimaogou:

Let me ask a question, as I've trying to work with occlusive-non-shown materials: I suppose you've using Sceneform 1.16.0 and gltfio, isn't it? If yes, what way are you following to assign the shader/material to the (renderable) arm-hand object?

Thanks for your time.

Was this page helpful?
0 / 5 - 0 ratings