X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Feffects%2Fshadowmap.h;fp=source%2Feffects%2Fshadowmap.h;h=5f6c5c15e3822cf80df88b3d3b2ae9378ebc5e12;hb=70d9d2d28e5fe723c6b46894276e4c935f578e2d;hp=7dab9eb965a6e9266156437741bc40854133c37e;hpb=db349c75a9563d38afaf1a8a602d9ee1155d62bb;p=libs%2Fgl.git diff --git a/source/effects/shadowmap.h b/source/effects/shadowmap.h index 7dab9eb9..5f6c5c15 100644 --- a/source/effects/shadowmap.h +++ b/source/effects/shadowmap.h @@ -12,10 +12,9 @@ namespace GL { class Light; class Resources; -class Scene; /** -Creates shadows on a Scene through a shadow map texture. In the preparation +Creates shadows on a renderable through a shadow map texture. In the setup phase, the scene is rendered to a depth texture from the point of view of the lightsource. This texture is then used in the rendering phase together with texture coordinate generation to determine whether each fragment is lit.