reflection for iphone

i am applying a cubemap, reflection is not affected for object(cars..).

please help, how to follow the procedure .

by

Hi,

Try this Shader for reflection ,but in iphone i think we cant get real time reflection, u can use this shader get the reflection image from Max or Maya.

Shader "iPhone/lightmap/reflective"
{
    Properties
    {
        _Color ("Main Color", Color) = (1,1,1,1)
        _MainTex ("Base (RGB)", 2D) = "white" {}
        _LightMap ("Lightmap (RGB)", 2D) = "white" { LightmapMode }
        _Reflect ("Reflection", 2D) = "black" { TexGen SphereMap }
    }

    SubShader
    {
        Pass
        {
            Name "BASE" 

            BindChannels {
                Bind "Vertex", vertex
                Bind "texcoord1", texcoord0 // lightmap uses 2nd uv
                Bind "texcoord", texcoord1 // main uses 1st uv
            }
            SetTexture [_LightMap] {
                combine texture
            }
            SetTexture [_MainTex] {
                combine texture * previous
            }
        }

        /* This pass uses vertex information to control Reflection
        Pass
        {
            Name "REFLECT"
            ZWrite Off
            Blend SrcAlpha OneMinusSrcAlpha
            ColorMaterial AmbientAndDiffuse
            Lighting Off

            BindChannels {
                Bind "Vertex", vertex
                Bind "normal", normal
            }

            SetTexture [_Reflect] {
                combine texture, primary
            }
        }*/

        // Use this pass, if you want to fetch alpha from main texture instead
        Pass
        {
            Name "REFLECT"
            ZWrite Off
            Blend SrcAlpha OneMinusSrcAlpha

            BindChannels {
                Bind "Vertex", vertex
                Bind "normal", normal
                Bind "texcoord", texcoord0 // main uses 1st uv
            }

            SetTexture [_MainTex] {
                combine texture
            }
            SetTexture [_Reflect] {
                combine texture, previous
            }
        }

    }
}

How is possibile to change the shader to works with Beast lightmapper?