Skip to content
Oliver edited this page Nov 28, 2021 · 10 revisions

For more information on the the actual components, materials and fields used in COD shaders go to xoxor4d's wiki. It details things for COD4, so most examples and instructions will not match BO3 but there is a lot of good information. You should also check out Scobalula's work on shaders as well (although I plan to add most of it to this repo so it is more complete)

I will be adding examples, tools and reversed shaders to the repo. There is already a basic example if you would like to skip the guide and just try out some stuff. It is just a drag and drop, the texture in Radiant is called 'example_material'.

Contributions, corrections and further research as well as adding anything you know is very much appreciated!

Current priorities/todo:

  • Update explanation of certain things in techset docs
  • Update mod tools and include docs
  • Add more to info shader docs
  • Fast file research
    • Write script for extracting techsets and shaders
    • Research and write docs on binary techset and material data
    • Figure out how the game determines which shader to use on certain surfaces
  • Research more about physical rendering process
    • What do render flags and material types really do?
    • How does the game determine the render queue order?
    • What determines if stencil states are used?
    • What determines which code and constant buffer resources are used?

Special thanks to:

  • alexisloic21 - Contributing decompiled and reversed shaders