2013-12-05 14:56:34 +01:00
|
|
|
#ifndef DEFINES
|
|
|
|
#define DEFINES
|
|
|
|
|
2013-11-28 14:34:52 +01:00
|
|
|
struct PointLight
|
|
|
|
{
|
2013-12-05 14:56:34 +01:00
|
|
|
float4 PosRadius;
|
|
|
|
float4 ColorBright;
|
|
|
|
};
|
|
|
|
|
|
|
|
struct DiffSpec
|
|
|
|
{
|
|
|
|
float3 Diffuse;
|
|
|
|
float3 Specular;
|
|
|
|
};
|
|
|
|
|
|
|
|
cbuffer PointLights : register(b0)
|
|
|
|
{
|
|
|
|
PointLight pl;
|
|
|
|
}
|
|
|
|
|
|
|
|
cbuffer LightConstants : register(b1)
|
|
|
|
{
|
|
|
|
float4x4 InvProj;
|
|
|
|
int2 Pixels;
|
|
|
|
}
|
|
|
|
|
|
|
|
Texture2D DiffuseGlow : register(t0);
|
|
|
|
Texture2D NormalSpec : register(t1);
|
|
|
|
Texture2D DepthTexture : register(t2);
|
2013-11-28 14:34:52 +01:00
|
|
|
|
2013-12-05 14:56:34 +01:00
|
|
|
#endif
|