wtf, still doesnt work. probably i'm misunderstanding how to use VBOs

This commit is contained in:
Chris Forbes
2010-02-16 08:35:34 +13:00
parent 09ee4ee50d
commit 3198f3419d
2 changed files with 23 additions and 6 deletions

View File

@@ -32,14 +32,16 @@ VertexOut Simple_vp(VertexIn v) {
}
float4 Simple_fp(FragmentIn f) : COLOR0 {
float4 r = tex2D(DiffuseTexture, f.Tex0);
return r;
return float4( 1,0,0,1 );
// float4 r = tex2D(DiffuseTexture, f.Tex0);
// return r;
}
technique high_quality {
pass p0 {
BlendEnable = true;
DepthTestEnable = false;
// CullFace = NONE;
// CullMode = None;
// FillMode = Solid;
VertexProgram = compile arbvp1 Simple_vp();