adding directional light actor

This commit is contained in:
Dynamitos
2023-03-09 17:39:57 +01:00
parent 2607c28b98
commit b79525c1a6
14 changed files with 144 additions and 50 deletions
-13
View File
@@ -11,19 +11,6 @@ namespace Seele
DECLARE_REF(Material)
DECLARE_REF(Entity)
struct DirectionalLight
{
Vector4 color;
Vector4 direction;
};
struct PointLight
{
Vector4 positionWS;
//Vector4 positionVS;
Vector4 colorRange;
};
#define MAX_DIRECTIONAL_LIGHTS 4
#define MAX_POINT_LIGHTS 256
struct LightEnv