]> git.rm.cloudns.org Git - xonotic/netradiant.git/commitdiff
be more verbose about randomsamples presets
authorRudolf Polzer <divverent@alientrap.org>
Fri, 22 Oct 2010 07:36:40 +0000 (09:36 +0200)
committerRudolf Polzer <divverent@alientrap.org>
Fri, 22 Oct 2010 07:36:40 +0000 (09:36 +0200)
tools/quake3/q3map2/light.c

index b531089017809d8d9b02bf3c2513f48848e5f121..2d5a81df6550f976205e8f65fa7bf660e2b0bc69 100644 (file)
@@ -2770,13 +2770,22 @@ int LightMain( int argc, char **argv )
                        {
                                /* somewhat okay */
                                case 1:
-                               case 2: lightSamples = 16; break;
+                               case 2:
+                                       lightSamples = 16;
+                                       Sys_Printf( "Adaptive supersampling preset enabled with %d random sample(s) per lightmap texel\n", lightSamples );
+                                       break;
 
                                /* good */
-                               case 3: lightSamples = 64; break;
+                               case 3:
+                                       lightSamples = 64;
+                                       Sys_Printf( "Adaptive supersampling preset enabled with %d random sample(s) per lightmap texel\n", lightSamples );
+                                       break;
 
                                /* perfect */
-                               case 4: lightSamples = 256; break;
+                               case 4:
+                                       lightSamples = 256;
+                                       Sys_Printf( "Adaptive supersampling preset enabled with %d random sample(s) per lightmap texel\n", lightSamples );
+                                       break;
 
                                default: break;
                        }