Original Post
Right now am stuck in stencil buffer bcoz of D3DXPLANE. I refer to Frank D. Luna's book, so how does this constructor represent XY plane: D3DXPLANE plane(0.0f, 0.0f, 1.0f, 0.0f); // xy plane Please give me some detail info about it and what's the use of 4th component in D3DXVECTOR4 structure (w component)?