Csgo Complex
![English (en) English (en)](/w/images/3/37/Flag-en.png)
![Translate (Translate) Translate (Translate)](/w/images/a/a8/Flag-Translate.png)
Contents
- 1 Material Variables
- 1.1 Color
- 1.2 Texture Animation (Appears When Toggled)
- 1.3 Translucent (Appears When Toggled)
- 1.4 Normal
- 1.5 Lighting
- 1.6 Decal Texture (Appears When Toggled)
- 1.7 Ambient Occlusion
- 1.8 Self Illum (Appears When Toggled)
- 1.9 Detail Texture (Appears When Toggled)
- 1.10 Fog
- 1.11 Texture Address Mode
- 1.12 Transmission (Appears When Toggled)
- 2 Shader Features
Csgo Complex is a commonly used shader in Counter-Strike 2, usually used on props, non blendable textures, or emissive textures. Page is loosely organized based on how it appears in Material Editor.
Todo: Cleanup, document, and organize.
Material Variables
Color
Diffuse color texture for this layer. Typically you will want to remove any baked in lighting information from this texture.
- Color (Image Input)
- Image Suffix: _color
- Color Tint - Multiplies the specified color over the entire layer.
- Tex Coord Center - [Clarify]
- Left Box - [Clarify], U coord, ranges 0-1
- Right Box - [Clarify], V coord, ranges 0-1
- Tex Coord Scale - Adjusts the U and V scale for this layer.
- Left Box - [Clarify], U coord, multiplier, any number.
- Right Box - [Clarify], V coord, multiplier, any number.
- Tex Coord Rotation - Rotates the texture. Range is -360 to +360
- Tex Coord Offset - Offsets the UVs for this map by the specified values.
- Left Box - [Clarify], U coord, ranges 0-1
- Right Box - [Clarify], V coord, ranges 0-1
- Tex Coord Scroll Speed - [Clarify]
- Left Box - [Clarify], U Coord
- Right Box - [Clarify], V Coord
- Scale TexCoord U By Model Scale Axis - [Clarify]
- UV.u*model.x - [Clarify]
- UV.u*model.y - [Clarify]
- UV.u*model.z - [Clarify]
- Scale TexCoord V By Model Scale Axis - [Clarify]
- UV.u*model.x - [Clarify]
- UV.u*model.y - [Clarify]
- UV.u*model.z - [Clarify]
- Tint Mask (Image Input)
- Image Suffix: _mask
![Note.png](/w/images/thumb/c/cc/Note.png/10px-Note.png)
Texture Animation (Appears When Toggled)
Todo: Description
- Animation Grid - [Clarify]
- Num Animation Cells - [Clarify]
- Animation Time Per Frame - [Clarify]
- Animation Time Offset - [Clarify]
- Animation Frame - [Clarify]
Translucent (Appears When Toggled)
Todo: Description
- When Alpha Test is Enabled
- Alpha Test Reference (Range: 0.010 - 0.990)
- Alpha Test Reference (Range: 0.010 - 0.990)
For 'alpha test' (1bit) alpha textures this adjusts the cutoff point between 100% transparent and 100% opaque. Useful, particularly, when the alpha test surface is disappearing at lower mip levels.
- Anti Aliased Edge Strength (Range: 0.000 - 1.000)
- When Translucent is Enabled
- Opacity Scale (Range: 0.000 - 1.000)
- Translucency (Image Input)
- Image Suffix: _trans
Normal
Todo: Description
- Normal (Image Input)
- Image Suffix: _normal
Lighting
Roughness
Todo: Description
- Roughness (Image Input)
- Image Suffix: _rough
Metalness
Controls color tinting of the specular highlites. The tint color is based on the underlying diffuse color texture. Typically used for metal materials but is useful on all surfaces when used sparingly.
- Metalness - Controls the metalness for the whole texture. (Range 0.000 - 1.00)
- Metalness (Image Input)
- Image Suffix: _metal
![Note.png](/w/images/thumb/c/cc/Note.png/10px-Note.png)
Decal Texture (Appears When Toggled)
Todo: Description
- Decal (Image Input)
- Image Suffix: _decal
- Decal Translucency (Image Input)
- Image Suffix: _trans
Ambient Occlusion
Todo: Description
- Ambient Occlusion (Image Input)
- Image Suffix: _ao
- Use Secondary Uv For Ambient Occlusion - Whether to use the secondary UV for the ambient occlusion
![Note.png](/w/images/thumb/c/cc/Note.png/10px-Note.png)
Self Illum (Appears When Toggled)
Todo: Description
- Self Illum Mask (Image Input)
- Image Suffix: _selfillum
Detail Texture (Appears When Toggled)
Todo: Description
- Detail (Image Input)
- Image Suffix: _detail
![Note.png](/w/images/thumb/c/cc/Note.png/10px-Note.png)
- Detail Normal (Image Input)
- Image Suffix: _normal
![Note.png](/w/images/thumb/c/cc/Note.png/10px-Note.png)
- Detail Normal Strength - [Clarify] (Range: 0.000 - 1.000)
- Detail Blend Factor - [Clarify] (Range: 0.000 - 1.000)
- Tex Coord Scale - Adjusts the U and V scale for this layer.
- Left Box - [Clarify], U coord, multiplier, any number.
- Right Box - [Clarify], V coord, multiplier, any number.
- Tex Coord Rotation - Rotates the texture. Range is -360 to +360
- Detail Mask (Image Input)
- Image Suffix: _detailmask
- Detail Tex Coord Offset - [Clarify]
- Left Box - [Clarify], U Coord (Range: 0.000 - 1.00)
- Right Box - [Clarify], V Coord (Range: 0.000 - 1.00)
- Detail Blend To Full - [Clarify] (Range: 0.000 - 1.00)
- Use Secondary Uv For Detail Mask - [Clarify]
- Use Secondary Uv For Detail Texture - [Clarify]
Fog
Todo: Description
- Fog Enabled - Choose whether or not material is affected by fog.
Texture Address Mode
Todo: Description
- Address Mode U - [Clarify]
- Wrap - [Clarify]
- Mirror - [Clarify]
- Clamp - [Clarify]
- Border - [Clarify]
- MirrorOnce - [Clarify]
- Address Mode V - [Clarify]
- Wrap - [Clarify]
- Mirror - [Clarify]
- Clamp - [Clarify]
- Border - [Clarify]
- MirrorOnce - [Clarify]
Transmission (Appears When Toggled)
Todo: Description
- Transmissive Color (Image Input)
- Image Suffix: _color
![Note.png](/w/images/thumb/c/cc/Note.png/10px-Note.png)
Shader Features
Shadows
- Do Not Cast Shadows - Disables shadows being cast from this material.
2-Sided Rendering
- Render Backfaces - Disables culling on backfaces.
- Don't Flip Backface Normals - Doesn't flip the backfaces normals, when Render Backfaces is enabled.
Z-Buffering
- Disable Z Buffering - [Clarify]
- Depth Bias - [Clarify]
- Occlusion Culling Bounds Scale - [Clarify]
- When Enabled: Adds a variable multiplier with a range of 1.000 - 100.000
Z-Prepass
- Disable Z Prepass - [Clarify]
Translucent
- Alpha Test - [Clarify]
- Translucent - [Clarify]
- Additive Blend - [Clarify]
Per-Instance Tint Mask
- Tint Mask - When enabled, adds a Tint Mask section to the Color variable.
PBR
- Anistropic Gloss - [Clarify]
- Self Illum - [Clarify]
- Metalness Texture - When enabled, adds an image input to the Metalness variable.
- Transmissive Backface Ndotl - [Clarify]
- Use Albedo for Transmissive - [Clarify]
- Disable Transmissive Shadows - [Clarify]
- Cloth Shading - [Clarify]
Detail Texture
- Detail Texture - [Clarify]
- None - [Clarify]
- Mod2x - [Clarify]
- Overlay - [Clarify]
- Normals - [Clarify]
- Overlay and Normals - [Clarify]
Secondary UV
- Secondary Uv - Enable use of the second UV, if one exists on the model. This can then be used for Ambient Occlusion, Detail Texture, or Decal Texture.
Animation
- Texture Animation - [Clarify]
- Texture Animation Mode - [Clarify]
- Sequential - [Clarify]
- Random - [Clarify]
- Scripted - [Clarify]
Decal Texture
- Decal Texture - Enables Decal Texture Variable.
Decal Blend Mode
- Decal Blend Mode - [Clarify]
Vertex Color
- Paint Vertex Colors - Allows the material to be painted with Vertex Colors inside Hammer.
Lightmapping
- Ignore Face Normals for Lighting - [Clarify]