Yes, good script from WIKI. I use it for 'fog of war' in 'top cam view' in my proj (big 'black' sprite placed over terrain and painted to be transparent where game character goes)