Sign in to follow this  

[OpenLayer] Dynamic lighting & shadows

This topic is 4215 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I was successful in creating a flashlight-like effect in Allegro using _getpixel(), but how could something like this be done using OpenLayer? I've created a cone-shaped Poly, but I can't use either GetPixel or GetMemoryBitmap because my FPS drops down to 0. Any ideas? My allegro version of the program (it's a test, and the code is butt ugly, or even worse, and there are memory leaks everywhere... but it's a test) is here:

Share this post

Link to post
Share on other sites
Sign in to follow this