zturtleman / spearmint

Spearmint — an updated id Tech 3 engine for continuing the classics and creating new games.
https://clover.moe/spearmint
GNU General Public License v3.0
237 stars 27 forks source link

Support per-flare shaders #132

Closed zturtleman closed 9 years ago

zturtleman commented 10 years ago

Use flare shaders from the map BSP.


Original title: Per-game flare shader?

Could set it in gameconfig.txt. Sort of annoying to change renderer API though...

Could have patch data for games that rename it (copy and rename flare shader to "flareshader"). I don't see a reason new games would want to rename it.

Currently not a big deal as I'm currently not planning to support the Ghoul2 model format used for sof2, jk2, and ja.

ensiform commented 10 years ago

FYI jk2/jka does not use a specific flareshader.

zturtleman commented 10 years ago

Ah, ioq3/Spearmint should use flare shaders from the BSP.

zturtleman commented 9 years ago

Added per-flare shader support. https://github.com/zturtleman/spearmint/compare/3f1448239e9e1e1cabfbed08ae224f72fcba3cbd...532083aff248d3c4a68c2eee6873f2dd654c3ed8