]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - model_brush.c
allow framebuffer objects to be used where non-power of two textures are not required
[xonotic/darkplaces.git] / model_brush.c
index d5fad783b518788cfda2652c95de15ec26832ae4..f6453414e4726dfd4024028b76f4f8c11dbd5b8f 100644 (file)
@@ -1680,6 +1680,9 @@ static void Mod_Q1BSP_LoadTextures(sizebuf_t *sb)
                tx->offsetbias = 0;
                tx->specularscalemod = 1;
                tx->specularpowermod = 1;
+               tx->transparentsort = TRANSPARENTSORT_DISTANCE;
+               // WHEN ADDING DEFAULTS HERE, REMEMBER TO PUT DEFAULTS IN ALL LOADERS
+               // JUST GREP FOR "specularscalemod = 1".
        }
 
        if (!sb->cursize)