summaryrefslogtreecommitdiff
path: root/Runtime/Camera/LightCulling.h
blob: a55de69c1fc52419e3981b05d458e843a0cd1829 (plain)
1
2
3
4
5
6
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);