Shaders in Nature\: Difference between revisions
		
		
		
		
		
		Jump to navigation
		Jump to search
		
				
		
		
	
Pivotman319 (talk | contribs) m (steampipe)  | 
				 (These shader sources can be found in the modern SDK (some were added with TF2 source code, others were there already))  | 
				||
| Line 13: | Line 13: | ||
===Cloud===  | ===Cloud===  | ||
* Only used by the <code>cloud001c.vmt</code> material. Also used by 2 materials in the [[Shaders in shadertest\|shadertest\]] folder.  | * Only used by the <code>cloud001c.vmt</code> material. Also used by 2 materials in the [[Shaders in shadertest\|shadertest\]] folder.  | ||
*   | * Can be found in [[Source SDK 2013]] source code.  | ||
===LightmappedGeneric_DX6===  | ===LightmappedGeneric_DX6===  | ||
| Line 39: | Line 39: | ||
* Used by 46 materials in this folder. Also used in the <code>Concrete\</code> and [[Shaders in Dev\|Dev\]] folders, to a much lesser extent.  | * Used by 46 materials in this folder. Also used in the <code>Concrete\</code> and [[Shaders in Dev\|Dev\]] folders, to a much lesser extent.  | ||
* Mostly used in materials starting with "<code>blend</code>".  | * Mostly used in materials starting with "<code>blend</code>".  | ||
*   | * Can be found in [[Source 2007|SDK 2007]] and Source SDK 2013 source code.  | ||
* See [[WorldVertexTransition]] for more information.  | * See [[WorldVertexTransition]] for more information.  | ||
===WorldVertexTransition_DX9===  | ===WorldVertexTransition_DX9===  | ||
* Used only in the <code>canal_reeds.vmt</code> material (as a fallback shader for the <code>WorldVertexTransition</code> shader).  | * Used only in the <code>canal_reeds.vmt</code> material (as a fallback shader for the <code>WorldVertexTransition</code> shader).  | ||
*   | * Can be found in Source SDK 2007 and Source SDK 2013 source code.  | ||
[[Category: Shaders]]  | [[Category: Shaders]]  | ||
Latest revision as of 13:34, 30 June 2025
The Nature\ folder of hl2_misc_dir.vpk contains the following shaders:
- LightmappedGeneric is used for 71 materials.
 - LightmappedGeneric_DX9 is used for 5 materials (as a fallback shader for LightmappedGeneric and WorldVertexTransition).
 - Water is used for several materials.
 - UnlitGeneric is used for the 
tree_card_clump.vmtand thewater_movingplane_beneath.vmtmaterials. 
Dedicated Shaders
The following shaders are more or less exclusively used for this folder.
Cloud
- Only used by the 
cloud001c.vmtmaterial. Also used by 2 materials in the shadertest\ folder. - Can be found in Source SDK 2013 source code.
 
LightmappedGeneric_DX6
- Used by the materials 
toxicslime002a.vmtandwater_movingplane.vmtas a fallback shader forLightmappedGeneric. Also used in the Dev\ and Glass\ folders. - Referred to twice in 
src\materialsystem\stdshaders\lightmappedgeneric_dx8.cppin the released mod code. 
Water_DX60
- Used by 22 materials (as a fallback shader for the Water shader) in this folder. Also used in the Dev\ folder to a lesser extent.
 - Referred to in 
src\materialsystem\stdshaders\water_dx60.cppandsrc\materialsystem\stdshaders\water_dx80.cppin the released mod code. 
Water_DX80
- Used by 19 materials (as a fallback shader for the Water shader) in this folder only.
 - Defined in 
src\materialsystem\stdshaders\water_dx80.cppin the released mod code. 
Water_DX81
- Used by 15 materials (as a fallback shader for the Water shader) in this folder only.
 - Defined in 
src\materialsystem\stdshaders\water_dx81.cppin the released mod code. 
Water_DX90
- Only used by 3 materials in this folder. Also used by the 
dev_water3.vmtmaterial in the Dev\ folder. - Defined in 
src\materialsystem\stdshaders\water.cppin the released mod code. - Remarks from Valve: "Only used in dx90 and higher", "NOTE: These are only used by DX9 water, since forceExpensive isn't defined.", "ALSO NOTE: This *cannot* exist in the root level, because the presence of this is used to determine whether to do the reflection in the client DLL"
 
WorldVertexTransition
- Used by 46 materials in this folder. Also used in the 
Concrete\and Dev\ folders, to a much lesser extent. - Mostly used in materials starting with "
blend". - Can be found in SDK 2007 and Source SDK 2013 source code.
 - See WorldVertexTransition for more information.
 
WorldVertexTransition_DX9
- Used only in the 
canal_reeds.vmtmaterial (as a fallback shader for theWorldVertexTransitionshader). - Can be found in Source SDK 2007 and Source SDK 2013 source code.