]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - darkplaces.txt
hide the R_Mesh_Draw message unless developer is 100 or a vertex/face count is even...
[xonotic/darkplaces.git] / darkplaces.txt
index 57e2dfdade362c757b32edcd853de43a2fd569d2..91c3d6267e50396a58224aba905ff5ed4e0eb4fb 100644 (file)
@@ -1329,11 +1329,24 @@ Shader parameters for DP's own features:
   Makes surfaces of this shader refractive with r_water. The refraction\r
   replaces the transparency of the texture. distort is used in conjunction with\r
   the normalmap to simulate a nonplanar water surface.\r
-- dp_water <reflectmin> <reflectmax> <refractdistort> <reflectdistort> <refractr> <refractg> <refractb> <reflectr> <reflectg> <reflectb>\r
+- dp_water <reflectmin> <reflectmax> <refractdistort> <reflectdistort> <refractr> <refractg> <refractb> <reflectr> <reflectg> <reflectb> <alpha>\r
   This combines the effects of dp_reflect and dp_refract to simulate a water\r
   surface. However, the refraction and the reflection are mixed using a Fresnel\r
   equation that makes the amount of reflection slide from reflectmin when\r
   looking parallel to the water to reflectmax when looking directly into the\r
   water. The result of this reflection/refraction mix is then layered BELOW the\r
   texture of the shader, so basically, it "fills up" the alpha values of the\r
-  water.\r
+  water. The alpha value is a multiplicator for the alpha value on the texture\r
+  - set this to a small value like 0.1 to emphasize the reflection and make\r
+  the water transparent; but if r_water is 0, alpha isn't used, so the water can\r
+  be very visible then too.\r
+- tcmod page <width> <height> <delay>\r
+  The texture is shifted by 1/<width> every <delay> seconds, and by 1/<height>\r
+  every <delay>*<width> seconds. It is some sort of animmap replacement that keeps\r
+  all animation frames in a single texture.\r
+  To use it, make a texture with the frames aligned in a grid like this:\r
+    1   2   3   4\r
+    5   6   7   8\r
+  then align it in Radiant so only one of the animation frames can be seen on\r
+  the surface, and specify "tcmod page 4 2 0.1". DP will then display the frames\r
+  in order and the cycle will repeat every 0.8 seconds.\r