better low qual mode
[carveJwlIkooP6JGAAIwe30JlM.git] / world_gen.h
index 9ee1e6beb3329d7403f4602a8f3fe5d33d87271e..147c9af489eb2be321b6f40249e65d4ff1fa3671 100644 (file)
@@ -36,6 +36,9 @@ VG_STATIC void world_add_all_if_material( m4x3f transform, scene *pscene,
 /* Sprinkle foliage models over the map on terrain material */
 VG_STATIC void world_apply_procedural_foliage( struct world_material *mat )
 {
+   if( vg.quality_profile == k_quality_profile_low )
+      return;
+
    vg_linear_clear( vg_mem.scratch );
 
    mdl_context *mfoliage =