Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
kronusaturn
on July 23, 2012
|
parent
|
context
|
favorite
| on:
Tiled Shadow Maps
You can get pretty good results with just a little trigonometry. For example, in the diagram below, the ratio of angles A/(A+B) tells you how shaded the blue tile should be. You can apply this method recursively.
http://i.imgur.com/0rz69.png
JasonSage
on July 24, 2012
[–]
I hadn't thought of that! Thank you for sharing!
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
http://i.imgur.com/0rz69.png