Page 1 of 14

dark juice

Posted: Wed Aug 14, 2019 8:49 am
by lacilaci
I had this problem before, where juice material got very darkened when looked at through glass. But before it was enough to setup volumes for glass and juice, now nothing helps and I'm not sure if I'm doing something wrong or not.

here's juice just as a volume and no glass
luxcore null juice base.jpg
here it is within glass object
luxcore null juice in glass base.jpg
also here it is not in glass but instead of null I use glass on volume itself
luxcore null juice glass material base.jpg
for comparison how I believe it should look here's cycles basic juice
cycles juice base.jpg
Anyone knows how to set this up properly so I don't get so dark juice? I tried shuffling around volume priorities and bunch of other stuff but it just doesn't help...

Re: dark juice

Posted: Wed Aug 14, 2019 9:28 am
by FarbigeWelt
I the juice object overlapping the glass object at any point? Are normals okay (I guess so). Is internal and external volume correct?
Glass int. glass, ext. air
Juice int. juice ext. air

Re: dark juice

Posted: Wed Aug 14, 2019 9:45 am
by lacilaci
FarbigeWelt wrote: Wed Aug 14, 2019 9:28 am I the juice object overlapping the glass object at any point? Are normals okay (I guess so). Is internal and external volume correct?
Glass int. glass, ext. air
Juice int. juice ext. air
juice object is inserted a little into glass yes, checked the normals the're ok...

however.. I have only set internal volumes for both objects as you can see on screenshots and I don't have a world volume... Do I need world volume and set up external volumes for objects aswell??

Re: dark juice

Posted: Wed Aug 14, 2019 9:57 am
by provisory
Use glass material for juice instead of null, then tweak volume settings until it doesn't look fine.
After that it will look good in the glass object too.

Re: dark juice

Posted: Wed Aug 14, 2019 10:08 am
by lacilaci
So I made world volume (clear with lowest priority) and added it as external volume to all materials.. but it won't help

Also it doesn't matter if I make juice material null, glass or glass+architectural, it always turns way too dark.

It all looks ok without darkening unless I add scattering to juice volume, then everything becomes super dark.

Re: dark juice

Posted: Wed Aug 14, 2019 10:19 am
by provisory
In your images it's not too dark in null material just in glass material.
My experience is that volumes much darker in glass material than in null.
So I suggest that use glass material for juice and set low parametets to the volume, then start to strengthen.

Re: dark juice

Posted: Wed Aug 14, 2019 10:23 am
by lacilaci
if I use normal glass I cannot make the juice look correct no matter what...

Does anyone have some material setup that looks somewhat close to cycles or this archglass juice? (but this one also turns dark once in glass)
juice_architectural_glass.jpg

Re: dark juice

Posted: Wed Aug 14, 2019 10:33 am
by provisory
What happens if you switch to not arch glass and increase juice volume scattering?

(I'm away from my computer now.)

Re: dark juice

Posted: Wed Aug 14, 2019 10:35 am
by lacilaci
provisory wrote: Wed Aug 14, 2019 10:33 am What happens if you switch to not arch glass and increase juice volume scattering?

(I'm away from my computer now.)
it's just dark and weird colors...

Re: dark juice

Posted: Wed Aug 14, 2019 10:35 am
by FarbigeWelt
lacilaci wrote: Wed Aug 14, 2019 10:08 am So I made world volume (clear with lowest priority) and added it as external volume to all materials.. but it won't help

Also it doesn't matter if I make juice material null, glass or glass+architectural, it always turns way too dark.

It all looks ok without darkening unless I add scattering to juice volume, then everything becomes super dark.
Correct setup of internal and external volumes is imminent according to my experience.
Camera volume should be set to air too. Automatically detection makes nonsense sometimes, with very strange results due to wrong refractive index ior or other settings.

Actually liquid in a glass is a three external volumes case. Where objects overlap the higher priority defines the border. The glass has two external volumes: air and juice. The juice has also two: glass and air. Intuitively external volume is omitted where objects overlap and only inner volumes matter, as noted the one with the higher priority, i.e. juice.

Absorption [cm] of juice volume is rather extreme.
Set it to at least the diameter of the glass.