]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - darkplaces.txt
sorry... dp_refract parameters should work THAT way round
[xonotic/darkplaces.git] / darkplaces.txt
index 666475e40ab706312781877201f03a53dc9bd43a..9fc31c048852fd186af1e212cb8d527cd40170c2 100644 (file)
@@ -1317,11 +1317,11 @@ Shader parameters for DP's own features:
   additive. When the color isn't specified, it defaults to white (full\r
   reflection). If only one color component is specified, it counts as a grey\r
   value.\r
-- dp_refract <reflectmin> <reflectmax> <distort> <r> <g> <b>\r
+- dp_refract <refractmin> <refractmax> <distort> <r> <g> <b>\r
   Marks a surface as "water" for r_glsl_water, that is, add a refraction\r
-  component too. The reflection amount (see dp_reflect) is at least reflectmin\r
-  (when looking straight into it) and at most reflectmax (when looking parallel\r
-  to thhe surface). The default distort is multiplied by distort. The color\r
-  modulates the refraction component. reflectmin defaults to 0 when unspecified,\r
+  component too. The refraction amount (see dp_reflect) is at most refractmax\r
+  (when looking straight into it) and at least refractmin (when looking parallel\r
+  to the surface). The default distort is multiplied by distort. The color\r
+  modulates the refraction component. refractmin defaults to 0 when unspecified,\r
   all others default to 1. If only one color component is specified, it counts\r
   as a grey value.\r