if rgba.a==0 discard
This commit is contained in:
@ -60,5 +60,8 @@ void main()
|
||||
{
|
||||
o_Color = texture(u_Textures[int(v_TexIndex)], Input.TexCoord * Input.TilingFactor) * Input.Color;
|
||||
|
||||
if(o_Color.a == 0.0f)
|
||||
discard;
|
||||
|
||||
o_EntityID = v_EntityID;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user