同步3.1.0修改

This commit is contained in:
jiaguofeng
2023-09-01 19:47:54 +08:00
parent 43f99b3043
commit 62257acf05
40 changed files with 899 additions and 593 deletions

View File

@@ -5,6 +5,9 @@ in float _alphaFac;
layout(location = 0) out vec4 color;
void main()
{
color = texture(tex,gl_PointCoord);
vec4 c = texture(tex,gl_PointCoord);
if(c.a<0.3)
discard;
color = c;
color.a = color.a * _alphaFac;
}