DarkRadiant: master 2eddbc8b
Author | Committer | Branch | Timestamp | Parent |
---|---|---|---|---|
orbweaver | orbweaver | master | 17.04.2019 21:54 | master 235786cf |
Changeset | foreachShaderName() only visits visible shaders assets.lst handling now working for materials. Shader names returned by foreachShaderName() will no longer include shaders in MTR files listed as "hidden" in an assets.lst. Although this works at a file level, not an individual shader level, the required flexibility can still be achieved by moving all hidden shaders into a single MTR file (e.g. "tdm_hidden.mtr"). Just as with models, hidden shaders are not listed in the tree but still function correctly in the map itself. They will also still appear on the Textures tab, which lists materials in use not materials from the mod tree. |
|||
mod - radiant/shaders/ShaderLibrary.cpp | Diff File |