]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - model_sprite.c
Offsetmapping now could be customized on per-texture basis. Added mod_q3shader_defaul...
[xonotic/darkplaces.git] / model_sprite.c
index a33fa9f36635c5b8f11a38e9ec29d0951225f5f0..3827ab2d49b128d26ba8f3e0e766758b62ca18ce 100644 (file)
@@ -47,6 +47,8 @@ static void Mod_SpriteSetupTexture(texture_t *texture, skinframe_t *skinframe, q
 {
        if (!skinframe)
                skinframe = R_SkinFrame_LoadMissing();
+       texture->offsetmapping = OFFSETMAPPING_OFF;
+       texture->offsetscale = 1;
        texture->specularscalemod = 1;
        texture->specularpowermod = 1;
        texture->basematerialflags = MATERIALFLAG_WALL;