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

Function R_CreateShadowVolume

neo/renderer/tr_stencilshadow.cpp:1217–1395  ·  view source on GitHub ↗

================= R_CreateShadowVolume The returned surface will have a valid bounds and radius for culling. Triangles are clipped to the light frustum before projecting. A single triangle can clip to as many as 7 vertexes, so the worst case expansion is 2*(numindexes/3)*7 verts when counting both the front and back caps, although it will usually only be a modest increase in vertexes for closed

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 2

CreateLightShadowFunction · 0.85
CreateInteractionMethod · 0.85

Calls 15

R_CalcInteractionFacingFunction · 0.85
R_GlobalPointToLocalFunction · 0.85
R_GlobalPlaneToLocalFunction · 0.85
R_AllocStaticTriSurfFunction · 0.85
GetBoolMethod · 0.45
ErrorMethod · 0.45

Tested by

no test coverage detected