18 lines
369 B
HLSL
Executable file
18 lines
369 B
HLSL
Executable file
#ifndef DATA
|
|
#define DATA
|
|
|
|
struct PoiLighting
|
|
{
|
|
float3 direction;
|
|
float3 position;
|
|
float3 color;
|
|
float attenuation;
|
|
float3 directLighting;
|
|
float3 indirectLighting;
|
|
float lightMap;
|
|
float3 rampedLightMap;
|
|
float3 finalLighting;
|
|
float nDotL;
|
|
};
|
|
|
|
#endif |