X-Git-Url: https://git.xonotic.org/?a=blobdiff_plain;f=model_shared.h;h=747bec0cfb32b39b703156937e1b638ff1aba4c9;hb=aa7b4c72ef977636db3213a1030ec2700adc51f8;hp=8b73377e53f1c6ce1fae104337d6bf13858e6b99;hpb=a14d8ac6ca1ca641b68a666983531298ee036576;p=xonotic%2Fdarkplaces.git diff --git a/model_shared.h b/model_shared.h index 8b73377e..747bec0c 100644 --- a/model_shared.h +++ b/model_shared.h @@ -452,6 +452,9 @@ typedef struct q3shaderinfo_s // add collisions to all triangles of the surface qboolean dpmeshcollisions; + // kill shader based on cvar checks + qboolean dpshaderkill; + // fake reflection char dpreflectcube[Q3PATHLENGTH]; @@ -468,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; @@ -478,7 +482,7 @@ typedef struct q3shaderinfo_s // rtlightning ambient addition float rtlightambient; -#define Q3SHADERINFO_COMPARE_END specularpowermod +#define Q3SHADERINFO_COMPARE_END rtlightambient } q3shaderinfo_t; @@ -595,7 +599,6 @@ typedef struct texture_s char name[64]; int surfaceflags; int supercontents; - int surfaceparms; int textureflags; // reflection @@ -612,6 +615,7 @@ typedef struct texture_s // offsetmapping dpoffsetmapping_technique_t offsetmapping; float offsetscale; + float offsetbias; // gloss float specularscalemod;