Build a lighting table to remap sun contribution from landscape to sun contribution for objects.
The value remap the landscape sun contribution (0 ~ 1) to an object sun contribution (0 ~1) using the following formula:
objectSunContribution = min ( powf ( landscapeSunContribution / maxThreshold, power ), 1 );
Default is 0.5 (=> sqrt) for power and 0.5 for maxThreshold.
Implements NL3D::UVisualCollisionManager.
Definition at line 76 of file visual_collision_manager_user.h.
References _Manager, and NL3D_MEM_VISUAL_COLLISION. |