Re: Shader coders?
- From: Michael Sheldon <mike mikeasoft com>
- To: Pierre-Luc Beaudoin <pierre-luc pierlux com>
- Cc: libchamplain-list gnome org
- Subject: Re: Shader coders?
- Date: Sat, 25 Apr 2009 18:46:47 +0100
Pierre-Luc Beaudoin wrote:
Le vendredi 24 avril 2009 à 21:35 +0200, Emmanuel Rodriguez a écrit :
The marker's dimensions are not fixed (harcoded) so it's impossible to
have a single static shadow bit map.
Yeah, that's why we have to draw them.
There's still nothing stopping you using static images (you'll notice
that google maps bubbles aren't fixed sizes either). Only the edges of
the shadow need to be blurred, so you just use a corner image and an
edge image stretched/rotated.
However it'd still probably be better to draw them dynamically, but
you certainly don't need a shader for that, just draw multiple copies of
the same shape getting gradually smaller with increasing opacity.
Mike.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]