Bugfixes
This commit is contained in:
@@ -22,12 +22,10 @@ void main(){
|
||||
float noise = (texture2D(u_noise, (coords) / NSCALE + vec2(btime) * vec2(-0.9, 0.8)).r + texture2D(u_noise, (coords) / NSCALE + vec2(btime * 1.1) * vec2(0.8, -1.0)).r) / 2.0;
|
||||
vec4 color = texture2D(u_texture, c);
|
||||
|
||||
if(color.a > 0.1){
|
||||
if(noise > 0.6){
|
||||
color.rgb = S2;
|
||||
}else if (noise > 0.54){
|
||||
color.rgb = S1;
|
||||
}
|
||||
if(noise > 0.6){
|
||||
color.rgb = S2;
|
||||
}else if (noise > 0.54){
|
||||
color.rgb = S1;
|
||||
}
|
||||
|
||||
gl_FragColor = color;
|
||||
|
||||
Reference in New Issue
Block a user