X-Git-Url: http://git.xonotic.org/?a=blobdiff_plain;f=model_shared.h;h=64b4050817abd5ff3594fcac030f7d9de6319b67;hb=3579ea0a97797b72298e63b723b65e46ea264b14;hp=bd0bb265150c5268159020ecc2181a96549cb119;hpb=6642d846d198f2616c17d2c742a44d2df35074c9;p=xonotic%2Fdarkplaces.git diff --git a/model_shared.h b/model_shared.h index bd0bb265..64b40508 100644 --- a/model_shared.h +++ b/model_shared.h @@ -471,6 +471,7 @@ typedef struct q3shaderinfo_s // offsetmapping dpoffsetmapping_technique_t offsetmapping; float offsetscale; + 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; @@ -481,7 +482,7 @@ typedef struct q3shaderinfo_s // rtlightning ambient addition float rtlightambient; -#define Q3SHADERINFO_COMPARE_END specularpowermod +#define Q3SHADERINFO_COMPARE_END rtlightambient } q3shaderinfo_t; @@ -615,6 +616,7 @@ typedef struct texture_s // offsetmapping dpoffsetmapping_technique_t offsetmapping; float offsetscale; + float offsetbias; // gloss float specularscalemod;