so here is the shader
Shader "Particles/Alpha Blended Premultiply" {
Properties {
_MainTex ("Particle Texture", 2D) = "white" {}
}
Category {
Tags { "Queue"="Transparent" "IgnoreProjector"="True" "RenderType"="Transparent" }
Blend One OneMinusSrcAlpha
ColorMask RGB
Cull Off Lighting Off ZWrite Off Fog { Color (0,0,0,0) }
BindChannels {
Bind "Color", color
Bind "Vertex", vertex
Bind "TexCoord", texcoord
}
// ---- Dual texture cards
SubShader {
Pass {
SetTexture [_MainTex] {
combine primary * primary alpha
}
SetTexture [_MainTex] {
combine previous * texture
}
}
}
// ---- Single texture cards (not entirely correct)
SubShader {
Pass {
SetTexture [_MainTex] {
combine texture * primary
}
}
}
}
}
and i know nothing about shaders so i cant do it :)
can someone edit this shader so that it has fog turned off?
because right now it just turns darker and darker when you get far away.
thanks!