Per standard procedure, or at least the way I understand and use the Glow effect, I have all objects in scene with an alpha of 0. When i need to glow an object, I increase that objects alpha level. This has worked great for me so far until i go to build on the iPad. My entire scene is glowing, paying no attention to the alpha levels. Is this intended? Any way around this? What have other people done to use the glow effect on the ipad with select object?
Thank you for reading!
post the script you are using, the problem must be there, you see some things don’t work on iOS devices and you have to find a workaround.
So your saying there must be a problem with the alpha value change in the script somewhere, and that the Glow effect should work?
Ok i did a little test. I made a gui slider that adjusts the alpha value of one object in my scene. I have a label that displays the value. I can clearly see the value going up/down in the inspector and also in the scene as the glow effect works on the object correctly. There still is no change on the ipad, its 100% glow no matter the alpha.
#pragma strict
var body : GameObject;
var alphaValue : float;
function Update () {
body.renderer.material.color.a = alphaValue;
}
function OnGUI()
{
alphaValue = GUI.VerticalSlider(Rect(50, 100, 30, 200), alphaValue, 1, 0);
GUI.Label(Rect(50, 80, 50, 50), ""+alphaValue);
}