AlphaSelfIlum shader no longer working in Unity3?

Hi all,

In Unity2.6, I was using this AlphaSelfIlum shader found on the Unity community site, but the objects assigned with this material simply dont appear anymore in Unity3. If I select another shader, the objects reappear.

Do you know if something has change in the syntax of shaders, that would make this shader no longer work?

Shader “My Shaders/AlphaSelfIllum” {
Properties {
_Color (“Color Tint”, Color) = (1,1,1,1)
_MainTex (“SelfIllum Color (RGB) Alpha (A)”, 2D) = “white”
}
Category {
Lighting On
ZWrite Off
Cull Back
Blend SrcAlpha OneMinusSrcAlpha
Tags {Queue=Transparent}
SubShader {
Material {
Emission [_Color]
}
Pass {
SetTexture [_MainTex] {
Combine Texture * Primary, Texture * Primary
}
}
}
}
}

Thanks,
Mat

Compiles and looks fine on Unity 3 here.

If you’re going to paste the original shader instead of linking it, please use code tags so that it remains legible.

Hi again,

Well I guess it was a shader recompilation issue. I had simply imported my 2.6 project in 3.0, and the shader was not working. By simply creating a new dummy shader in the project while the game was running, the old shader was back online. When I relaunch the game, the shader is no longer working. I guess I have to create a new fresh shader to make sure it is well recognised by Unity.

M