AR Shadow

AR Shadow for Unity game engine implements simple real-time shadows for apps with Augmented Reality (Vuforia, Gyro, Accelerometer, any AR). This is Unity shader for transparent surfaces.

Unity Asset Store | Download Button

Advantages of AR Shadow

  • Support for Any AR engine;
  • Vuforia Demo Scene in the package;
  • 3 minutes installation for Your Scene.

Bring the enchanting Power of Shadows into your Augmented Reality.

Package is a part of Unity Assets

Tested with Devices

  • iOS on iPhone 6;
  • Android on Lenovo A606, Samsung Galaxy S7;
  • UWP on Microsoft Surface Pro 5 & Acer Switch 5.

Tutorial

Getting started from scratch

Package has customized prefabs: ARGround  & ARDirectionalLight.
So just use them for your scene & enjoy.

  1. Go to Edit > Project Settings > Quality.
  2. Choose Default Quality Level for a target platform.
    1. Shadow Projection = Close Fit.
    2. Shadow Distance = 400.
  3. Create Plane (ARGround prefab).
    1. Place plane on the marker (a bit higher) if you use marker AR like Vuforia. If you use markerless AR (e.g. AR Camera GYRO) then place the plane on your origin so you can see the shadows.
    2. Resize plane for all your active area of game action.
    3. Attach ARShadow material with ARShadowSurface shader (AR/ARShadowSurface) to the Plane.
      1. Cutout = 1.
  4. Create Direction Light (ARDirectionalLight prefab).
    AR Shadow - Directional Light

    1. Intensity = 1.5 or 1.0.
    2. Shadow Type = Soft Shadows.
      1. Strength = 0.323.
      2. Bias = 0.13.
      3. Normal Bias = 0.
      4. Near Plane = 0.9.
  5. Press Play and see the AR shadows from objects.

AR Shadow and AR Camera GYRO

You can transform your game scene into Augmented Reality in 4 minutes with AR Shadow and AR Camera GYRO.

Support

First of all, read the latest docs online.
If it didn’t help, get the support.

Changelog

Check the current version on Asset Store.
The latest versions will be added as soon as possible.

1.2:

  • Unity 2018.3 version.

1.1:

  • Unity 2017.3.1 version;
  • Unity 5.6.5 version (without Vuforia demo);
  • Publisher Window.
1 Star2 Stars3 Stars4 Stars5 Stars
(2 votes, average: 5.00 out of 5)
Loading...
Support for Unity Assets
I am Andrew Sirota, Founder at Makaka Games and full-time Publisher on Unity Asset Store. First of all, read the latest docs online. If it didn’t help, get the support.
Related Articles
Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.