Shadows
Forum rules
Developer discussions only. Newbie questions belong in the HELP! forum. This is a forum for discussing development work on Ardor3D add-ons and extensions. Basically, anything that is Ardor3D that is not in the ardor3d-core module.
Developer discussions only. Newbie questions belong in the HELP! forum. This is a forum for discussing development work on Ardor3D add-ons and extensions. Basically, anything that is Ardor3D that is not in the ardor3d-core module.
11 posts
• Page 1 of 2 • 1, 2
Shadows
A new shadow map pass is in our ardor3d-effects pass, courtesy Rikard and myself. This one implements the PSSM technique, which improves the quality of shadowmaps by breaking them into sections along the camera frustum. Have a look at the example (com.ardor3d.example.effect.ParallelSplitShadowMapExample) for a fun test complete with several debugging options.
Note: this new PSSM pass will likely replace the existing shadowmap pass.
Note: this new PSSM pass will likely replace the existing shadowmap pass.
Gratitude is a mark of a noble soul and a refined character.
-

renanse - Site Admin
- Posts: 1750
- Joined: Tue Oct 28, 2008 6:49 pm
- Location: Austin, TX
Re: Shadows
fyi, I put up a few screen shots on my blog here:
http://blog.renanse.com/2009/03/improve ... dor3d.html
http://blog.renanse.com/2009/03/improve ... dor3d.html
-

renanse - Site Admin
- Posts: 1750
- Joined: Tue Oct 28, 2008 6:49 pm
- Location: Austin, TX
Re: Shadows
Question: Would this technique be used when the light direction remains static, but the object is moving in various directions causing the shadow to change?
Excellent work BTW! :thumbsup:
Excellent work BTW! :thumbsup:
-
jfelrod1960 - regular
- Posts: 108
- Joined: Sun Jan 04, 2009 6:12 pm
- Location: Piedmont, South Carolina
Re: Shadows
Never mind ... I noticed the moving Torus in the demo. 
-
jfelrod1960 - regular
- Posts: 108
- Joined: Sun Jan 04, 2009 6:12 pm
- Location: Piedmont, South Carolina
Re: Shadows
Beautiful! I've been waiting for this. Great work guys, and kudos for sticking to the roadmap.
One thing that I think is missing from the PSSM pass is a way to remove an occluder without having to clear them all out and re-add the ones you want.
One thing that I think is missing from the PSSM pass is a way to remove an occluder without having to clear them all out and re-add the ones you want.
-

nymon - regular
- Posts: 52
- Joined: Tue Jan 06, 2009 12:43 am
- Location: Oakland, CA
Re: Shadows
Just added in support for setting shadowcolor/transparency, support for 4 splits and some example fixes etc. I'll add in some support for occluder changes.
Next up i think i'll split up the shaders so they only work on the number of splits used, for better performance in lower split counts...
If I had a better laptop I could add in support for variance shadow maps :/
Next up i think i'll split up the shaders so they only work on the number of splits used, for better performance in lower split counts...
If I had a better laptop I could add in support for variance shadow maps :/
How quickly the world owes him something he knew existed only ten seconds ago - Louis C.K.
-

MrCoder - Site Admin
- Posts: 398
- Joined: Mon Nov 03, 2008 8:56 am
- Location: Stockholm, Sweden
Re: Shadows
MrCoder wrote:If I had a better laptop I could add in support for variance shadow maps :/
Hint hint...
Gratitude is a mark of a noble soul and a refined character.
-

renanse - Site Admin
- Posts: 1750
- Joined: Tue Oct 28, 2008 6:49 pm
- Location: Austin, TX
Re: Shadows
...and my paypal account number is ... 
How quickly the world owes him something he knew existed only ten seconds ago - Louis C.K.
-

MrCoder - Site Admin
- Posts: 398
- Joined: Mon Nov 03, 2008 8:56 am
- Location: Stockholm, Sweden
Re: Shadows
Any plans on implementing (or porting) stencil shadows in the near future?
-

nymon - regular
- Posts: 52
- Joined: Tue Jan 06, 2009 12:43 am
- Location: Oakland, CA
Re: Shadows
If you want us to, we'll do it!
(iow, no that wasnt on any near future plan, for me at least)
How quickly the world owes him something he knew existed only ten seconds ago - Louis C.K.
-

MrCoder - Site Admin
- Posts: 398
- Joined: Mon Nov 03, 2008 8:56 am
- Location: Stockholm, Sweden
11 posts
• Page 1 of 2 • 1, 2
Return to Extensions Development Discussions
Who is online
Users browsing this forum: No registered users and 1 guest