Sceneform-android-sdk: is it possible to completely turn off shadows, reflections and so on for all of the models or some of them?

Created on 19 Jun 2018  路  5Comments  路  Source: google-ar/sceneform-android-sdk

Especially the ones that are generated by using RenderableDefinition API.

question

Most helpful comment

路路路
viewRenderable.setShadowCaster(false);
viewRenderable.setShadowReceiver(false);
路路路

All 5 comments

For shadows, try turning off shadowCasting and shadowReceiving.

For things like reflections, try taking a look at the material properties in the material factory.

Closing due to inactivity.

how to turn off all shadows?? can you be a little more specific!! @ dsternfeld7

Hi. We cant disable shadows for Sun because of:
private final boolean enableShadows;

路路路
viewRenderable.setShadowCaster(false);
viewRenderable.setShadowReceiver(false);
路路路

Was this page helpful?
0 / 5 - 0 ratings

Related issues

yashvv picture yashvv  路  3Comments

tigran-babajanyan picture tigran-babajanyan  路  3Comments

peronecode picture peronecode  路  3Comments

Brian-Kwon picture Brian-Kwon  路  3Comments

kunal-wayfair picture kunal-wayfair  路  3Comments