olexale / arkit_flutter_plugin

ARKit Flutter Plugin
MIT License
798 stars 228 forks source link

Casting shadows on ground #186

Open pawelmatyjasik opened 2 years ago

pawelmatyjasik commented 2 years ago

Hello,

Does the plugin support casting shadows by objects? I tried to cast shadows on ground by placing a light above the object and adding shadow plane on the ground. Unfortunately I am unable to configure the light to cause shadow effect. Normally it is achieved by using shadow-related properties of light (castsShadow, shadowMode, shadowRadius etc.). I do not see any of these properties on ARKitLight.

remakerich commented 2 years ago

Is there any shaders at all?

I'm trying now https://pub.dev/packages/ar_flutter_plugin which has to use this plugin as well and a dont see any shaders. On iOS its just plain 3D objects without any fidelity whatsoever.. =(

On Android it runs with shaders and shadows out of the box.