You could sandwich the light object between two shadow-casting rectangles like this:
<img src="http://willhostforfood.com/users/linkman2004/lightcone.png">
And, of course, if you just want one cone you can always cap off one end with another rectangle.