]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Replace our use of r_fakelight and r_equalize_entities_fullbright by r_fullbright_dir...
authorRudolf Polzer <divVerent@xonotic.org>
Thu, 5 Apr 2018 20:53:50 +0000 (13:53 -0700)
committerRudolf Polzer <divVerent@xonotic.org>
Thu, 5 Apr 2018 20:54:55 +0000 (13:54 -0700)
Unlit maps and g_fullbrightplayers/g_fullbrightitems now will get
somewhat different lighting, but should still be easy on the eyes (the
former) and stand out properly (the latter).

This will allow simplifying engine code significantly while even being a
bit easier on the eyes.

Comparison video:
https://www.youtube.com/watch?v=xSuVieA8ILI

xonotic-client.cfg

index 2d7eb360d11e93c28bf6cc61e39da40513385f63..d2247228a5ce499d8bf1ba66e5f05b9bdfaba2db 100644 (file)
@@ -772,17 +772,14 @@ r_cullentities_trace 0
 r_shadow_glossexact 1
 r_shadow_glossintensity 1
 
-// use fake light if map has no lightmaps
-r_fakelight 1
+// use slightly better lighting than r_fullbright if map has no lightmaps, and for fullbrightplayers
+r_fullbright_directed 1
 
 r_water_hideplayer 1 // hide your own feet/player model in refraction views, this way you don't see half of your body under water
 r_water_refractdistort 0.019
 
 set cl_rainsnow_maxdrawdist 2048
 
-// equalize looks better than fullbright
-r_equalize_entities_fullbright 1
-
 // safe font defaults
 r_font_hinting 1
 r_font_disable_freetype 0