Fixed pad shader/disconnect bugs
This commit is contained in:
@@ -32,7 +32,7 @@ void main() {
|
||||
vec2 coord = t / v;
|
||||
vec4 c = texture2D(u_texture, t);
|
||||
|
||||
if(cont(t, v) ){
|
||||
if(cont(t, v)){
|
||||
gl_FragColor = u_color;
|
||||
}else{
|
||||
gl_FragColor = vec4(0.0);
|
||||
|
||||
Reference in New Issue
Block a user