nzp-team / nzportable

Call of Duty: Zombies demake, powered by various Quake sourceports. https://docs.nzp.gay/
472 stars 47 forks source link

Create runtime code for generating Quake 3 Shader file for all model assets with alpha translucency #964

Open MotoLegacy opened 2 weeks ago

MotoLegacy commented 2 weeks ago

Describe your suggestion Instead of requiring asset creators to create Q3 shaders for alpha blended transparency on FTE, CSQC on init should generate this file for us before the world is loaded to reduce manual UGC effort.

Expected behavior CSQC automagically iterates through models path to find *$.mdl, creates shader file for item if not already existing in scripts/ with proper blend mode.

MotoLegacy commented 2 weeks ago

Since this *$.mdl behavior is also very NZ:P specific, a documentation page needs created.