Thanks for the suggestion.
This might be the solution I go with, until I can figure out the "correct" 
solution.

fredag den 22. juni 2018 kl. 12.09.30 UTC+2 skrev Neon22:
>
> You could make your light sprites as larger than screen sized rectangles 
> with a hole cut in the middle.
> So the outer region would darken the screen and the hole would not.The 
> alpha could cut the hole and the light could be a main RGB color.
>

-- 
You received this message because you are subscribed to the Google Groups 
"pyglet-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/pyglet-users.
For more options, visit https://groups.google.com/d/optout.

Reply via email to