jonas-johansson / ARCoreUtils

Unity plugin that adds shadow and collision to ARCore.
The Unlicense
109 stars 16 forks source link

Shadows are completely black in android build. #9

Open AksAman opened 5 years ago

AksAman commented 5 years ago

When I am using the ARSurface Shader in my editor with instant preview, the shadows are fine. But, when I am building and install the apk to my phone, the shadows are completely black. Screenshot_20190909-225915~2

I am currently using arcore 1.2

Xardas0327 commented 5 years ago

It is good to know. When you use the instant preview of ARCore or Daydream (or Unity Remote), then your pc calculates and streams the result to your phone. Your phone just show the result and send the camera picture to pc, but it doesn't calculate. That's why it is better, because your pc is stronger than your phone.

I think you should check the newest ARCore, it has a good shadow casting from 1.10 (currently version is 1.11).

jonas-johansson commented 5 years ago

I'm not sure what could be causing the black shadows for you but my guess is that something is up with the quality settings. Check which quality settings you have in Unity in the Android platform.

On Tue, Sep 10, 2019, 02:32 Xardas0327 notifications@github.com wrote:

It is good to know. When you use the instant preview of ARCore or Daydream (or Unity Remote), then your pc calculates and streams the result to your phone. Your phone just show the result and send the camera picture to pc, but it doesn't calculate. That's why it is better, because your pc is stronger than your phone.

I think you should check the newest ARCore, it has a good shadow casting from 1.10 (currently version is 1.11).

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/jonas-johansson/ARCoreUtils/issues/9?email_source=notifications&email_token=ACFXOCDO7RTTO3I47UUR4F3QI2QFDA5CNFSM4IU65UGKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD6IYQ4A#issuecomment-529631344, or mute the thread https://github.com/notifications/unsubscribe-auth/ACFXOCAJNL635SSBDZZ2DZTQI2QFDANCNFSM4IU65UGA .