Bugfixes / Font changed / Zone tweaks

This commit is contained in:
Anuken
2019-03-08 19:07:23 -05:00
parent 3776b99c39
commit 64533de597
47 changed files with 1401 additions and 1482 deletions

View File

@@ -5,8 +5,6 @@ precision mediump int;
uniform sampler2D u_texture;
const float round = 0.01;
varying vec4 v_color;
varying vec2 v_texCoord;

View File

@@ -18,10 +18,6 @@ uniform vec2 u_offset;
varying vec4 v_color;
varying vec2 v_texCoord;
float round(float f){
return float(int(f));
}
void main() {
vec2 T = v_texCoord.xy;
@@ -41,7 +37,7 @@ void main() {
}else{
if(color.a > 0.1){
if(mod(coords.x / u_dp + coords.y / u_dp + sin(round(coords.x / u_dp) / 5.0) * 3.0 + sin(round(coords.y / u_dp) / 5.0) * 3.0 + u_time / 4.0, 10.0) < 2.0){
if(mod(coords.x / u_dp + coords.y / u_dp + sin(floor(coords.x / u_dp) / 5.0) * 3.0 + sin(floor(coords.y / u_dp) / 5.0) * 3.0 + u_time / 4.0, 10.0) < 2.0){
color *= 1.65;
}