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.
No edit summary |
m (Nesciuse moved page Material/en to Material without leaving a redirect: Move en subpage to basepage) |
||
(11 intermediate revisions by 5 users not shown) | |||
Line 1: | Line 1: | ||
{{ | {{LanguageBar}} | ||
{{distinguish|Texture|desc1=the actual images being displayed}} | |||
{{stub}} | |||
==Overview== | |||
A Material is the file that the engine uses to know what to display. A material contains information about what textures to draw, how to draw them, how to treat the textures being drawn, and how it should react. Materials are different from textures, which are the actual images that are being drawn. | |||
Materials are the same concept in both Source and Source 2, however they are defined in different files: | |||
* {{src|4}} materials are defined in [[VMT]] files. | * {{src|4}} materials are defined in [[VMT]] files. | ||
* {{src2|4}} materials are defined in [[VMAT]] files. | * {{src2|4}} materials are defined in [[VMAT]] files. | ||
{{ | {{gldsrc|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. | ||
{{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.}} | |||
[[Category:Glossary]] | |||
{{ | |||
[[ | |||
Latest revision as of 08:19, 12 July 2024
Not to be confused with Texture (the actual images being displayed).
Overview
A Material is the file that the engine uses to know what to display. A material contains information about what textures to draw, how to draw them, how to treat the textures being drawn, and how it should react. Materials are different from textures, which are the actual images that are being drawn.
Materials are the same concept in both Source and Source 2, however they are defined in different files:
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.
