Shaders in Engine\: Difference between revisions
Jump to navigation
Jump to search
m (→VolumetricFog: Nice-ified link.) |
|||
(10 intermediate revisions by 4 users not shown) | |||
Line 2: | Line 2: | ||
*[[UnlitGeneric]] is used for 6 materials. | *[[UnlitGeneric]] is used for 6 materials. | ||
*[[ | *[[Modulate]] is used for <code>modulatesinglecolor.vmt</code>. | ||
Line 13: | Line 13: | ||
===ColorCorrection=== | ===ColorCorrection=== | ||
* Used in only one material: <code>colorcorrection.vmt</code> | * Used in only one material: <code>colorcorrection.vmt</code> | ||
===DepthWrite=== | ===DepthWrite=== | ||
* Used in only one material: <code>depthwrite.vmt</code> | * Used in only one material: <code>depthwrite.vmt</code> | ||
* | * Can be found in [[Source SDK 2013]] source code. | ||
* Do not confuse this shader with the proxy by the same name. | * Do not confuse this shader with the proxy by the same name. | ||
===FilmDust=== | ===FilmDust=== | ||
* Used in only one material: <code>filmdust.vmt</code> | * Used in only one material: <code>filmdust.vmt</code> | ||
* | * Can be found in [[Source SDK 2013 MP]] source code. | ||
===FilmGrain=== | ===FilmGrain=== | ||
* Used in only one material: <code>filmgrain.vmt</code> | * Used in only one material: <code>filmgrain.vmt</code> | ||
* | * Can be found in Source SDK 2013 MP source code. | ||
===InternalFrameSync=== | ===InternalFrameSync=== | ||
* Used by only one material: <code>framesync.vmt</code>. | * Used by only one material: <code>framesync.vmt</code>. | ||
* Not found in released mod code. | * Not found in released mod code. | ||
===Occlusion=== | ===Occlusion=== | ||
* Used by only one material: <code>occlusionproxy.vmt</code> | * Used by only one material: <code>occlusionproxy.vmt</code> | ||
===ShadowBuild=== | ===ShadowBuild=== | ||
* Used in only one material: <code>shadowbuild.vmt</code> | * Used in only one material: <code>shadowbuild.vmt</code> | ||
* Valve remark: "Used to generate render-to-texture shadows" | * Valve remark: "Used to generate render-to-texture shadows" | ||
* | * Can be found in Source SDK 2013 MP source code. | ||
===VolumetricFog=== | ===VolumetricFog=== | ||
* Used by the material <code>Engine\volumetricfog.vmt</code>. Also used for shadertesting. (See [[Shaders in shadertest\]].) | * Used by the material <code>Engine\volumetricfog.vmt</code>. Also used for shadertesting. (See [[Shaders in shadertest\]].) | ||
* No parameters are given. | * No parameters are given. | ||
* | * Can be found in Source SDK 2013 MP source code. | ||
* Reported not to work. | |||
===WriteZ=== | ===WriteZ=== |
Latest revision as of 14:29, 30 June 2025
The Engine\
folder of Source Materials.gcf
contains the following shaders:
- UnlitGeneric is used for 6 materials.
- Modulate is used for
modulatesinglecolor.vmt
.
Dedicated Shaders
The following shaders are more or less exclusively used for this folder:
ColorCorrection
- Used in only one material:
colorcorrection.vmt
DepthWrite
- Used in only one material:
depthwrite.vmt
- Can be found in Source SDK 2013 source code.
- Do not confuse this shader with the proxy by the same name.
FilmDust
- Used in only one material:
filmdust.vmt
- Can be found in Source SDK 2013 MP source code.
FilmGrain
- Used in only one material:
filmgrain.vmt
- Can be found in Source SDK 2013 MP source code.
InternalFrameSync
- Used by only one material:
framesync.vmt
. - Not found in released mod code.
Occlusion
- Used by only one material:
occlusionproxy.vmt
ShadowBuild
- Used in only one material:
shadowbuild.vmt
- Valve remark: "Used to generate render-to-texture shadows"
- Can be found in Source SDK 2013 MP source code.
VolumetricFog
- Used by the material
Engine\volumetricfog.vmt
. Also used for shadertesting. (See Shaders in shadertest\.) - No parameters are given.
- Can be found in Source SDK 2013 MP source code.
- Reported not to work.
WriteZ
- Used in only one material:
WriteZ.vmt
- Material referred to in
src\cl_dll\c_vguiscreen.cpp
.