google-ar / sceneform-android-sdk

Sceneform SDK for Android
https://developers.google.com/sceneform/develop/
Apache License 2.0
1.23k stars 604 forks source link

Still can't make white background on SceneView with 1.6 #452

Open yjoo9317 opened 5 years ago

yjoo9317 commented 5 years ago

As title says, still can't make complete white background with the latest version. If transparent background possible, then I may make the container's background white but that's not the case here either.

issue #251 has a bug label for which I though that it will be fixed in the later version (= Version 1.6). But apparently it hasn't been.

Is there any plan to fix it? If not, as the final resort for this issue, I may have to create the view from activity directly.

Thanks.

romainguy commented 5 years ago

You can do it with a custom material technically. Sceneform should probably provide a standard way of doing this though.

afeozzz commented 5 years ago

I figured out that material.baseColor.rgb = vec3(5.0, 5.0, 5.0); gives a white color

but still waiting for a standard way of doing this

ManuelTS commented 5 years ago

Should now be resolved on 1.8.0 as the bug fixes state: https://github.com/google-ar/sceneform-android-sdk/releases/tag/v1.8.0

Jei commented 5 years ago

It doesn't look like it's been resolved. I'm using Sceneform 1.10.0 and I'm still seeing a difference in the color applied to the scene's background.

Dosssik commented 5 years ago

@afeozzz Hi! As far as standard way still doesn't work, could you please explain how to use the material to change the background of SceneView?

I figured out that material.baseColor.rgb = vec3(5.0, 5.0, 5.0); gives a white color