完成
This commit is contained in:
@@ -16,7 +16,8 @@ void main()
|
|||||||
|
|
||||||
vec4 textureColor = color;
|
vec4 textureColor = color;
|
||||||
if (textureColor.a < 0.1) {
|
if (textureColor.a < 0.1) {
|
||||||
textureColor = vec4(0.2, 0.2, 0.2, 0.5);
|
//textureColor = vec4(0.2, 0.2, 0.2, 0.5);
|
||||||
|
discard;
|
||||||
}
|
}
|
||||||
|
|
||||||
outFragColor = textureColor;
|
outFragColor = textureColor;
|
||||||
|
|||||||
Binary file not shown.
Reference in New Issue
Block a user