1
\$\begingroup\$

I am using Monogame 3.5 and i have simple model of cube. I use BasicEffect to draw it. I want it transparent so i use effect.Alpha = 0.5f. Is it possible to show all edges something like on picture?

enter image description here

\$\endgroup\$

1 Answer 1

1
\$\begingroup\$

Perhaps you could change the RasterizerState fill mode.

RasterizerState rasterizerState = new RasterizerState();
rasterizerState.FillMode = FillMode.WireFrame;
GraphicsDevice.RasterizerState = rasterizerState;
\$\endgroup\$

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .