Multicolored Mesh with transparency

Was this article helpful?
2 out of 2 found this helpful

Comments

3 comments
Date Votes
  • great example he helped me a lot!

    I found an error in line

    case natureType.MulticolorSmooth:
    context.DrawMulticolorPlainTriangles(Triangles, Vertices, Normals, alpha);
    break;


    FIX:
    case natureType.MulticolorSmooth:
    context.DrawMulticolorSmoothTriangles(Triangles, Vertices, Normals, alpha);
    break;

     

    Thank you!

    0
  • Code fixed, thanks for reporting it :)

    0
  • I want to create a rect region which should be zoom/position independent. This code does that, but I want the rect region to be transparent. 

    somehow this alpha value of 50 in DrawMulticolorPlainTriangles() has no effect. How to make it transparent?

    Thanks in advance!

    0

Please sign in to leave a comment.

Articles in this section