18 lines
369 B
HLSL
18 lines
369 B
HLSL
|
#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
|