Material: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
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

English (en)Deutsch (de)Español (es)Français (fr)Hrvatski (hr)Português do Brasil (pt-br)Русский (ru)中文 (zh)Translate (Translate)

Stub

This article or section is a stub. You can help by expanding it.

GoldSrc 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.

Warning.pngRisk 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.