Have a beer!

Hi

Some time ago I experimented alot with glass in enscape. I know this is one of the hardest things to get right in a real time rendering engine, due to optimizations for reflections, lack of subsurface scattering and a lack of shadows. but I still wanted to get as close to realism as possible, and the images below are the result of my testing. The glass is basically made up of a lot of different layers, with a tiny distance between them. the layers are (from the inside - out):

  1. beer bubbles

  2. beer

  3. glass (two panes)

  4. finger smudges

  5. droplets

It takes a lot of tweaking, but you can actually get some real control over it!

I hope you like it :slight_smile:

Really nice work!

I’ve been playing with bottles and glass recently, maybe I’ll post an experiment too!

Pretty incredible! Is there any way to get rid of the moiré?

Großartig!! - I definitely prefer the beer (the filled glass! :wink: )

Cheers!

Herbo, I hope it is ok for you that I add an older however similar study, back then done with Shaderlight - Yes you are right about the layers, independent of the used renderer: so the hull surface of the liquid should not be the same surface of the inner glass wall. As for the foam, I admire your achieved result :thumbup: :thumbup: ! in my case, the latte macchiato foam I had to surrender :wink: and used instead (as seen below) a cutout texture which I converted to a face-me component then. How did you achieve this so good foam detail?

Thank you! please do share your experiments! Its fun to see what others can achieve :slight_smile:

Thank you :slight_smile: I actually tried a lot of things to get rid of it, but didn’t find a solution. At some point it wasn’t there, but when it first showed up (probably due to something I tweaked) it was there to stay :wink: Maybe the developers have some insights into this phenomenon?

thanks! And i totally agree, the last two images are just depressing :wink:

wow, great studies!! the scattering looks just right, and i really love your workaround for the coffee :wink: its a neat trick, and the illusion works :slight_smile:
my foam is actually a solid form, made with a foliage type material with some shine and bumb… it is still not “airy” enough, but without real SSS it is probably as close as I can get :slight_smile:

My beer is basically constructed like this:

Awesome @Herbo , thanks a lot for sharing. Always lovely to see such projects and the process behind them!

Großartig again!!! - thanks a lot Herbo for this look behind Your scene! (Even the bubbles are textured :slight_smile: which I suspected to be scattered spheres)

Interesting experiments, but…it’s really impossible to tweak every object like that in a complex scene…

Hope that Enscape can approximate the behaviour “automatically” in the (so to say near) future!

Thank you! And I totally agree, this is not something you do everytime you need a glass in a scene :wink: Lighting and texturing needs to be on point for it to work as well :slight_smile: But yeah, lets hope that we can have some approximation of this out of the box, although it is probably not straight forward :slight_smile:

for starters, supporting layered materials would make it a lot easier :slight_smile:

Thank you! I think it is fun to share some of the insights as well, and love when others do it too… this is a great way to learn new tricks :slight_smile:

Thanks! Yep, my bubbles are just a simple texture on a cylinder shape… BUT! the texture actually has a little self illumination. without this, it has a hard time penetrating all the other layers :slight_smile:

Old low poly model of beerglass

As low poly as my real life beer glass :smiley:

…in real life and even completely without polys my beer glass level is also too often too low :smiley: :smiley:
And just for fun on this cool and nice post of Herbo I´ll add this early beer-attempt from 2014 ;( :slight_smile: