Currently, I am working on some Augmented Reality mobile app with Unity3D. The performance is impacted by the image quality.
Is there some way to ask webcam to auto focus with Unity3D?
Currently, I am working on some Augmented Reality mobile app with Unity3D. The performance is impacted by the image quality.
Is there some way to ask webcam to auto focus with Unity3D?
As far as I know it is not possible in pure Unity3D.
However, if you are developing this on Android, you can write a plugin in java, which sets autofocus and call it from Unity3D.
And then, you have to call your class from Unity3D:
You can find more info about creating Java plugins for Unity3D here.