MCPcopy Create free account
hub / github.com/TTimo/doom3.gpl / AddImplicitStages

Method AddImplicitStages

neo/renderer/Material.cpp:1679–1727  ·  view source on GitHub ↗

============== idMaterial::AddImplicitStages If a material has diffuse or specular stages without any bump stage, add an implicit _flat bumpmap stage. If a material has a bump stage but no diffuse or specular stage, add a _white diffuse stage. It is valid to have either a diffuse or specular without the other. It is valid to have a reflection map and a bump map for bumpy reflection ===========

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 3

LoadMemoryMethod · 0.45
SetFlagsMethod · 0.45
FreeSourceMethod · 0.45

Tested by

no test coverage detected