Unity Assets

AR Shadow

AR Shadow (Unity Asset) — implements 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

Bring the enchanting Power of Unity AR Shadows into your Augmented Reality:

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

Package is a part of Unity Assets

VR + AR: Mixed Reality (MR) (docs).


AR Toss Boss (docs).


AR Basketball GO (docs).


AR Survival Shooter (docs).


AR Throwing (docs).


AR Camera GYRO (docs).


AR Camera ACCELEROMETER (docs).

Tutorial

This is a tutorial for the Last Version of AR Shadow Asset. Tutorial for the previous version can be found in the asset folder of the previously downloaded package.

Vuforia

Open Vuforia Documentation.

Getting started from scratch with AR Shadow

Folders & Files in package by default:

  • Makaka Games.

Steps

If you have any issues with the first launch then just Reach Support with Invoice Number and Get Help.

If you read this tutorial from PDF, first check the latest docs online to get actual information.

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

  1. Create New Unity Project with Unity 2019.1.12.
  2. Download and import AR Shadow into Unity.
  3. Go to Edit > Project Settings > Quality.
  4. Choose Default Quality Level for a target platform.
    1. Shadow Projection = Close Fit.
    2. Shadow Distance = 400.
  5. Create New Scene.
  6. 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.
  7. Create Direction Light (ARDirectionalLight prefab).
    AR Shadow - Directional Light - Vuforia Shadow
    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.
  8. Press Play and see the AR shadows from objects.

Why don’t Shadows work?

  1. The common issue is Point 4. Users sometimes just select the quality level in Unity Editor and don’t set it as default. That’s why you can see Shadows in Unity Editor & don’t see on mobile.
  2. In your own scene, you could put own plane (i.e. AR Marker) or object at the same Y level with a plane for shadows. Try to raise the plane for shadows a bit.
  3. See Video Instruction below carefully.

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 (docs).

Tested with Mobile Devices

Real Testing is only on Real Device.

Mobiles:

  • iOS on iPhone 6, 8, XS Max;
  • Android on Lenovo A606, Samsung Galaxy S7, S10.

Tablets:

  • UWP on Microsoft Surface Pro 5 & Acer Switch 5.

Support

First, 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.4:

  • Unity 2019.1 version.

1.3:

  • Vuforia 8.1.7 version.

1.2:

  • Unity 2018.3 version.

1.1:

Unity Assets

Support for Unity Assets

I am Andrey Sirota, Founder of Makaka Games and full-time Publisher on Unity Asset Store. First, 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 *

Comment moderation is enabled. Your comment may take some time to appear.

Back to top button