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