// Scaling from the Z texture rows coordinate to the normalized texture row coordinate. uniform float z_to_texture_row; uniform float z_texture_row_to_normalized; float z_blend = 0.25 * cos(min(M_PI, ...