Transparency Not Working

9 views
Skip to first unread message

Austin Greene

unread,
Apr 16, 2014, 4:42:25 PM4/16/14
to rab...@googlegroups.com
Hey All,

I'm using rabbyt and pyglet for a final project and in general I am loving it. I only have one rather glaring issue, all the transparent sections of my textures are being rendered as black. This leads to every character running around with a black box around them. I am creating pyglet textures of all my images.I'm at a loss for why this could be happening. Any help would be greatly appreciated!

Matthew Marshall

unread,
Apr 16, 2014, 4:47:47 PM4/16/14
to rab...@googlegroups.com
Hi Austin,

Make sure that you are calling rabbyt.set_default_attribs() after creating your pyglet window. (or any time before you draw rabbyt sprites.) That should set up the OpenGL blend mode correctly.

MWM
Reply all
Reply to author
Forward
0 new messages