mirror of
https://github.com/ncblakely/GiantsTools
synced 2024-11-04 22:35:37 +01:00
24 lines
350 B
HLSL
24 lines
350 B
HLSL
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;
|
|
}; |