Draw Material Simple is too dark

Hey,

in my game I want to show a mugshot of a NPC for a few seconds in the top left corner of the screen. Therefore I created a SceneCaptureComponent2D and set the TextureTarget to a TextureRenderTarget2D. Then I created a material using this texture with the these settings:

as you can see, it looks fine but when I draw it using the HDU class and DrawMaterialSimple it get’s really dark. When I put the material on a box it also looks okay:

Does anyone know what I’m doing wrong? Furthermore, when using DrawMaterial instead of DrawMaterialSimple the box in the upper left corner is completly black.

Hey I’m having the exact same problem. Does anyone know the answer?

This worked for me.

Instead of drawing the Material, draw the Texture. But you maybe have to click on the little arrow and set Translucent to Opaque

This solution worked for me. Thank you so much! To the original poster you probably haven’t filled all the fields in correctly for DrawMaterial. uwidth and uheight should be 1.0