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

Function R_HeightmapToNormalMap

neo/renderer/Image_program.cpp:79–135  ·  view source on GitHub ↗

================= R_HeightmapToNormalMap it is not possible to convert a heightmap into a normal map properly without knowing the texture coordinate stretching. We can assume constant and equal ST vectors for walls, but not for characters. ================= */

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

R_ParseImageProgram_rFunction · 0.85

Calls 3

R_StaticAllocFunction · 0.85
R_StaticFreeFunction · 0.85
NormalizeFastMethod · 0.80

Tested by

no test coverage detected