]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - render.h
honor ent->shadertime in all material handling (tcmod, etc)
[xonotic/darkplaces.git] / render.h
index 76c2e3f7a68c323fc304d6f8a4993bd5afc94bb9..b354034aa42b39e721fb5317ac1bd3312dd29a36 100644 (file)
--- a/render.h
+++ b/render.h
@@ -327,8 +327,8 @@ typedef struct rsurfacestate_s
        int ent_skinnum;
        int ent_qwskin;
        int ent_flags;
-       float ent_shadertime;
        int ent_alttextures; // used by q1bsp animated textures (pressed buttons)
+       double shadertime; // r_refdef.scene.time - ent->shadertime
        // transform matrices to render this entity and effects on this entity
        matrix4x4_t matrix;
        matrix4x4_t inversematrix;