mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2026-06-06 08:42:35 +00:00
Spot lights now are fully implemented, with omni and directional not working.
This commit is contained in:
@@ -61,13 +61,15 @@ namespace BSP
|
||||
struct BSPLight
|
||||
{
|
||||
BSPLightType type;
|
||||
vec3_t pos;
|
||||
vec3_t direction;
|
||||
vec3_t colour;
|
||||
float range;
|
||||
float intensity;
|
||||
|
||||
// only used on spot and dir lights
|
||||
vec3_t pos;
|
||||
vec3_t direction;
|
||||
bool hasPosBeenSet;
|
||||
|
||||
// angle is in radians. only used on spot/dir lights
|
||||
float innerConeAngle;
|
||||
float outerConeAngle;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user