Inner & Outer Shadows

General discussions about Inkscape.
User avatar
Espermaschine
Posts: 892
Joined: Thu Jun 05, 2014 9:10 pm

Inner & Outer Shadows

Postby Espermaschine » Wed Mar 30, 2016 10:30 pm

Was toying around with an inner shadow and a longshadow and lighting in general. Not sure i got the direction of light correct.
What do y'all think ?
Attachments
ESP_Shades.svg
(26.38 KiB) Downloaded 200 times
Shade.png
Shade.png (98.96 KiB) Viewed 2781 times
Last edited by Espermaschine on Thu Mar 31, 2016 5:13 am, edited 1 time in total.

User avatar
brynn
Posts: 10309
Joined: Wed Sep 26, 2007 4:34 pm
Location: western USA
Contact:

Re: Shadows

Postby brynn » Thu Mar 31, 2016 12:20 am

Very nice! I like the effect of the concave surface of the buttons or keys or whatever they are. The lighting and shadow looks ok to me. ....well....maybe the cast shadow is just a hair off.... Maybe not, it's hard to say. Maybe the far end of the cast shadow should be shaped like the edges of buttons?

The only problem I see is that the shadow of the E and the shadow of the P is darker where they overlap. I'm not sure if that would happen in real life. Maybe it would....this is one of those things where I'd have to set up the situation in front of me.... Like maybe with stacks of coins....or maybe find some bottle caps or something.

Nice work :D

User avatar
Espermaschine
Posts: 892
Joined: Thu Jun 05, 2014 9:10 pm

Re: Shadows

Postby Espermaschine » Thu Mar 31, 2016 12:22 am

brynn wrote:I'm not sure if that would happen in real life.

Me neither :D

EDIT: just tried with a flashlight.
It seem the shadows merge and they dont fade out. They just blur a bit....

That better ? :?
It looks kind of boring....
Attachments
Shades3.png
Shades3.png (96.63 KiB) Viewed 2742 times
Shades2.png
Shades2.png (92.11 KiB) Viewed 2742 times
Last edited by Espermaschine on Thu Mar 31, 2016 1:53 am, edited 2 times in total.

User avatar
Espermaschine
Posts: 892
Joined: Thu Jun 05, 2014 9:10 pm

Re: Shadows

Postby Espermaschine » Thu Mar 31, 2016 1:19 am

My Gimp technique translated into Inkscape.

In before Lazur makes a filter
:mrgreen:
Attachments
InnerShadow Tutorial.png
InnerShadow Tutorial.png (171.16 KiB) Viewed 2751 times

Lazur
Posts: 4717
Joined: Tue Jun 14, 2016 10:38 am

Re: Shadows

Postby Lazur » Thu Mar 31, 2016 1:49 am

^--filter new

flood fill with black&alpha value
composite out
gaussian blur
offset
composite in
composite over

User avatar
brynn
Posts: 10309
Joined: Wed Sep 26, 2007 4:34 pm
Location: western USA
Contact:

Re: Shadows

Postby brynn » Thu Mar 31, 2016 2:07 am

That better ? :?
It looks kind of boring...


Make the gradient on the shadow the same as in the first one. That was very effective.

Edit
I mean keep the new shape for the shadow, but use the same gradient as before -- where it goes to 0 alpha

User avatar
Espermaschine
Posts: 892
Joined: Thu Jun 05, 2014 9:10 pm

Re: Shadows

Postby Espermaschine » Thu Mar 31, 2016 2:18 am

Lazur URH wrote:^--filter new

flood fill with black&alpha value
composite out
gaussian blur
offset
composite in
composite over

This doesnt seem to include the original object.

Heres what i came up with (problem: the shadow is always black):

Gaussian Blur
Offset
Composite (In)
Composite (Out)
Merge
Attachments
InnerShadowFilter.png
InnerShadowFilter.png (33.76 KiB) Viewed 2735 times

User avatar
Espermaschine
Posts: 892
Joined: Thu Jun 05, 2014 9:10 pm

Re: Shadows

Postby Espermaschine » Thu Mar 31, 2016 2:26 am

brynn wrote:Make the gradient on the shadow the same as in the first one. That was very effective.

Edit
I mean keep the new shape for the shadow, but use the same gradient as before -- where it goes to 0 alpha

The problem with that approach is: the lower part is longer than the upper, which means the longer part will be more faded out then the upper....

Lazur
Posts: 4717
Joined: Tue Jun 14, 2016 10:38 am

Re: Shadows

Postby Lazur » Thu Mar 31, 2016 3:34 am

shd.svg
(13.44 KiB) Downloaded 164 times

User avatar
Espermaschine
Posts: 892
Joined: Thu Jun 05, 2014 9:10 pm

Re: Shadows

Postby Espermaschine » Thu Mar 31, 2016 3:45 am

Lazur URH wrote:
shd.svg

So thats four ways to get to the result ?

*sigh* huuuge learning curve...

Lazur
Posts: 4717
Joined: Tue Jun 14, 2016 10:38 am

Re: Shadows

Postby Lazur » Thu Mar 31, 2016 4:06 am

As I said before I'm not happy with the blendings I can achieve either.

User avatar
Espermaschine
Posts: 892
Joined: Thu Jun 05, 2014 9:10 pm

Re: Shadows

Postby Espermaschine » Thu Mar 31, 2016 4:17 am

With Lazurblazer's filter !

Its all very fiddly. Lost my blur, accidentally select the wrong handle, gradient handles snap.... :x
Attachments
ShadeInnerShade.png
ShadeInnerShade.png (100.93 KiB) Viewed 2673 times

User avatar
Espermaschine
Posts: 892
Joined: Thu Jun 05, 2014 9:10 pm

Re: Shadows

Postby Espermaschine » Fri Apr 01, 2016 6:41 am

Lazur URH wrote:[attachment=2]shd.svg[attachment]

I added screenshots for the Lazur filters, in case anybody wants to build them.
.
Attachments
LazurInnerFilter_Black arithmetic.png
LazurInnerFilter_Black arithmetic.png (41.4 KiB) Viewed 2615 times
LazurInnerFilter_colormatrix.png
LazurInnerFilter_colormatrix.png (40.81 KiB) Viewed 2615 times
LazurInnerFilter_blk.png
LazurInnerFilter_blk.png (29.25 KiB) Viewed 2615 times


Return to “General Discussions”