Hi guys, I’m having troubles at running ARtoolkit (one Augmented Reality framework) on android.
Seems like after releasing of unity 5.2 issues related to the shader/material used to the video panel made it impossible to work, but I fixed it after using the following shader instead:
Shader "VideoPlaneNoLight"
{
Properties
{
_Color ("Main Color", Color) = (1,1,1,1)
_MainTex ("Base (RGB)", 2D) = "white" { }
}
SubShader
{
Pass
{
Material
{
Diffuse [_Color]
}
Lighting Off
ZWrite Off
Blend SrcAlpha OneMinusSrcAlpha
SeparateSpecular Off
SetTexture [_MainTex]
{
constantColor [_Color]
Combine texture * constant, texture * constant
}
}
}
}
I’ve also had some problems building on android, but after creating the right plugin I’ve finally made it work. Problem is the phone shows no video and only a black screen (even tough the menu works).
I don’t know if it’s a problem related to the camera or the material I used, someone with more experience could help me out?