diff options
Diffstat (limited to 'Runtime/Camera/LightCulling.h')
-rw-r--r-- | Runtime/Camera/LightCulling.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Runtime/Camera/LightCulling.h b/Runtime/Camera/LightCulling.h new file mode 100644 index 0000000..a55de69 --- /dev/null +++ b/Runtime/Camera/LightCulling.h @@ -0,0 +1,7 @@ +#pragma once + +// Figures out all lights that are visible in the scene +void FindAndCullActiveLights (const SceneCullingParameters& sceneCullParameters, const ShadowCullData& cullData, ActiveLights& outLights); + +// Figures out lights for given object, no sorting. +void CullPerObjectLights (const ActiveLights& activeLights, const AABB& globalObjectAABB, const AABB& localObjectAABB, const Matrix4x4f& objectTransform, float invScale, int layerMask, bool lightmappedObject, bool dualLightmapsMode, ObjectLightIndices& outIndices);
\ No newline at end of file |