Issue with transparent texture on 3D primitive, XNA 4.0

后端 未结 4 921
礼貌的吻别
礼貌的吻别 2021-01-01 05:50

I need to draw a large set of cubes, all with (possibly) unique textures on each side. Some of the textures also have parts of transparency. The cubes that are behind ones w

4条回答
  •  渐次进展
    2021-01-01 06:16

    You may be able to use this if you don't have semi-transparent pixels on the objects. It'll either render completely solid or won't write to the Z-Buffer. As in Riemers Alpha Testing.

提交回复
热议问题