Garry's Mod Wiki

Revision Difference

Shaders#561104

<cat>Dev</cat>⤶ <cat>Dev.Ref</cat>⤶ A list of shaders accessible from Lua. ### Garry's Mod Specific Shaders Name | Description | -----|-------------| | <page text="g_blurx">Shaders/g_blurx</page> | Blurs a texture horizontally. | | <page text="g_blury">Shaders/g_blury</page> | Blurs a texture vertically. | | <page text="g_bokehblur">Shaders/g_bokehblur</page> | | | <page text="g_colourmodify">Shaders/g_colourmodify</page> | | | <page text="g_downsample">Shaders/g_downsample</page> | | | <page text="g_normals">Shaders/g_normals</page> | | | <page text="g_position">Shaders/g_position</page> | | | <page text="g_refract">Shaders/g_refract</page> | | | <page text="g_sharpen">Shaders/g_sharpen</page> | | | <page text="g_sky">Shaders/g_sky</page> | | | <page text="g_sunbeams">Shaders/g_sunbeams</page> | | | <page text="g_texturize">Shaders/g_texturize</page> | | | <page text="gmodscreenspace">Shaders/gmodscreenspace</page> | | | <page text="sobel">Shaders/sobel</page> | | ### Source Engine Shaders Name | Description | -----|-------------| | <page text="accumbuff5sample">Shaders/accumbuff5sample</page> | | | <page text="Aftershock_dx9">Shaders/Aftershock_dx9</page> | | | <page text="Bik">Shaders/Bik</page> | | | <page text="Bik_dx80">Shaders/Bik_dx80</page> | | | <page text="Bik_dx81">Shaders/Bik_dx81</page> | | | <page text="Bloom">Shaders/Bloom</page> | | | <page text="BlurFilterX">Shaders/BlurFilterX</page> | | | <page text="BlurFilterX_DX80">Shaders/BlurFilterX_DX80</page> | | | <page text="BlurFilterY">Shaders/BlurFilterY</page> | | | <page text="BlurFilterY_DX80">Shaders/BlurFilterY_DX80</page> | | | <page text="BufferClearObeyStencil_DX8">Shaders/BufferClearObeyStencil_DX8</page> | | | <page text="BufferClearObeyStencil_DX9">Shaders/BufferClearObeyStencil_DX9</page> | | | <page text="Cable_DX8">Shaders/Cable_DX8</page> | | | <page text="Cable_DX9">Shaders/Cable_DX9</page> | | | <page text="Cloak_DX90">Shaders/Cloak_DX90</page> | | | <page text="ColorCorrection">Shaders/ColorCorrection</page> | | | <page text="Core_DX80">Shaders/Core_DX80</page> | | | <page text="Core_DX90">Shaders/Core_DX90</page> | | | <page text="DebugDrawEnvmapMask">Shaders/DebugDrawEnvmapMask</page> | | | <page text="DebugMorphAccumulator">Shaders/DebugMorphAccumulator</page> | | | <page text="DebugMRTTexture">Shaders/DebugMRTTexture</page> | | | <page text="DebugNormalMap">Shaders/DebugNormalMap</page> | | | <page text="DebugTextureView_dx9">Shaders/DebugTextureView_dx9</page> | | | <page text="DecalBaseTimesLightmapAlphaBlendSelfIllum_DX8">Shaders/DecalBaseTimesLightmapAlphaBlendSelfIllum_DX8</page> | | | <page text="DecalBaseTimesLightmapAlphaBlendSelfIllum_DX9">Shaders/DecalBaseTimesLightmapAlphaBlendSelfIllum_DX9</page> | | | <page text="DecalModulate_dx9">Shaders/DecalModulate_dx9</page> | | | <page text="DepthWrite">Shaders/DepthWrite</page> | | | <page text="Downsample">Shaders/Downsample</page> | | | <page text="Downsample_nohdr">Shaders/Downsample_nohdr</page> | | | <page text="Downsample_nohdr_DX80">Shaders/Downsample_nohdr_DX80</page> | | | <page text="Engine_Post_dx9">Shaders/Engine_Post_dx9</page> | | | <page text="EyeGlint_dx9">Shaders/EyeGlint_dx9</page> | | | <page text="EyeRefract_dx9">Shaders/EyeRefract_dx9</page> | | | <page text="Eyes_dx6">Shaders/Eyes_dx6</page> | | | <page text="Eyes_dx8">Shaders/Eyes_dx8</page> | | | <page text="Eyes_dx9">Shaders/Eyes_dx9</page> | | | <page text="Fillrate">Shaders/Fillrate</page> | | | <page text="floatcombine">Shaders/floatcombine</page> | | | <page text="floatcombine_autoexpose">Shaders/floatcombine_autoexpose</page> | | | <page text="floattoscreen">Shaders/floattoscreen</page> | | | <page text="floattoscreen_vanilla">Shaders/floattoscreen_vanilla</page> | | | <page text="GooInGlass">Shaders/GooInGlass</page> | | | <page text="HDRCombineTo16Bit">Shaders/HDRCombineTo16Bit</page> | | | <page text="HDRSelectRange">Shaders/HDRSelectRange</page> | | | <page text="hsl_filmgrain_pass1">Shaders/hsl_filmgrain_pass1</page> | | | <page text="hsl_filmgrain_pass2">Shaders/hsl_filmgrain_pass2</page> | | | <page text="HSV">Shaders/HSV</page> | | | <page text="IntroScreenSpaceEffect">Shaders/IntroScreenSpaceEffect</page> | | | <page text="IntroScreenSpaceEffect_dx80">Shaders/IntroScreenSpaceEffect_dx80</page> | | | <page text="LightmappedGeneric">Shaders/LightmappedGeneric</page> | The shader used for world brushes. | | <page text="LightmappedGeneric_Decal">Shaders/LightmappedGeneric_Decal</page> | | | <page text="LightmappedGeneric_DX8">Shaders/LightmappedGeneric_DX8</page> | | | <page text="LightmappedReflective">Shaders/LightmappedReflective</page> | Used for reflective surfaces such as wet floor | | <page text="LightmappedReflective_DX90">Shaders/LightmappedReflective_DX90</page> | | | <page text="Modulate">Shaders/Modulate</page> | | | <page text="Modulate_DX8">Shaders/Modulate_DX8</page> | | | <page text="Modulate_DX9">Shaders/Modulate_DX9</page> | | | <page text="MorphAccumulate_DX9">Shaders/MorphAccumulate_DX9</page> | | | <page text="MorphWeight_DX9">Shaders/MorphWeight_DX9</page> | | | <page text="MotionBlur_dx9">Shaders/MotionBlur_dx9</page> | | | <page text="Occlusion_DX8">Shaders/Occlusion_DX8</page> | | | <page text="Occlusion_DX9">Shaders/Occlusion_DX9</page> | | | <page text="Overlay_Fit">Shaders/Overlay_Fit</page> | | | <page text="Portal_DX60">Shaders/Portal_DX60</page> | | | <page text="Portal_DX80">Shaders/Portal_DX80</page> | | | <page text="Portal_DX90">Shaders/Portal_DX90</page> | | | <page text="PortalRefract_dx8">Shaders/PortalRefract_dx8</page> | | | <page text="PortalRefract_dx9">Shaders/PortalRefract_dx9</page> | | | <page text="PortalStaticOverlay">Shaders/PortalStaticOverlay</page> | | | <page text="PortalStaticOverlay">Shaders/PortalStaticOverlay</page> | | | <page text="PortalStaticOverlay_DX60">Shaders/PortalStaticOverlay_DX60</page> | | | <page text="Predator_DX80">Shaders/Predator_DX80</page> | | | <page text="Refract">Shaders/Refract</page> | | | <page text="Refract_DX80">Shaders/Refract_DX80</page> | | | <page text="Refract_DX90">Shaders/Refract_DX90</page> | | | <page text="Sample4x4">Shaders/Sample4x4</page> | | | <page text="Sample4x4_Blend">Shaders/Sample4x4_Blend</page> | | | <page text="screenspace_general_dx8">Shaders/screenspace_general_dx8</page> | | | <page text="screenspace_general_dx9">Shaders/screenspace_general_dx9</page> | | | <page text="sfm_blurfilterx_shader">Shaders/sfm_blurfilterx_shader</page> | | | <page text="sfm_blurfiltery_shader">Shaders/sfm_blurfiltery_shader</page> | | | <page text="sfm_downsample_shader">Shaders/sfm_downsample_shader</page> | | | <page text="sfm_integercombine_shader">Shaders/sfm_integercombine_shader</page> | | | <page text="Shadow">Shaders/Shadow</page> | | | <page text="Shadow_DX8">Shaders/Shadow_DX8</page> | | | <page text="ShadowBuild_DX8">Shaders/ShadowBuild_DX8</page> | | | <page text="ShadowBuild_DX9">Shaders/ShadowBuild_DX9</page> | | | <page text="ShadowModel_DX8">Shaders/ShadowModel_DX8</page> | | | <page text="ShadowModel_DX9">Shaders/ShadowModel_DX9</page> | | | <page text="ShatteredGlass">Shaders/ShatteredGlass</page> | | | <page text="ShatteredGlass_DX8">Shaders/ShatteredGlass_DX8</page> | | | <page text="showz">Shaders/showz</page> | | | <page text="Sky_DX9">Shaders/Sky_DX9</page> | | | <page text="Sky_HDR_DX9">Shaders/Sky_HDR_DX9</page> | | | <page text="Sprite_DX8">Shaders/Sprite_DX8</page> | | | <page text="Sprite_DX9">Shaders/Sprite_DX9</page> | | | <page text="Spritecard">Shaders/Spritecard</page> | | | <page text="Spritecard_DX8">Shaders/Spritecard_DX8</page> | | | <page text="Teeth_DX6">Shaders/Teeth_DX6</page> | | | <page text="Teeth_DX8">Shaders/Teeth_DX8</page> | | | <page text="Teeth_DX9">Shaders/Teeth_DX9</page> | | | <page text="TreeLeaf">Shaders/TreeLeaf</page> | | | <page text="UnlitGeneric">Shaders/UnlitGeneric</page> | The shader used for GUI materials | | <page text="UnlitGeneric_DX8">Shaders/UnlitGeneric_DX8</page> | | | <page text="UnlitTwoTexture_DX8">Shaders/UnlitTwoTexture_DX8</page> | | | <page text="UnlitTwoTexture_DX9">Shaders/UnlitTwoTexture_DX9</page> | | | <page text="VertexLitGeneric">Shaders/VertexLitGeneric</page> | The shader used for models. | | <page text="VertexLitGeneric_DX8">Shaders/VertexLitGeneric_DX8</page> | | | <page text="VolumeClouds_dx9">Shaders/VolumeClouds_dx9</page> | | | <page text="VortWarp_dx8">Shaders/VortWarp_dx8</page> | | | <page text="VortWarp_DX9">Shaders/VortWarp_DX9</page> | | | <page text="Water_DX81">Shaders/Water_DX81</page> | | | <page text="Water_DX90">Shaders/Water_DX90</page> | | | <page text="WindowImposter_DX80">Shaders/WindowImposter_DX80</page> | | | <page text="WindowImposter_DX90">Shaders/WindowImposter_DX90</page> | | | <page text="Wireframe_DX8">Shaders/Wireframe_DX8</page> | | | <page text="Wireframe_DX9">Shaders/Wireframe_DX9</page> | | | <page text="WorldTwoTextureBlend">Shaders/WorldTwoTextureBlend</page> | | | <page text="WorldTwoTextureBlend_DX8">Shaders/WorldTwoTextureBlend_DX8</page> | | | <page text="WorldVertexAlpha_DX8">Shaders/WorldVertexAlpha_DX8</page> | | | <page text="WorldVertexTransition_DX8">Shaders/WorldVertexTransition_DX8</page> | | | <page text="WorldVertexTransition_DX9">Shaders/WorldVertexTransition_DX9</page> | | | <page text="WriteStencil_DX8">Shaders/WriteStencil_DX8</page> | | | <page text="WriteStencil_DX9">Shaders/WriteStencil_DX9</page> | | | <page text="WriteZ_DX8">Shaders/WriteZ_DX8</page> | | | <page text="WriteZ_DX9">Shaders/WriteZ_DX9</page> | | | <page text="YUV">Shaders/YUV</page> | |