(5a377a8ee) Unstable v0.9.1000.0

This commit is contained in:
Juan Pablo Arce
2020-05-13 12:55:42 -03:00
parent b143329701
commit a1ca41aa5d
426 changed files with 14384 additions and 5708 deletions
@@ -18,14 +18,14 @@ float4 solidColor;
struct VertexShaderInput
{
float4 Position : SV_POSITION;
float4 Position : POSITION0;
float4 Color : COLOR0;
float2 TexCoords: TEXCOORD0;
};
struct VertexShaderOutput
{
float4 Position : SV_POSITION;
float4 Position : POSITION0;
float4 Color : COLOR0;
float2 TexCoords: TEXCOORD0;
};
@@ -75,6 +75,11 @@ float4 mainPS(VertexShaderOutput input) : COLOR
return xTexture.Sample(TextureSampler, input.TexCoords) * input.Color;
}
float4 solidVertexColorPS(VertexShaderOutput input) : COLOR
{
return input.Color * xTexture.Sample(TextureSampler, input.TexCoords).a;
}
float4 solidColorPS(VertexShaderOutput input) : COLOR
{
return solidColor * xTexture.Sample(TextureSampler, input.TexCoords).a;
@@ -96,4 +101,13 @@ technique DeformShaderSolidColor
VertexShader = compile vs_4_0_level_9_1 mainVS();
PixelShader = compile ps_4_0_level_9_1 solidColorPS();
}
}
technique DeformShaderSolidVertexColor
{
pass Pass1
{
VertexShader = compile vs_4_0_level_9_1 mainVS();
PixelShader = compile ps_4_0_level_9_1 solidVertexColorPS();
}
}