show potential selections in band-box; FindUnits is still wrong.

This commit is contained in:
Chris Forbes
2009-10-08 22:39:26 +13:00
parent 40969087f0
commit f6eb20bbf8
5 changed files with 43 additions and 33 deletions

View File

@@ -27,20 +27,19 @@ VertexOut Simple_vp(VertexIn v) {
o.Position = float4(p.x,p.y,0,1);
o.Color.rg = v.RG.xy;
o.Color.ba = v.BA.xy;
o.Color.a = 1.0f;
// o.Color.a = 1.0f;
return o;
}
const float2 texelOffset = float2( 0, 1.0f/32.0f );
float4 Simple_fp(FragmentIn f) : COLOR0 {
return float4(1,1,1,1);
//return f.Color;
return f.Color;
}
technique high_quality {
pass p0 {
AlphaBlendEnable = false;
AlphaBlendEnable = true;
ZWriteEnable = false;
ZEnable = false;
CullMode = None;