   Opacity when using vertex buffers
  I'm using a vertex buffer to define a simple textured square to use for tiling. Is there any way I can set the opacity of the drawn primitives without having to modify the colour of each vertex in the buffer? I basically want to be able to draw semi-transparent tiles.Thanks. :)   
  You can use:pDevice->SetTextureStageState(0, D3DTSS_ALPHAOP, D3DTOP_MODULATE);pDevice->SetTextureStageState(0, D3DTSS_ALPHAARG1, D3DTA_TEXTURE);pDevice->SetTextureStageState(0, D3DTSS_ALPHAARG2, D3DTA_TFACTOR);pDevice->SetRenderState(D3DRS_TEXTUREFACTOR, D3DCOLOR_ARGB(a, 0xff, 0xff, 0xff));Where a is your alpha value (Assuming you haven't modified any other texture stage states from their default values).   ;  Perfect. :)Thanks   