ThePentiumGuy
Senior Contributor
hey,
i created a mesh program thingy,
the only way i got it to work was if i changed:
D3Ddev.Clear(ClearFlags.Target Or ClearFlags.ZBuffer, Color.FromArgb(0, 20, 0), 0, 0)
to
D3Ddev.Clear(ClearFlags.Target Or ClearFlags.ZBuffer, Color.FromArgb(0, 20, 0), 1, 0)
that argument(Changing from 0 to 1) is the ZDepth,
does anyone know what this argument does? Becuase if it was 0, the mesh wouldnt be displayed at all
i created a mesh program thingy,
the only way i got it to work was if i changed:
D3Ddev.Clear(ClearFlags.Target Or ClearFlags.ZBuffer, Color.FromArgb(0, 20, 0), 0, 0)
to
D3Ddev.Clear(ClearFlags.Target Or ClearFlags.ZBuffer, Color.FromArgb(0, 20, 0), 1, 0)
that argument(Changing from 0 to 1) is the ZDepth,
does anyone know what this argument does? Becuase if it was 0, the mesh wouldnt be displayed at all