]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - model_shared.h
Added dp_waterscroll <scale> <speed> shader keyword as simple simulation of water...
[xonotic/darkplaces.git] / model_shared.h
index 8b8a91a254877f6a4546df51e68bf330bd7be6ed..918f8b788ffb5284593c67b235b37250ca5679cf 100644 (file)
@@ -471,6 +471,7 @@ typedef struct q3shaderinfo_s
        float reflectfactor; // amount of reflection distort (1.0 = like the cvar specifies)
        vec4_t reflectcolor4f; // color tint of reflection (including alpha factor)
        float r_water_wateralpha; // additional wateralpha to apply when r_water is active
+       float r_water_waterscroll[2]; // water normalmapscrollblend - scale and speed
 
        // offsetmapping
        dpoffsetmapping_technique_t offsetmapping;
@@ -607,6 +608,7 @@ typedef struct texture_s
        float reflectfactor; // amount of reflection distort (1.0 = like the cvar specifies)
        vec4_t reflectcolor4f; // color tint of reflection (including alpha factor)
        float r_water_wateralpha; // additional wateralpha to apply when r_water is active
+       float r_water_waterscroll[2]; // scale and speed
        int camera_entity; // entity number for use by cameras
 
        // offsetmapping