]> git.tdb.fi Git - libs/gl.git/commit
Use an explicit material slot name in RenderPass
authorMikko Rasa <tdb@tdb.fi>
Wed, 25 Apr 2018 11:13:26 +0000 (14:13 +0300)
committerMikko Rasa <tdb@tdb.fi>
Wed, 25 Apr 2018 11:18:51 +0000 (14:18 +0300)
commitcfd4d36c2b6b6095ada3aef8082e5d409a233a21
tree643059700e5b3a4d586012236da83e3c9b92cd2b
parentc01b102f54770c37a62870f60a849b479aa3285c
Use an explicit material slot name in RenderPass

The previous method of overriding materials with pass name seemed a
bit too hacky to my liking.  This is more in line with how overriding
textures works.

The Blender exporter now expects the base technique to have a material
slot "surface".
blender/io_mspgl/export_object.py
source/renderpass.cpp
source/renderpass.h
source/technique.cpp
source/technique.h