Infinite terrain shadows
Posted
by
user35399
on Game Development
See other posts from Game Development
or by user35399
Published on 2013-11-06T19:51:41Z
Indexed on
2013/11/06
22:10 UTC
Read the original article
Hit count: 254
I'm creating an infinite terrain engine, which generates the terrain either with fractals or noise. How can I make dynamic shadows for the sun on this terrain, if I don't know in advance what will be rendered in front of the sun.
My terrain: The sun is the only light, it is directional, my terrain is generated on a plane which is positioned before the camera, frustum culled and fits the size of the viewing frustum. It is height mapped with generated noise texture, and using tessellation shaders on it.
Video:http://www.youtube.com/watch?v=tk6yFwYusOs Dynamic shadows with the infinite terrain.
© Game Development or respective owner