(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
@@ -20,14 +20,14 @@ float4x4 xUvTransform;
struct VertexShaderInput
{
float4 Position : SV_POSITION;
float4 Position : POSITION0;
float4 Color : COLOR0;
float2 TexCoords: TEXCOORD0; // added
};
struct VertexShaderOutput
{
float4 Position : SV_POSITION;
float4 Position : POSITION0;
float4 Color : COLOR0;
float2 TexCoords: TEXCOORD0; // added
};
@@ -95,7 +95,7 @@ float4 mainPSBlurred(VertexShaderOutput input) : COLOR
return sample;
}
float4 mainPostProcess(float4 position : SV_Position, float4 color : COLOR0, float2 texCoord : TEXCOORD0) : COLOR0
float4 mainPostProcess(float4 position : POSITION0, float4 color : COLOR0, float2 texCoord : TEXCOORD0) : COLOR0
{
float4 bumpColor = tex2D(WaterBumpSampler, texCoord + xUvOffset + xBumpPos);
bumpColor = (bumpColor + tex2D(WaterBumpSampler, texCoord - xUvOffset * 2.0f + xBumpPos)) * 0.5f;