]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - model_shared.h
added network protocol for sound speed
[xonotic/darkplaces.git] / model_shared.h
index 6396085787d0464f90a0cd8809c8c50eb5bf7a89..64b4050817abd5ff3594fcac030f7d9de6319b67 100644 (file)
@@ -471,7 +471,7 @@ typedef struct q3shaderinfo_s
        // offsetmapping
        dpoffsetmapping_technique_t offsetmapping;
        float offsetscale;
-       unsigned char offsetbias;
+       float offsetbias; // 0 is normal, 1 leads to alpha 0 being neutral and alpha 1 pushing "out"
 
        // polygonoffset (only used if Q3TEXTUREFLAG_POLYGONOFFSET)
        float biaspolygonoffset, biaspolygonfactor;
@@ -616,7 +616,7 @@ typedef struct texture_s
        // offsetmapping
        dpoffsetmapping_technique_t offsetmapping;
        float offsetscale;
-       unsigned char offsetbias;
+       float offsetbias;
 
        // gloss
        float specularscalemod;