EmbossMaskFilter with (alpha) canvas.drawBitmap problem

Problems with Canvas, OpenGL, etc...

EmbossMaskFilter with (alpha) canvas.drawBitmap problem

Postby seriousmedia » Thu May 12, 2011 9:18 am

Hello everybody,

I'm trying to emboss a lot of circles on the canvas, but i dont want to emboss each circle separetly, but the entire canvas to once (overlapping circles give a different emboss-result).

The way i think it should work is:
-Draw all circles on a canvas (with a bitmap as source)
-draw the bitmap (of the canvas) to a new canvas the the embossmaskfilter effect.

The problem is that it embosses the whole bitmap (square, not ignoring the alpha values).

How should this be done (or is there an other way to do it).

greeting,

Ramon
User avatar
seriousmedia
Once Poster
Once Poster
 
Posts: 1
Joined: Thu May 12, 2011 9:11 am
Location: venray, netherlands

Top

Return to Android 2D/3D Graphics - OpenGL Problems

Who is online

Users browsing this forum: Google [Bot] and 3 guests