- Home /
Question by
rustyruss1985 · Jul 17, 2018 at 07:54 PM ·
shaderalphaunlit
how to make simple unlit shader for rgba points?
hello, i'm trying to make a simple unlit shader that will display RGBA points. i've tried most of the built in shaders, none of them do what i want, Particles/Alpha Blended is close but gives weird culling effects.
this shader does almost everything, but i can't get the alpha to work with it:
Shader "Unlit/simpleshader"
{
Properties{
_MainTex("Texture", 2D) = "white" {}
}
SubShader{
Tags{ "Queue" = "Geometry" }
Pass{
BindChannels{
Bind "Color", color
Bind "Vertex", vertex
Bind "TexCoord", texcoord
}
SetTexture[_MainTex]{
Combine texture * primary
}
}
}
}
does anyone know how to modify the above shader to display alpha as well as rgb?
thanks
Comment
Your answer
Follow this Question
Related Questions
Unlit Shader with alpha mask 2 Answers
Unlit Alpha Shader not working with Simple Water 0 Answers
How do I add transparency to a cg vertex lit shader 2 Answers
Unlit, Transparent and Slice Shader 2 Answers