Page 1 of 1

Curtain shader

Posted: Mon May 27, 2019 12:18 pm
by lacilaci
How should I approach making curtain shader in luxcore, seems both matte translucent and glossy translucent don't let sunlight through at all.. why?

Re: Curtain shader

Posted: Mon May 27, 2019 12:55 pm
by B.Y.O.B.
As far as I know the translucent materials scatter the transmitted light in all directions.
If you want to have some light passing through in it's original direction, I would suggest to lower the opacity of the material a bit.

Could you post some reference images what kind of curtain you look for? Thicker cloth or lighter?

Here's a basic attempt by me, maybe it helps:

Re: Curtain shader

Posted: Mon May 27, 2019 1:02 pm
by lacilaci
Thanks, well I guess it's either lowering or mapping opacity...
Which makes sense I guess but I thought that making the material transmit all light will also lower scattering/roughness.

I think I'm just too used to hiding curtain shadows completely

Re: Curtain shader

Posted: Mon May 27, 2019 5:38 pm
by wasd
Curtain is a complex matter. First, for some reason SSS in luxcore is allowing less light through than expected. At least, less than I excpect, so it doesn't really looks realistic, unless you add some opacity.
Second is, if you look closely to fabric, it has a lot of holes between threads. That's the main reason the light comes through. The threads itself allow very little light through.
I use fabric black and white texture for opacity.

Re: Curtain shader

Posted: Wed May 29, 2019 7:07 am
by wasd
wasd wrote: Mon May 27, 2019 5:38 pm I use fabric black and white texture for opacity.
Like this