re-add non-local gates
[carveJwlIkooP6JGAAIwe30JlM.git] / shaders / scene_override.fs
index 2ab8d8daccdc5d92c54130bb4cb4d77d01a15858..237fe6b49adfc2055ed3673e1004c50311543d6a 100644 (file)
@@ -70,10 +70,9 @@ void main(){
    if( uIsoAmt > 0.0 ){
       float height = fract( aCo.y * 0.1 );
       float lg = 2.0*length(vec2(dFdx(height), dFdy(height)));
-      vfrag *= 1.0f+(lg*0.4*uIsoAmt);
+      vfrag *= 1.0f+(lg*0.2*uIsoAmt);
    }
 
-
    oColour = vec4( vfrag, 1.0 );
    //oColour = vec4( vfrag, 1.0 );
 }