Shaders in Nature\
Jump to navigation
Jump to search
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.