Thanks. This works great but am having an issue. Objects with this shader attached are disappearing when viewing through glass but only when I zoom in toward the object. I am using the script below for the glass (from the forum) . Any help appreciated. Cheers. Rob.
// Upgrade NOTE: replaced ‘SeperateSpecular’ with ‘SeparateSpecular’
Shader “Mobile/EnvMapGlass1”
{
SubShader
{
SeparateSpecular On
Tags {“Queue” = “Transparent” }
Pass
{
Name “BASE”
ZWrite on
//Blend One One // additive
Blend One OneMinusSrcColor // soft additive
//Blend SrcAlpha OneMinusSrcAlpha // real alpha blending
BindChannels
{
Bind “Vertex”, vertex
Bind “normal”, normal
}
I am using Unity 4.6.3p2 and this works fine on an iPad 4 running iOS 7 but stays opaque on an iPad Air running iOS 8. Works fine in the my Mac editor as well. Any thoughts or is this a bug?