Counter-Strike 2 Workshop Tools/Materials/Material Creation/Csgo Complex

From Valve Developer Community
Jump to navigation Jump to search

Csgo Complex is a very commonly used shader in CS2, usually used for non blendable textures or emissive textures. Page is loosely organized based on how it appears in Material Editor.

Texture Inputs and Values

Color

  • Color (Image Input) - Path to raw image, accepting .psd, .tga, .tif, .pfm, .mks, .png, .jpg, .exr

Normal

  • Normal (Image Input) - Path to raw image, accepting .psd, .tga, .tif, .pfm, .mks, .png, .jpg, .exr

Lighting

  • Roughness (Image Input) - Path to raw image, accepting .psd, .tga, .tif, .pfm, .mks, .png, .jpg, .exr

Ambient Occlusion

  • Ambient Occlusion (Image Input) - Path to raw image, accepting .psd, .tga, .tif, .pfm, .mks, .png, .jpg, .exr

Fog

  • Fog Enabled - Choose whether or not material is affected by fog.

Texture Address Mode

  • 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]


Shader Options

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]

Z-Prepass

  • Disable Z Prepass - [Clarify]

Translucent

  • Alpha Test - [Clarify]
  • Translucent - [Clarify]
  • Additive Blend - [Clarify]

Per-Instance Tint Mask

  • Tint Mask - When toggled, it'll add a Tint Mask section to the Color variable.

PBR

  • Anistropic Gloss - [Clarify]
  • Self Illum - [Clarify]
  • Metalness Texture - [Clarify]
  • 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 - [Clarify]

Animation

  • Texture Animation - [Clarify]
  • Texture Animation Mode - [Clarify]
    • Sequential - [Clarify]
    • Random - [Clarify]
    • Scripted - [Clarify]

Decal Texture

  • Decal Texture - [Clarify]

Decal Blend Mode

  • Decal Blend Mode - [Clarify]

Vertex Color

  • Paint Vertex Colors - [Clarify]

Lightmapping

  • Ignore Face Normals for Lighting - [Clarify]