[Bf-committers] [Bf-blender-cvs] SVN commit: /data/svn/bf-blender [23794] trunk/blender: Deep Shadow Buffer

Brecht Van Lommel brecht at blender.org
Tue Oct 13 19:47:18 CEST 2009


Hi Joe,

On Mon, Oct 12, 2009 at 11:47 PM, joe <joeedh at gmail.com> wrote:
> As far as I could tell when looking over your code, this doesn't
> support colored maps, or truly evaluating alpha?  Just the shadow
> alpha hack added for the irregular shadow buffer code.  I assume
> you're planning on getting this to work, since it's kindof an
> important thing to have. :)

Yes, it's important to get this working. The alpha hack is nice to
keep as an option for quicker rendering & lower memory usage, but we
need to support texturing too.

> If I have time, I can try and isolate the code I use for shadow map
> shading and get it in a nice form for you to reuse.  It's not too
> terribly complex (and I assume it's not that different from what
> you've already done with the strand code).  In the original paper each
> sample would store r,g,b components, and the compression function
> would consider all of them for the error calculation; I ended up
> having three separate piecewise-linear functions, each compressed
> individually, which was easier but probably not as good at limiting
> error.  Actually shading the samples is probably just a matter of
> adapting the existing code I came up with.

OK, that would be quite helpful.

Thanks,
Brecht.


More information about the Bf-committers mailing list