Problem with hi-alpha quad over background

General discussion about LÖVE, Lua, game development, puns, and unicorns.
Post Reply
User avatar
vortizee
Prole
Posts: 34
Joined: Sat Feb 14, 2015 6:23 am

Problem with hi-alpha quad over background

Post by vortizee »

Where a quad or image has a high transparency outer glow and may have a drop shadow — rasterized and checked as to their transparency — and is drawn over a background, what is it that could make the alpha portions render as opaque?

I’m using a rectangular black stencil: love.graphics.setColor( 0, 0, 0, 255 )
and calling a draw color before drawing the images: love.graphics.setColor( 255, 255, 255, 255 )

What have I missed that is causing the rendering fail? This is on love 0.9.2 with no blend commands so I presume the default blending (“alpha”) applies, however the alpha areas aren’t blending with the background.
User avatar
vortizee
Prole
Posts: 34
Joined: Sat Feb 14, 2015 6:23 am

Re: Problem with hi-alpha quad over background

Post by vortizee »

Ignore the silly question, I was drawing a test object inside a loop instead of outside it, so it was drawn over 8,000 times. (I’m getting too old for this game.)
Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests