SaturnRingLibrary 0.9
SGL wrapper
 
Loading...
Searching...
No Matches

◆ SetDepthShadingLimits()

static void SRL::Scene3D::SetDepthShadingLimits ( const SRL::Math::Types::Fxp & near,
const uint16_t depth,
const uint16_t step )
inlinestatic

Set the range from the near distance to the depth in steps.

Parameters
nearNear distance
depthDepth value as power of two (eg: setting it to 5 will result in 32)
stepStep between near distance and depth as power of two