Page 1 of 1

problem in a box

Posted: Thu Apr 17, 2014 2:31 am
by lebulb
Hi,
I've got a strange effect.

Here a simple scene with/without a glass box (wizard glass).
The glass transmitance is a pur white, roughness 0, attenuation at 10 m...
The scale is ok, the thickness box is 1 cm.
The bottles material is a simple light blue wizard plastic.

With the glass box, everything inside the box is black, exept reflectives BSDF.
Its a problem with shadow?

gif for demonstration ( SL:18 / Maxwell 2.7.2 )

Image

Re: problem in a box

Posted: Thu Apr 17, 2014 1:06 pm
by lebulb
the problem comes from the roughness.
Here a test with a single green BSDF.
I put a map on the roughness.

when the roughness is close to 100, the material is black.
when the roughness is close to 0, we can see the reflectance color.

NL, i can send you the mxs if you want.

gif ( SL:18 )

Image Image

Re: problem in a box

Posted: Thu Apr 17, 2014 2:22 pm
by lebulb
the problem clearly appears when the roughness is greater than 50%.
This poses a problem for any composites materials with a diffuse base like plastic.

Image

Re: problem in a box

Posted: Thu Apr 17, 2014 4:58 pm
by lebulb
Wow
I certainly found an explanation. ( thank to roch_fr :o )

My emiters were in mode "hidden from global illumination"
I do not understand why this has solved the problem, but it works like that!

Any suggestion?

Image

Re: problem in a box

Posted: Thu Apr 17, 2014 5:19 pm
by tom
Problem in a box stays in a box. 8)

Re: problem in a box

Posted: Thu Apr 17, 2014 5:39 pm
by lebulb
Yes, sorry for that :mrgreen: