2024-06-29 16:30:03 -07:00
|
|
|
[require]
|
|
|
|
shader model >= 5.0
|
|
|
|
shader model < 6.0
|
|
|
|
|
|
|
|
[effect]
|
|
|
|
struct s
|
|
|
|
{
|
|
|
|
Texture t;
|
|
|
|
float4 f;
|
|
|
|
};
|
|
|
|
|
2024-06-29 17:10:12 -07:00
|
|
|
[effect fail]
|
2024-06-29 16:30:03 -07:00
|
|
|
struct s
|
|
|
|
{
|
|
|
|
Texture t;
|
|
|
|
float4 f;
|
|
|
|
};
|
|
|
|
|
|
|
|
s var;
|
2024-08-06 05:20:20 -07:00
|
|
|
|
|
|
|
[effect]
|
|
|
|
Texture t1;
|
|
|
|
Texture1D t2;
|
|
|
|
Texture1DArray t3;
|
|
|
|
Texture2D t4;
|
|
|
|
Texture2DArray t5;
|
|
|
|
Texture2DMS<float4, 4> t6;
|
|
|
|
Texture2DMSArray <float4, 4> t7;
|
|
|
|
Texture3D t8;
|
|
|
|
TextureCube t9;
|
|
|
|
TextureCubeArray t10;
|
|
|
|
|
|
|
|
SamplerState sampler1 { Texture = t1; };
|
|
|
|
SamplerState sampler2 { Texture = t2; };
|
|
|
|
SamplerState sampler3 { Texture = t3; };
|
|
|
|
SamplerState sampler4 { Texture = t4; };
|
|
|
|
SamplerState sampler5 { Texture = t5; };
|
|
|
|
SamplerState sampler6 { Texture = t6; };
|
|
|
|
SamplerState sampler7 { Texture = t7; };
|
|
|
|
SamplerState sampler8 { Texture = t8; };
|
|
|
|
SamplerState sampler9 { Texture = t9; };
|
|
|
|
SamplerState sampler10 { Texture = t10; };
|
2024-08-07 03:59:24 -07:00
|
|
|
|
|
|
|
[effect]
|
2024-08-07 06:48:57 -07:00
|
|
|
BlendState bs
|
|
|
|
{
|
|
|
|
BlendEnable[7] = true;
|
|
|
|
BlendEnable[6] = false;
|
2024-08-08 15:27:01 -07:00
|
|
|
BlendEnable[5] = fAlse;
|
2024-08-07 06:48:57 -07:00
|
|
|
RenderTargetWriteMask[2] = 0x12;
|
|
|
|
SrcBlend[2] = one;
|
|
|
|
DestBlend[1] = zero;
|
|
|
|
BlendOp[3] = min;
|
|
|
|
SrcBlendAlpha[7] = dest_color;
|
|
|
|
DestBlendAlpha[5] = src1_alpha;
|
|
|
|
BlendOpAlpha[4] = add;
|
|
|
|
};
|
|
|
|
|
2024-08-11 05:21:25 -07:00
|
|
|
[effect]
|
2024-08-07 06:48:57 -07:00
|
|
|
BlendState bs
|
|
|
|
{
|
|
|
|
SrcBlend = one;
|
|
|
|
DestBlend = zero;
|
|
|
|
BlendOp = min;
|
|
|
|
SrcBlendAlpha = dest_color;
|
|
|
|
DestBlendAlpha = src1_alpha;
|
|
|
|
BlendOpAlpha = add;
|
|
|
|
};
|