You can play with the shader and see what it does,
for example modifying file C2E1v_red.cg ( from zip above ) to:
... will give completely new look, as seen on image belowstruct C2E1v_Output {
float4 position : POSITION;
float3 color : COLOR;
};
C2E1v_Output C2E1v_red(float2 position : POSITION)
{
C2E1v_Output OUT;
OUT.position = float4(position,0,1);
OUT.color = float3(1+position.x,position.x > position.y,0);
return OUT;
}
Petr
Bookmarks