]> git.xonotic.org Git - xonotic/darkplaces.git/commit
Fix most Q3 & QL glow maps
authorcloudwalk <cloudwalk@d7cf8633-e32d-0410-b094-e92efae38249>
Mon, 25 May 2020 13:51:59 +0000 (13:51 +0000)
committerRudolf Polzer <divVerent@gmail.com>
Wed, 17 Mar 2021 13:39:08 +0000 (06:39 -0700)
commit5e5a0dc6a799dea2883254396414e6c3817f862f
treeb7875a1256f184d4138fe5c465fbd4db556aefe8
parent8b47c85e9f68469c822e942b5c22d4e5aa3b3700
Fix most Q3 & QL glow maps

From bones_was_here: "Very few glow maps work in unmodified Q3 maps as they do not use the _glow darkplaces convention, instead Q3 shaders specify the file name to use which is not currently supported.
Fortunately there is a naming convention started in id software's pak0 and continued in QL and most 3rd party maps.  It uses these forms: foo_texture.blend.ext and bar_texture_blend.ext
It's not possible to fix 100% of glow maps without parsing Q3 shaders and using the specified file name, but this is a big improvement.
This also fixes a few glow maps in nexcompat, which are originally Q3 textures that were not renamed to _glow."

git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@12573 d7cf8633-e32d-0410-b094-e92efae38249
::stable-branch::merge=9155ce9124c0d6f63a262291a95304e20e911243
gl_rmain.c