This repository has been archived on 2024-03-22. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
DX11Starter/Lights.h
2022-03-19 15:05:25 -04:00

17 lines
335 B
C

#pragma once
#define LIGHT_TYPE_DIRECTIONAL 0
#define LIGHT_TYPE_POINT 1
#define LIGHT_TYPE_SPOT 2
#include <DirectXMath.h>
struct Light
{
int Type;
DirectX::XMFLOAT3 Direction;
float Range;
DirectX::XMFLOAT3 Position;
float Intensity;
DirectX::XMFLOAT3 Color;
float SpotFalloff;
DirectX::XMFLOAT3 Padding;
};