This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Shading on different layers

Tags: None
(comma "," separated)
User avatar
dobrokotov
Registered Member
Posts
125
Karma
0

Shading on different layers

Sun Jan 10, 2016 3:09 am
I am training to draw shading with "basic_tip_default" brush, with pressure mapped to opacity, most youtube tutorials about shading/coloring mainly use this brush (and its soft-edge alternation):
Image


Now I am trying to separate shadow on floor (blocked by cylinder from light source) and cylinder surface to different layers, so diffuse lighting layer is on top of shadow layer and I can edit edge of cylinder without redrawing shadow behind the edge.
The problem is that diffuse lighting layer drawn with small opacity basic_tip_default - is transparent for shadow:
Image


I am thinking how to solve the problem, and want to try the following brush (not sure that it solve my initial problem):
1) opacity for alpha channel is always 1 (so diffuse layer is solid and not semi-transparent when drawn)
2) opacity for color channel is taken from "opacity" toolbar option and pen pressure (so I have standard semi-transparent behavior hard-edge brush)

* How I can create this brush?

* May be there is another way to separate shading of one overlapping layers or other way to avoid painting shadow over cylinder, and allow to change edge of cylinder? This is small resolution example, but on resolution 6000 x 4000 it is impossible to match brush stroke to existing edge without gap or overlap.

* Maybe this is question should be addressed not for developers or Krita, but for users (i.e. artists) of Krita, is there forum for Krita users artists (I'm afraid they can give answer like "don't bother about independent objects edit, draw all shading in one layer")?
User avatar
dobrokotov
Registered Member
Posts
125
Karma
0

Re: Shading on different layers

Sun Jan 10, 2016 3:40 am
This specific example, where cylinder and floor are different objects can be solved with separation of floor and cylinder to different layers.

But I want to learn more general solution, which solves self-shadowing of object and and self-intersection of object projection too (like body of animal/human, which is impossible to separate to different layers in consistent Z-sorted way).
User avatar
TheraHedwig
KDE Developer
Posts
1794
Karma
10
OS

Re: Shading on different layers  Topic is solved

Sun Jan 10, 2016 9:38 am
Use blending modes. First fill your layer to stop transparency, then use the blending mode.

http://theratutorial.tumblr.com/post/10 ... -materials
User avatar
dobrokotov
Registered Member
Posts
125
Karma
0

Re: Shading on different layers

Thu Jan 14, 2016 11:05 pm
TheraHedwig wrote:Use blending modes. First fill your layer to stop transparency, then use the blending mode.

When I fill top shading layer as whole - second shading layer can't be used anymore. Maybe it will work with manual fill of non-transparent area + alpha lock switched on/off, I will try this. Thanks for idea.

TheraHedwig wrote:Use blending modes. First fill your layer to stop transparency, then use the blending mode.

http://theratutorial.tumblr.com/post/10 ... -materials

Thanks, this is great tutorial, I have learned a lot (at least, I have learned basic "Ctrl+Alt+Click" for picking color from same layer, which is very helpful, I missed the feature earlier). Not sure this tutorial deals with my specific problem (avoid transparency of shadow layers), but there are lot more there.
User avatar
lostmahpants
Registered Member
Posts
1
Karma
0

Re: Shading on different layers

Fri Jan 15, 2016 8:30 am
dobrokotov wrote:Not sure this tutorial deals with my specific problem

And it, probably, does.

Here's an example.
First one - the one you have in original post. Shading is transparent, layers under it are visible.
Second - (As in Thera's tutorial) shading with inherit alpha over the base, non-transparent color.
Third - locking alpha and shading away on one layer.
Image

So, second and third - are the only options you have (and the only ones you, actually, need, heh). Такие дела.


Bookmarks



Who is online

Registered users: Baidu [Spider], Bing [Bot], Google [Bot]