+ v3f co;
+ remote_player_position( i, co );
+
+ if( player->active_world != world ){
+ continue;
+ }
+
+ f32 d2 = v3_dist2( co, localplayer.rb.co );
+
+ if( d2 > (max_dist*max_dist) )
+ continue;
+
+ f32 dist = sqrtf(d2);
+ f32 opacity = 0.95f * sqrtf(((max_dist-dist)/max_dist));
+
+ if( geo_cull ){
+ ray_hit hit;
+ hit.dist = dist;
+
+ v3f dir;
+ v3_sub( co, skaterift.cam.pos, dir );
+ v3_normalize( dir );
+
+ if( ray_world( world, skaterift.cam.pos, dir, &hit,
+ k_material_flag_ghosts ) ){
+ opacity *= 0.5f;
+ }
+ }
+
+ player->opacity = vg_lerpf( player->opacity, opacity,
+ vg.time_frame_delta * 2.0f );
+