Model-viewer: How to disable blending with scene viewer?

Created on 28 Nov 2020  路  6Comments  路  Source: google/model-viewer

By default, object blending is enabled in scene-viewer. Is there a way we can have it disabled as default?

question feature

Most helpful comment

@elalish Yes there's an intent parameter for this. You can pass disable_occlusion=true on the intent and that will turn off blending.

All 6 comments

@tpsiaki Is there an intent parameter for this?

Thanks @elalish for investigating, I am also interested in a possible solution.

Blending is a cool feature but so often yields undesirable results that I agree it should be off by default.

Fully agree on that. In most cases "off" setting is better.

I would also like to know how to disable this. Is there any parameter that we can use?

@elalish Yes there's an intent parameter for this. You can pass disable_occlusion=true on the intent and that will turn off blending.

Was this page helpful?
0 / 5 - 0 ratings