Betis
![]() |
I really want to play with shadows, and since emitted light is projected in a sphere, we are going to need to use Uber's Spherify/Unspherify snippet
![]() Here's a snapshot of what I've been working with. ![]() and the snippet. Shadows.ffxml Roses are #FF0000
Violets are #0000FF All my base are belong to you. |
|
Posted: April 8, 2009 12:30 am | ||
Indigo Ray
![]() |
||
Posted: April 8, 2009 3:20 pm | ||
Betis
![]() |
Shadows are the absence of the color of the light casting them, so if a red light is casting a shadow, and no other lights are around, the shadows are black.
Shadows from the sun have a blueish hue, this is from the ambient light of the atmosphere, as well as absence of the yellow tint the sun is. Roses are #FF0000
Violets are #0000FF All my base are belong to you. |
|
Posted: April 8, 2009 10:44 pm | ||
Betis
![]() |
New Picture and Snippet
![]() Shadows.ffxml Roses are #FF0000
Violets are #0000FF All my base are belong to you. |
|
Posted: April 8, 2009 11:15 pm | ||
Indigo Ray
![]() |
Remember, the farther the object is from the light source, the longer the shadow. If the motion blur component had a green input for radius, this would be solved by adding a gradient where the top color is black and the bottom color is lighter (here is where "shadow length", or the more 3d "light height", slider would come in).
Even if it doesn't, you can still use the gradient (first color = 50% gray, second color lighter with the slider) for the offset v on the offset right next to it. The problem is that this makes a shadow in front of the object (towards the light) as well as behind, so you would somehow need to get rid of those shadows in front. Or, the Filter Forge team can make a unidirectional motion blur *nudge nudge* I guess I can try Crapadilla's wind blur, slow as it is... |
|
Posted: April 9, 2009 4:21 pm | ||
Indigo Ray
![]() |
||
Posted: April 9, 2009 5:03 pm | ||
Betis
![]() |
Well, it's not like I forgot, it's just very hard to implement into FF. Besides, the poles nearest to the light source need to be bigger, for they block more light.
Roses are #FF0000
Violets are #0000FF All my base are belong to you. |
|
Posted: April 10, 2009 12:15 am | ||
Crapadilla
![]() |
Interesting stuff, guys. Next up: light rays with variable center!
![]() --- Crapadilla says: "Damn you, stupid redundant feature requests!" ;) |
|
Posted: April 13, 2009 5:47 am | ||
Betis
![]() |
I think it would be relatively easy to implement, once you get the formula down, the center is no different than any other place.
Roses are #FF0000
Violets are #0000FF All my base are belong to you. |
|
Posted: April 13, 2009 3:07 pm |
Filter Forge has a thriving, vibrant, knowledgeable user community. Feel free to join us and have fun!
33,711 Registered Users
+18 new in 30 days!
153,531 Posts
+36 new in 30 days!
15,347 Topics
+72 new in year!
23 unregistered users.