Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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.
- Loading branch information