Shaders

Shaders have the file extension .fx or .fxh, and can be found in GameData_Win32/Shaders.

HLSL

Shaders use HLSL, the primary language for shaders used in DirectX. The .fx files contain both the Pixel and Vertex Shaders.

Shader hashes

Materials reference shaders using their FNV32 hash:

NameHash
casFace0xCC1046A7
casFaceShiny0xA654AB38
casFaceShinyModulatedAccents0xD91354E0
casFaceShinyModulatedAccentsSkinned0x94AB09A4
casFaceShinyOpaqueAccents0x108747D2
casFaceShinyOpaqueAccentsSkinned0x6548EEC2
casFaceShinyReversedAccents0xB445141B
casFaceShinyReversedAccentsSkinned0x4F6AD45D
casFaceShinySkinned0x5266048C
casFaceSkinned0x04EB01C1
casHat0x24F7F0DB
casHatSkinned0x6683DB1D
customMask0xFA625054
customMaskSkinned0x68E561D0
Face0xA0C00292
FaceSkinned0x7BF66582
idColor0x41AD8167
idColorSkinned0x544B0481
lambert0x94773578
lambertEnvMap0x04EFD88D
lambertEnvMapSkinned0x57B0516B
lambertLightMap0x11D90EB6
lambertLightMapSkinned0x535168FE
lambertSkinned0x2650FECC
lambertTransparent0x8AAFBD1E
lambertTransparentEnvMap0x8C801E73
lambertTransparentEnvMapSkinned0x5A9B2365
lambertTransparentSkinned0xE16E35F6
lambertTritone0x9D8D3A6F
lineset0xC4C534C9
phong0xB9105A6D
phongSkinned0x65DC8ACB
plumbob0xDEF16564
shadererror0xA2A9B074
shadowMappingIDMapFill0x286A83BB
shadowMappingIDMapLookup_3x3Kernel0xDC3D72E4
shadowMappingIDMapLookup_4x4Kernel_Pass10x53B37265
shadowMappingIDMapLookup_4x4Kernel_Pass20x53B37266
shadowProjector0x293A5873
shadow_low0x7674D0AE
shadow_low_I80xBAF2CFCA
shadow_low_I8_invAlpha0x6F44AB1E
shadow_low_invAlpha0xDA720C6A
shadow_med0xA07751EA
ShinyGlossMap0xFF49577E
ShinyGlossMapSkinned0x8BFF4FD6
ShinyGlossMapTransparent0x14597B24
ShinyGlossMapTransparentSkinned0xFA6AD820
Sim0x22706EFA
SimPreBakedTextures_Tex1Mod_Tex2Mod0xCC7E68DB
SimPreBakedTextures_Tex1Mod_Tex2ModSkinned0xD27B831D
SimPreBakedTextures_Tex1Mod_Tex2Op0xC1C024D4
SimPreBakedTextures_Tex1Mod_Tex2OpSkinned0x28C2BB50
SimPreBakedTextures_Tex1Op_Tex2Mod0xCBE11A70
SimPreBakedTextures_Tex1Op_Tex2ModSkinned0xC6766774
SimPreBakedTextures_Tex1Op_Tex2Op0x46681DE9
SimPreBakedTextures_Tex1Op_Tex2OpSkinned0x51C6313F
SimSkinned0xE70021FA
swarmAdditive0x0BA3C15B
swarmDecal0x79F61866
swarmDecalIgnoreDepth0x80FF4623
swarmDepthDecal0x39A9B569
swarmModulate0x2CD7906E
terrainLightMapTinted0x224E7FEE
text0xB12BFA38
video0xB1CC1AF6
Water0x9E3C3DFA
WaterShiny0xE3B338AF
WaterShinyBumpy0xFF8234C4