]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - model_alias.c
fix offsetmapping without a q3 shader on Q1BSP and MDL
[xonotic/darkplaces.git] / model_alias.c
index 3672dbc09378607043a9164cd5100b4e00532c5f..2231f3df546326c1b65a01d40818ff15260b05c5 100644 (file)
@@ -785,7 +785,7 @@ static void Mod_BuildAliasSkinFromSkinFrame(texture_t *texture, skinframe_t *ski
        if (texture->currentskinframe->hasalpha)
                texture->basematerialflags |= MATERIALFLAG_ALPHA | MATERIALFLAG_BLENDED | MATERIALFLAG_NOSHADOW;
        texture->currentmaterialflags = texture->basematerialflags;
-       texture->offsetmapping = OFFSETMAPPING_OFF;
+       texture->offsetmapping = OFFSETMAPPING_DEFAULT;
        texture->offsetscale = 1;
        texture->specularscalemod = 1;
        texture->specularpowermod = 1;