Donut Team is a labor of love, built and maintained by a small group of passionate developers. We invest our own time and resources to offer our tools, mods, and web services completely free of charge.

We don't run ads, and we will never sell your data - period.

If you've enjoyed anything we've created, please consider supporting our work with a one-time or monthly donation via our Ko-fi page . Every contribution helps us continue building great experiences for the community.

Dismiss
  • Games
  • Radical Entertainment
  • Shared File Formats
  • Pure3D Files
  • Chunk Types
  • General

Shader (0x11000)

A Shader chunk represents a material for a drawable, such as a Mesh (0x10000).

Data Structure

Property Data Type Description
Version uint32 TODO
PddiShaderName string TODO
HasTranslucency bool TODO
VertexNeeds VertexMasks TODO
VertexMask ~VertexMasks TODO
NumParams uint32 TODO
Name string TODO

VertexMasks

Name Value
None 0
UVs 1
UVs2 2
UVs3 3
UVs4 4
UVs5 5
UVs6 6
UVs7 7
UVs8 8
Normals 1 << 4
Colours 1 << 5
Specular 1 << 6
Matrices 1 << 7
Weights 1 << 8
Size 1 << 9
W 1 << 10
BiNormal 1 << 11
Tangent 1 << 12
Position 1 << 13
Colours2 1 << 14
ColourCount1 1 << 15
ColourCount2 2 << 15
ColourCount3 3 << 15
ColourCount4 4 << 15
ColourCount5 5 << 15
ColourCount6 6 << 15
ColourCount7 7 << 15

Parents

TODO

Children