Skip to content
SE2Dev edited this page Sep 26, 2016 · 2 revisions

At the time of writing this, most features work relatively reliably. There are, however a number of issues that need to be resolved.

  • CoD2Rad occasionally produces blue / orange patterns in lightmaps (presumably due to the default texture being used in place of the correct color maps during radiosity calculations - however replacing the default texture does not appear to resolve the issue)
  • Radiant has issues rendering nearly all skybox models (the visible results vary based on GPU vendor)
  • Radiant does not draw many models correctly or at all (Caused by rerouting the used techsets / techniques, etc. to WAW variants - this may be resolvable by rewriting a large portion of the renderer to natively support BO1 techsets, techniques, shaders, etc.)
  • Radiant does not render certain blend / decal materials correctly when modifying transparency (See above)
  • Many water materials do not function correctly (do not draw, don't produce swimmable water, don't compile etc.) - the drawing issue is caused by a number of techniques that were not included in the mod tools

At present, several source files required by the material pipeline can be rebuilt from in-game data rather easily. These include:

  • Techsets
  • Shaders

All materials depend on a single techset, and all techsets depend on up to 130 different techniques, as seen below: alt text

Furthermore, all techniques depend on a single vertex shader, pixel shader, and statemap, as seen below: alt text

The issue lies in the fact that technique source are extremely difficult to rebuilt from compiled game data, with statemaps being arguably even more difficult than that. As a result, it is currently unknown if these materials will ever be drawn correctly.

Clone this wiki locally