Commit fc4a6dff authored by amandaghassaei's avatar amandaghassaei

small changes

parent 6b866e1f
......@@ -46,7 +46,7 @@
vec2 currentVelocity = texture2D(u_velocity, fragCoord/u_textureSize).xy;
//implicitly solve advection
if (length(currentVelocity) == 0.0) {//no velocity
gl_FragColor = vec4(texture2D(u_material, fragCoord/u_textureSize).x, 0, 0, 0);
return;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment