MCPcopy Create free account
hub / github.com/MBU-Team/OpenMBU / sgCastLightRay

Function sgCastLightRay

engine/source/lightingSystem/sgLightMap.cc:186–202  ·  view source on GitHub ↗

void sgColorMap::sgMerge(GBitmap *lightmap, U32 xoffset, U32 yoffset, bool normalblend) { U32 y, x, c, frag; U8 *bits; sgFillInLighting(); sgBlur(); for(y=0; y getAddress(xoffset, (yoffset + y)); c = 0; for(x=0; x<sgWidth; x++) { ColorF &texel = sgData[((y * sgWidth) + x)]; if(norm

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

sgCalculateLightingMethod · 0.85

Calls 4

mulPMethod · 0.80
convolveInverseMethod · 0.80
getScaleMethod · 0.45
castRayMethod · 0.45

Tested by

no test coverage detected