1
0
mirror of https://github.com/ncblakely/GiantsTools synced 2024-11-05 06:45:37 +01:00
GiantsTools/Shaders/fxh/Lighting.fxh

24 lines
350 B
HLSL
Raw Normal View History

2020-11-03 10:46:00 +01:00
struct Material
{
float4 Diffuse;
float4 Ambient;
float4 Specular;
float4 Emissive;
float Power;
};
struct Lighting
{
float4 Diffuse : COLOR0;
float4 Specular : COLOR1;
};
struct TextureBlendStage
{
int colorOp;
int colorArg1;
int colorArg2;
int alphaOp;
int alphaArg1;
int alphaArg2;
};