Original Post
Hy! I'm trying to make my particle system's drawing function sprite based with ID3DXSprite, but the final image on the screen is terrible. What's the problem? here's the code: SpriteObject->Begin(D3DXSPRITE_OBJECTSPACE | D3DXSPRITE_BILLBOARD | D3DXSPRITE_ALPHABLEND); ... LOOP ... D3DXMatrixScaling(&Mat1,Particles.Scale,Particles.Scale,Particles.Scale); D3DXMatrixRotationZ(&Mat3,Particles.Rotation); D3DXMatrixTranslation(&Mat2, Particles.Pos.x,Particles.Pos.y,Particles.Pos.z); FINAL = Mat1 * Mat3 * Mat2; SpriteObject->SetWorldViewRH(&FINAL,NULL); SpriteObject->Draw(Textures[Particles.TextureID],NULL,NULL,NULL,Particles.Color); ... LOOPEND