- Mon Oct 26, 2020 8:32 am
#400215
Hey guys, I'm recently been tasked with some look development and I stumbled upon this pretty common situation (in FMCG) when we need to visualize an opaque product inside a glass object.
In my case, it is a cream (let's say it is fully opaque) in a clear glass jar.
Here's my jar set up:
As you can see it's pretty simple - as it is just not a final object but rather a template to test material and geometry setup in general.
- Cream material is intersecting with Glass object's walls - and Cream material has a lower nester priority number (cream has higher priority than glass)
- Jar is a pure cylinder in shape - pretty small only 63 mm in diameter and 38 mm in height (including the cap)
- Glass material - is a simple BSDF with almost white transmittance colour (we don't like tints in cosmetics ), Attenuation distance about 30 cm, Nd 1.420, with forced fresnel, and very low roughness (~1.5).
- Cream material - is a 2 layer-based setup - 1 layer with base colour - single BSDF - with almost white colours for both 0 and 90, Nd 3, no fresnel and roughness 97, 2nd layer is additive (95%) and has a single BSDF with blacks for colour, Nd 3, forced fresnel, with the roughness of about 10.
The main concern was that whenever white (or very light-toned) cream is placed inside a glass object it starts to look quite dirty (looks much darker)
So here are a few test-renders that I did in "studio setting" (light setup is pretty simple - as you can see in the mirror ball)
and another one with reduced intensity of the top light panel and without chrome caps + slightly adjusted angle of the jars (to compare refractions)
And here are some testing that I did in other environments to see the performance in different light scenarios
Altho the primary request was specifically about white cream, I did another one to see how the colour of the cream will influence the glass tint.
... and, well, couldn't resist in trying the Random Colour procedural
So that's that.
Please let me know what you guys think.
Would really appreciate your suggestions on how to improve - feels like I'm missing something. Probably something simple (as usual).
To increase the brightness and purity of the cream, I even tried to render in different setups, like when the cream geometry is smaller than inner wall of the glass jar, or with the "infinitesimal gap" approach - so far the nested priority gives best results.
I've also tried back wall culling, making AGS glass or single-sided, excluding from global Illumination rays and etc.
All your suggestions are super welcome!
Cheers,
Artem.
In my case, it is a cream (let's say it is fully opaque) in a clear glass jar.
Here's my jar set up:
As you can see it's pretty simple - as it is just not a final object but rather a template to test material and geometry setup in general.
- Cream material is intersecting with Glass object's walls - and Cream material has a lower nester priority number (cream has higher priority than glass)
- Jar is a pure cylinder in shape - pretty small only 63 mm in diameter and 38 mm in height (including the cap)
- Glass material - is a simple BSDF with almost white transmittance colour (we don't like tints in cosmetics ), Attenuation distance about 30 cm, Nd 1.420, with forced fresnel, and very low roughness (~1.5).
- Cream material - is a 2 layer-based setup - 1 layer with base colour - single BSDF - with almost white colours for both 0 and 90, Nd 3, no fresnel and roughness 97, 2nd layer is additive (95%) and has a single BSDF with blacks for colour, Nd 3, forced fresnel, with the roughness of about 10.
The main concern was that whenever white (or very light-toned) cream is placed inside a glass object it starts to look quite dirty (looks much darker)
So here are a few test-renders that I did in "studio setting" (light setup is pretty simple - as you can see in the mirror ball)
and another one with reduced intensity of the top light panel and without chrome caps + slightly adjusted angle of the jars (to compare refractions)
And here are some testing that I did in other environments to see the performance in different light scenarios
Altho the primary request was specifically about white cream, I did another one to see how the colour of the cream will influence the glass tint.
... and, well, couldn't resist in trying the Random Colour procedural
So that's that.
Please let me know what you guys think.
Would really appreciate your suggestions on how to improve - feels like I'm missing something. Probably something simple (as usual).
To increase the brightness and purity of the cream, I even tried to render in different setups, like when the cream geometry is smaller than inner wall of the glass jar, or with the "infinitesimal gap" approach - so far the nested priority gives best results.
I've also tried back wall culling, making AGS glass or single-sided, excluding from global Illumination rays and etc.
All your suggestions are super welcome!
Cheers,
Artem.