0 like 0 dislike
26 views

Thanks for the really fast solution for particles.

I am using popcorn FX well. (Unity2017)

However, there is no alpha blend in mesh effects.
I tested the Custom Shader.
The texture is alphablended in the Custom Shader, but the mesh is just black.
So, I ask if there is something to do in the Custom Shader Code or others.
Thanks for reading. :)
 

// Texture.

float4 main(SPixelInput In) : SV_TARGET
{
 // Texture alpha.
 float4 diffuse = float4(0,0,0,0.5);
 return diffuse;
}

// mesh

float4 main( SVertexToPixel In ) : SV_TARGET
{
 // Mesh Alpha.
 float4 diffuse = float4(0,0,0,0.5);
 return diffuse;
}

asked by nonase (120 points)

Please log in or register to answer this question.

...