Added zone class / Dialog method inline

This commit is contained in:
Anuken
2019-01-09 18:50:10 -05:00
parent b9618d66f2
commit 84e754dd10
45 changed files with 342 additions and 265 deletions

View File

@@ -21,8 +21,8 @@ void main() {
float spacing = SPACE * u_scl;
gl_FragColor = mix(c * v_color, u_color,
(1.0-step(0.1, texture2D(u_texture, v_texCoord.xy).a)) *
step(0.1,
(1.0-step(0.001, texture2D(u_texture, v_texCoord.xy).a)) *
step(0.001,
//cardinals
texture2D(u_texture, v_texCoord.xy + vec2(0, spacing) * v).a +
texture2D(u_texture, v_texCoord.xy + vec2(0, -spacing) * v).a +