0
$\begingroup$

So I've got a scene with curtain and there's 2 main materials that I use for it, one is with 0 sss basically it's for the part of curtain that's rolled up and second is with 1 sss which is the open curtain which blocks the sun

Now the part where both are separated is totally unrealistic and I want it to gradually change from 0 to 1 sss, It's hard to say but in simpler words a part where the top and bottom part of it would blend

I tried a setup with coloramp as the value for sss color and as sss values but both doesn't work, I'll upload blend file containing the curtain

Image for better understanding

$\endgroup$

1 Answer 1

0
$\begingroup$

You could try scaling the subsurface radius based on the gradient instead, something like this:

SSS along a gradient

This will let the light pierce deeper through the object on one end of the gradient.

You can move the gradient texture around with a mapping node like this:

Repositioning the gradient

Or just use whatever method you were using before to create a gradient where you want it, you don't have to use the gradient node.

$\endgroup$
3
  • $\begingroup$ wow, I'll try as soon as I get back, I'm using blender for a few months but I had no idea there was a gradient texture, btw what does the scale parameter control ? does it act like a multiply value $\endgroup$
    – Ace
    Apr 27, 2022 at 9:58
  • 1
    $\begingroup$ Yes it acts as a multiply value, a vector math node set to multiply would do the same thing here. $\endgroup$
    – Stoat Paws
    Apr 27, 2022 at 10:36
  • $\begingroup$ I tried it but I Can't seem to rotate it horizontally $\endgroup$
    – Ace
    Apr 27, 2022 at 15:49

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .