Hi, have a look at this update to the shadow code: http://rene.f0o.com/~rene/stuff/rd_shadows2.zip
Take a look at the single quad being drawn. For me it only shows the shadow for the quad for half the time. I think because back face culling or something. I still want to render to texture with a higher resolution shadow map - but haven't added that yet. There's a bunch of references at the top, and also more comments in the code. cheers, On Thu, Mar 27, 2008 at 7:35 AM, Ian Mallett <[EMAIL PROTECTED]> wrote: > On Wed, Mar 26, 2008 at 2:31 PM, René Dudfield <[EMAIL PROTECTED]> wrote: > > > I've been working on some refinements, and more explanations of the > > code... I'll send it along in a while. Including casting shadows with > > a quad. > Cool! Thanks! > Ian >