From: Mikko Rasa Date: Wed, 3 Jun 2020 18:56:00 +0000 (+0300) Subject: Redesign the material system X-Git-Url: http://git.tdb.fi/?a=commitdiff_plain;ds=inline;h=3500f13f51dabadd2e7f06b81820936520cc8115;hp=3500f13f51dabadd2e7f06b81820936520cc8115;p=libs%2Fgl.git Redesign the material system Now that legacy OpenGL support is removed and all lighting calculations are done in shaders, there's no reason to stick to the old material model anymore. The new model is closer to that used by many 3D modeling programs, with textures applied to material properties. It also allows different types of materials with different shading models. This change breaks source compatibility, but the new BasicMaterial class is mostly compatible with the old Material class, with only minor changes needed in code and datafiles. ---