Material: Difference between revisions
Jump to navigation
Jump to search
Risk of Confusion:This page is for the concept of materials in general. More information about materials in specific engines can be found on the documentation about the specific engines' material format pages.
mNo edit summary |
mNo edit summary |
||
Line 3: | Line 3: | ||
* {{src2|4}} materials are defined in [[VMAT]] files. | * {{src2|4}} materials are defined in [[VMAT]] files. | ||
{{goldsrc|4}} does not use materials; instead, textures are used directly, and flagged either via name in a [[WAD]] or by metadata in an [[MDL (GoldSrc)|MDL]] or [[SPR]]. Information about a texture's "material" is instead stored in {{mono|[[materials.txt]]}} and [[MAT file]]s. | {{goldsrc|4}} does not use materials; instead, textures are used directly, and flagged either via name in a [[WAD]] or by metadata in an [[MDL (GoldSrc)|MDL]] or [[SPR]]. Information about a texture's "material" is instead stored in {{mono|[[materials.txt]]}} and [[MAT file]]s. | ||
If a material is missing, it will produce the infamous Source pink and black checkered pattern. A white wireframe is not a missing shader, but instead a missing [[shader]]. | <br>If a material is missing, it will produce the infamous Source pink and black checkered pattern. A white wireframe is not a missing shader, but instead a missing [[shader]]. | ||
{{modernConfusion|This page is for the concept of materials in general. More information about materials in specific engines can be found on the documentation about the specific engines' material format pages.}} | {{modernConfusion|This page is for the concept of materials in general. More information about materials in specific engines can be found on the documentation about the specific engines' material format pages.}} |
Revision as of 19:49, 15 August 2023
GoldSrc does not use materials; instead, textures are used directly, and flagged either via name in a WAD or by metadata in an MDL or SPR. Information about a texture's "material" is instead stored in materials.txt and MAT files.
If a material is missing, it will produce the infamous Source pink and black checkered pattern. A white wireframe is not a missing shader, but instead a missing shader.
