Quantcast
Viewing all articles
Browse latest Browse all 6821

Draw Model Using Alpha Mask

@rystills wrote:

A number of models in my game use alpha masks to draw transparent textures, such as leaves. Unfortunately, in MonoGame, when rendering a model using BasicEffects, the alpha component of textures seems to be ignored, and the textures are instead rendered with alpha as black. To demonstrate this, I constructed a model with leaf textures using a transparent png image. On the left, you can see the model rendering as intended in 3ds max, and on the right, you can see the same model being rendered in MonoGame using BasicEffects.


I know there are a few threads floating around which deal with applying alpha masks in MonoGame, but I'm still having some trouble understanding how to deal with this situation. In the simplest terms, how should I render models with alpha-masked textures in Monogame?

Posts: 3

Participants: 3

Read full topic


Viewing all articles
Browse latest Browse all 6821

Trending Articles