Skip to content
Snippets Groups Projects
Commit f31fed02 authored by Rye Mutt's avatar Rye Mutt :bread:
Browse files

Fix alpha acne on material surfaces

parent a8b2683b
No related branches found
No related tags found
No related merge requests found
......@@ -231,12 +231,6 @@ void main()
#endif
#if (DIFFUSE_ALPHA_MODE == DIFFUSE_ALPHA_MODE_BLEND)
#if (HAS_SPECULAR_MAP == 0)
if(diffcol.a < 0.01)
{
discard;
}
#endif
vec3 gamma_diff = diffcol.rgb;
diffcol.rgb = srgb_to_linear(diffcol.rgb);
#endif
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment