Problems setting tint on Replacement Shader

I’m trying to set the tint on a selective glow effect, but it seems that i can’t apply it.
The commented part of the shader was supposed to do it, but it’s not working…
Anyone have any idea on this?

Thanks a lot

Shader "Glow Replace" {
   SubShader {
      Tags { "RenderEffect"="Glow" }
	  Tags { "RenderType"="Opaque" }
      Pass {
         Fog { Color (0,0,0,1) }
		 
		//SetTexture [_SelfIluminationMap] {
		//		constantColor [_SelfIlumColor]
		//		combine constant * primary
		//}
		//SetTexture [_SelfIluminationMap] {
		//		combine texture * previous DOUBLE
		//}
		SetTexture [_SelfIluminationMap] { }
      }
   }
}

I fixed it already, it seems that BindChannels was missing from it :slight_smile:

Shader "Glow Replace" {
   SubShader {
      Tags { "RenderEffect"="Glow" }
      Tags { "RenderType"="Opaque" }
	  
      BindChannels {
		Bind "Color", color
		Bind "Vertex", vertex
		Bind "TexCoord", texcoord
      }
	
      Pass {
         Fog { Color (0,0,0,1) }
		 
	 SetTexture [_SelfIluminationMap] {
			constantColor [_SelfIlumColor]
			combine constant * primary
	}
	SetTexture [_SelfIluminationMap] {
			combine texture * previous DOUBLE
	}
      }
   }
}