Page 1 of 1
Proper support for brightmapped models
Posted: Thu Aug 09, 2012 23:13
by Nash
It is proven that it's possible to draw brightmapped models, though the technique demonstrated is rather hacky (placing models in the textures namespace).
How much work would it be to tweak GZDoom to add proper support for it? I imagine a MODELDEF keyword would suffice.
Re: Proper support for brightmapped models
Posted: Thu Aug 09, 2012 23:20
by Enjay
Would GLDEFS/DOOMDEFS/etc not be a better place?
There are already keywords for flats, sprites and textures. That strikes me as the logical place to also add something like "modelskin" as a keyword.
I guess either that or have a modeldef ketword that means "use a lump from the textures namespace as a skin instead of something from the model path". (I suspect that's what you had in mind.)
Re: Proper support for brightmapped models
Posted: Fri Aug 10, 2012 13:14
by Nash
Uhh... yeah... actually GLDEFS would be a better place, since that is where brightmaps are being defined anyway...

Re: Proper support for brightmapped models
Posted: Sat Aug 11, 2012 21:26
by Graf Zahl
No, brightmaps for models should be defined where the skin is defined. The other things are separate because they are defined in nonGL-specific lumps.