DarkRadiant: material_editor_basic a04750fc

Author Committer Branch Timestamp Parent
greebo greebo material_editor_basic 02.04.2021 13:32 material_editor_basic adf85c86
Affected Issues  0005567: Material Editor: Basic Mode GUI
Changeset 0005567: getBlendFunc() needs to return GL-compatible values. Since the blend func strings stored in the layer can also have the DBS shortcuts "specularmap" or "bumpmap", we need to handle those too. They are used as blend mode for the editor pass as well, so this fixes the roundtop windows being rendered as black in the non-lit render mode.
mod - radiantcore/shaders/Doom3ShaderLayer.cpp Diff File