Simple Diffuse Appearing Dark

I recreated Diffuse for a pass, and despite working fine before, for some reason it’s now appearing dark:


(Built-In Diffuse)


(The Below Shader)

Shader "Custom/My Diffuse"{
    Properties{
        _Color("Main Color",Color)=(1,1,1,1)
        _MainTex("Base (RGB)",2D)="white"{}
    }
    SubShader {
        Tags{"Queue"="Geometry+202"}
        Pass{
            Material{
                Diffuse[_Color]
            }
            Lighting On
            SetTexture[_MainTex]{
                Combine texture*primary DOUBLE,texture*primary
            }
        }
    }
}

And without “Lighting On” it’s totally black. _Color is set at full white (1,1,1,1). Know what gives?

Looks like you’re not taking ambient lighting into account.

Thanks MADmarine. How would you add it in?

Edit: In short, “Ambient[_Color]” to use the same level as Diffuse. I just realized though that I’ve not read how to get the global ambient level from Unity. The Manual mentions it’s multiplied with your defined Ambient here, but I’m referring to retrieving it manually in the shader in case you need to know. Maybe not accessible at this stage in the pipeline?