]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - model_shared.h
Offsetmapping: new "Bias" parameter that sets a custom "null point" instead of always...
[xonotic/darkplaces.git] / model_shared.h
index 09627f7cd8a30d3b60c8610adb109cdcb4dd3751..6396085787d0464f90a0cd8809c8c50eb5bf7a89 100644 (file)
@@ -471,6 +471,7 @@ typedef struct q3shaderinfo_s
        // offsetmapping
        dpoffsetmapping_technique_t offsetmapping;
        float offsetscale;
+       unsigned char offsetbias;
 
        // polygonoffset (only used if Q3TEXTUREFLAG_POLYGONOFFSET)
        float biaspolygonoffset, biaspolygonfactor;
@@ -615,6 +616,7 @@ typedef struct texture_s
        // offsetmapping
        dpoffsetmapping_technique_t offsetmapping;
        float offsetscale;
+       unsigned char offsetbias;
 
        // gloss
        float specularscalemod;