OpenArena / engine

OpenArena modifications to the ioquake3 engine
http://openarena.ws
GNU General Public License v2.0
212 stars 50 forks source link

Placeholder shader scripts #9

Open leilei- opened 8 years ago

leilei- commented 8 years ago

Reason: filling in/substitute specific missing textures with special placeholder scripts if a texture is missing. for q3 mapmodels particularly (i.e. generic stone for major/visor/gargoyle/fem/jesus statues, metal for lampposts)

Right now it's

Desired behavior:

The-Gig commented 7 years ago

Can I suggest including some way to disable the feature and see the old white/gray box in case of missing texture? That would be aimed for map developers, who should easily notice such errors (which may be caused by them forgetting to include a texture or a shader file in a pk3).

I don't know if it would be better a CVAR to manually enable or disable the feature, or instead automatically enable it in "standard" mode and disable it in "devmap/devspmap" mode (like Sago recently did in gamecode in case of missing spawnpoints -spawn at 0,0,0 coordinates in standard mode, shutdown with "couldn't find spawn point" in devmap).