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

Method FinishSurfaces

neo/renderer/Model.cpp:580–708  ·  view source on GitHub ↗

================ idRenderModelStatic::FinishSurfaces The mergeShadows option allows surfaces with different textures to share silhouette edges for shadow calculation, instead of leaving shared edges hanging. If any of the original shaders have the noSelfShadow flag set, the surfaces can't be merged, because they will need to be drawn in different order. If there is only one surface, a separate

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 5

ReadFromDemoFileMethod · 0.95
drawMethod · 0.80
BuildRendererStateMethod · 0.80
ParseModelMethod · 0.80

Calls 15

R_BoundTriSurfFunction · 0.85
R_CopyStaticTriSurfFunction · 0.85
R_ReverseTrianglesFunction · 0.85
R_CleanupTrianglesFunction · 0.85
ShouldCreateBackSidesMethod · 0.80
UseUnsmoothedTangentsMethod · 0.80
SurfaceCastsShadowMethod · 0.80
AddToSurfaceAreaMethod · 0.80
DeformMethod · 0.80
ZeroMethod · 0.45
NumMethod · 0.45
AddBoundsMethod · 0.45

Tested by

no test coverage detected