Unstable 0.1300.0.3
This commit is contained in:
@@ -26,6 +26,8 @@ sampler TextureSampler : register (s0) = sampler_state { Texture = <xTexture>; }
|
||||
Texture2D xLosTexture;
|
||||
sampler LosSampler = sampler_state { Texture = <xLosTexture>; };
|
||||
|
||||
float xLosAlpha;
|
||||
|
||||
float4 xColor;
|
||||
|
||||
float4 mainPS(VertexShaderOutput input) : COLOR0
|
||||
@@ -39,7 +41,7 @@ float4 mainPS(VertexShaderOutput input) : COLOR0
|
||||
sampleColor.r * xColor.r,
|
||||
sampleColor.g * xColor.g,
|
||||
sampleColor.b * xColor.b,
|
||||
obscureAmount);
|
||||
obscureAmount * xLosAlpha);
|
||||
|
||||
return outColor;
|
||||
}
|
||||
|
||||
@@ -26,6 +26,8 @@ sampler TextureSampler : register (s0) = sampler_state { Texture = <xTexture>; }
|
||||
Texture xLosTexture;
|
||||
sampler LosSampler = sampler_state { Texture = <xLosTexture>; };
|
||||
|
||||
float xLosAlpha;
|
||||
|
||||
float4 xColor;
|
||||
|
||||
float4 mainPS(VertexShaderOutput input) : COLOR0
|
||||
@@ -39,7 +41,7 @@ float4 mainPS(VertexShaderOutput input) : COLOR0
|
||||
sampleColor.r * xColor.r,
|
||||
sampleColor.g * xColor.g,
|
||||
sampleColor.b * xColor.b,
|
||||
obscureAmount);
|
||||
obscureAmount * xLosAlpha);
|
||||
|
||||
return outColor;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user