Excluding objects from fog

Hi to all, (excuseme for my english)

My question:

How can i do for to exclude a single object from the render fog?, i need it for to put a personal skydome in my scene and the fog now hide this.

Thx.

You have to tweak the shader -> Fog {Mode Off} is the interesting part!

// Upgrade NOTE: replaced 'SeperateSpecular' with 'SeparateSpecular'

Shader " Vertex Colored Fog OFF" {
    Properties {
        _Color ("Main Color", Color) = (1,1,1,1)
        _SpecColor ("Spec Color", Color) = (1,1,1,1)
        _Emission ("Emmisive Color", Color) = (0,0,0,0)
        _Shininess ("Shininess", Range (0.01, 1)) = 0.7
        _MainTex ("Base (RGB)", 2D) = "white" {}
    }

    SubShader {
        Pass {
            Fog {Mode Off}
            Material {
                Shininess [_Shininess]
                Specular [_SpecColor]
                Emission [_Emission]    
            }
            ColorMaterial AmbientAndDiffuse
            Lighting Off
            SeparateSpecular On
            SetTexture [_MainTex] {
                Combine texture * primary, texture * primary
            }
            SetTexture [_MainTex] {
                constantColor [_Color]
                Combine previous * constant DOUBLE, previous * constant
            } 
        }
    }

    Fallback " VertexLit", 1
}

or you can use this script on the wiki :

http://www.unifycommunity.com/wiki/index.php?title=Fog_Layer
Archive.org backup.