[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [pygame] shadow demo
On 24/03/2008, Ian Mallett <geometrian@xxxxxxxxx> wrote:
> but nowhere else. Seeing as how this is a variable, (and of course, a
> shadow implementation should be adjustable to different platform
> capabilities), it seems illogical that it cannot, in effect, be changed.
The demo implementation draws the shadows into the framebuffer, then
copies the result to a texture. This means that if the shadow texture
is larger than the framebuffer, some parts of it won't be drawn.
--
Alistair Buxton
a.j.buxton@xxxxxxxxx