Light Culling still doesn't work properly

This commit is contained in:
Dynamitos committed 2022-02-24 22:38:26 +01:00
1 parent 5268bb68e2
commit 84049a762c
44 files changed
+163 -151

No files matched your search

+1 -2
View File
@@ -19,7 +19,6 @@ struct DirectionalLight
struct PointLight
{
Vector4 positionWS;
Vector4 positionVS;
Vector4 colorRange;
};
@@ -46,7 +45,7 @@ public:
const std::vector<PPrimitiveComponent>& getPrimitives() const { return primitives; }
const std::vector<StaticMeshBatch>& getStaticMeshes() const { return staticMeshes; }
const LightEnv& getLightBuffer() const { return lightEnv; }
LightEnv& getLightBuffer() { return lightEnv; }
private:
std::vector<StaticMeshBatch> staticMeshes;
std::vector<PActor> rootActors;