X-Git-Url: http://de.git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fmenu%2Fxonotic%2Fslider_picmip.qc;h=c0b03af57df5afea037fda43c2953ad794ed596b;hb=d7ecf0b99095f97132ddb1252268ff7d7fb8597b;hp=226f4559c3425c9ac748a3bb32559b8b61c54042;hpb=eac60648c4017e495060dd3ba9e50ac4bad5000a;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/menu/xonotic/slider_picmip.qc b/qcsrc/menu/xonotic/slider_picmip.qc index 226f4559c..c0b03af57 100644 --- a/qcsrc/menu/xonotic/slider_picmip.qc +++ b/qcsrc/menu/xonotic/slider_picmip.qc @@ -10,7 +10,7 @@ entity makeXonoticPicmipSlider() void XonoticPicmipSlider_configureXonoticPicmipSlider(entity me) { me.configureXonoticTextSlider(me, "gl_picmip", - _("Change the sharpness of the textures. Lowering it will effectively reduce texture memory usage, but make the textures appear very blurry. (default: good)")); + _("Change the sharpness of the textures. Lowering it will effectively reduce texture memory usage, but make the textures appear very blurry.")); me.autofix(me); me.have_s3tc = GL_Have_TextureCompression(); } @@ -18,8 +18,8 @@ float texmemsize(float s3tc) { return ( - 2500 * pow(0.25, max(0, cvar("gl_picmip") + cvar("gl_picmip_other"))) - + 1500 * pow(0.25, max(0, cvar("gl_picmip") + cvar("gl_picmip_world"))) + 2500 * (0.25 ** max(0, cvar("gl_picmip") + cvar("gl_picmip_other"))) + + 1500 * (0.25 ** max(0, cvar("gl_picmip") + cvar("gl_picmip_world"))) ) * ((s3tc && (cvar("r_texture_dds_load") || cvar("gl_texturecompression"))) ? 0.2 : 1.0); // TC: normalmaps 50%, other 25%, few incompressible, guessing 40% as conservative average } void XonoticPicmipSlider_autofix(entity me)