This should work, all I did was find the lines
Quote: " ScreenMap +=tex2D(srcTex, (IN.Tex1*0.99f)+0.005f)*(1-dist)*float4(1,0.35,0.35,1);
ScreenMap +=tex2D(srcTex, (IN.Tex1*0.98f)+0.01f)*(1-dist)*float4(1,0.30,0.30,1);
ScreenMap +=tex2D(srcTex, (IN.Tex1*0.97f)+0.015f)*(1-dist)*float4(1,0.25,0.25,1);
ScreenMap +=tex2D(srcTex, (IN.Tex1*0.96f)+0.02f)*(1-dist)*float4(1,0.20,0.20,1);
ScreenMap +=tex2D(srcTex, (IN.Tex1*0.95f)+0.025f)*(1-dist)*float4(1,0.15,0.15,1)*pulsing;
ScreenMap +=tex2D(srcTex, (IN.Tex1*0.94f)+0.03f)*(1-dist)*float4(1,0.1,0.1,1)*pulsing;
ScreenMap +=tex2D(srcTex, (IN.Tex1*0.93f)+0.035f)*(1-dist)*float4(1,0.05,0.05,1)*pulsing;
ScreenMap +=tex2D(srcTex, (IN.Tex1*0.92f)+0.04f)*(1-dist)*float4(1,0.0,0.0,1)*pulsing;
"
and I changed the float4 values (which stand for RGBA) to a green colour. For example I changed the first line
Quote: "float4(1,0.35,0.35,1)"
to
Quote: "float4(0.35,.5,0.35,1)"
.
If something compiles on the first try. Something is terribly wrong.