Login - Create Account
Bookmark and Share

Hard Shadows

Login or Register to post new topics or replies
jitspoe
Posts: 187
Filters: 27
I was kind of disappointed that the ambient occlusion shadows did not include directional shadows, but the FF team made up for that by including scripting, so I took a shot at making hard directional shadows. Who's up for some rock hard shadows? Or would it be hard rock shadows (dunanananaaaa!). This is the default stones component. I mixed my directional lighting with the Filter Forge lighting so we could have ambient light and AO for more realistic appearances. Still a work in progress, but I should have a snippet ready for Monday.

  Details E-Mail
uberzev
not uberfez

Posts: 1821
Filters: 36
Doesn't it do directional shadows if you use a point light?
  Details E-Mail
jitspoe
Posts: 187
Filters: 27
Math for the normals wasn't quite correct in the previous image. I think I've fixed that, and I cranked up the ambient light and down the environment light to make it look a little more natural. Here it is on cells with a circular arc profile.

  Details E-Mail
jitspoe
Posts: 187
Filters: 27
uberzev: I had hoped that, but as far as I know, the FF lighting system does not support directional shadows.

Here's the default stone again with more correct lighting:

  Details E-Mail
Betis
The Blacksmith

Posts: 1100
Filters: 73
This is great! Do a human face, that should be a good test too
Roses are #FF0000
Violets are #0000FF
All my base are belong to you.
  Details E-Mail
Sphinx.
Filter Optimizer

Posts: 1344
Filters: 38
Cast Shadows! Very cool - do you trace them or is it some smart displacement trick?
Njyldgarkn sample cache!
  Details E-Mail
jitspoe
Posts: 187
Filters: 27
They're traced. It's a little bit slow (requires about 200-300 heightmap lookups per sample), but I think it's worth it. I submitted the filter this weekend, so it should be available shortly.
  Details E-Mail
Sphinx.
Filter Optimizer

Posts: 1344
Filters: 38
Cool, I'm looking forward to playing with it.

About the sample count - you can stick in a blur (very small radius) btwn the heightmap source and your shadowtracer to get some sort of cache like functionality. That should reduce the real sample calculation greatly.
Njyldgarkn sample cache!
  Details E-Mail
Sphinx.
Filter Optimizer

Posts: 1344
Filters: 38
Hmm.. library server must be down again or something... perhaps you could post the filter here?
Njyldgarkn sample cache!
  Details E-Mail
jitspoe
Posts: 187
Filters: 27
I'm not at home right now.

*pokes the server*

Hopefully it will be up soon.
  Details E-Mail

Join Our Community!

Filter Forge has a thriving, vibrant, knowledgeable user community. Feel free to join us and have fun!

15,400 Registered Users
+10 new last day!

112,666 Posts
+16 new last day!

10,106 Topics
+6 new in 7 days!

Online Users Last 5 minutes:

ddaydreams, 13 unregistered users.

Recent Wiki Edits:

Follow filterforge on Twitter