]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - model_alias.c
Offsetmapping: new "Bias" parameter that sets a custom "null point" instead of always...
[xonotic/darkplaces.git] / model_alias.c
index 214c960d6a606600ebb53162d0387fdab1ebbcf9..d7bbd8bf44d59883a586d955a9114f1b728cae84 100644 (file)
@@ -787,6 +787,7 @@ static void Mod_BuildAliasSkinFromSkinFrame(texture_t *texture, skinframe_t *ski
        texture->currentmaterialflags = texture->basematerialflags;
        texture->offsetmapping = OFFSETMAPPING_DEFAULT;
        texture->offsetscale = 1;
+       texture->offsetbias = 0;
        texture->specularscalemod = 1;
        texture->specularpowermod = 1;
        texture->surfaceflags = 0;