Do you think it´s possible to create a physical crystal lens in front of the camera in EEVEE? your shader looks good, I´d like to try it for a scenario like I mention.
DavidRivera,
This is product shot of a camera in Eevee that I have being working on. I used the shader above for the camera lens. See below my render.
Excellent tips here. I’ll be testing some of these settings out in a new animation soon. Keep up the great work.
Hi Eric
It would be really helpful if you please share the scene file that you’ve shown on the images.
Thanks!
Can you please give me a link from where I can learn how to bake ?
Thanks!
Hi Eric,
Thanks for your awesome tutorial
I tried several times to follow along with your tutorial and achieved nearly the same result but except for 1 problem.
In my case - though other objects are refracted and visible through the transparent glasses, the glass objects behind glass objects are not being shown.
Please help me with this.
Thanks again for your awesome tutorial.
Sobhan,
This is a Eevee limitation at this time that a refracted object behind a refracted object would not be visible. See image from Definitive Interiors course with my realistic glass shader from @chippwalters.:
The glass in front is using refraction. The glass behind on the left is using refraction and notice that it is partially occluded because of the Eevee limitation that refracted objects behind an refracted object are not visible. Now look at the glass behind on the right it is using transparency instead of refraction and it is not occluded, and still looks good.
To allow object behind a refracted object to be visible using my realistic glass shader replace the glass BSDF node with a transparent BSDF node. You will loose refraction and gain transparency for the object behind and still get really nice reflection. Remember that getting good reflection is the key to having great looking glass.
Depending on your scene having glass with transparency instead of refraction may be more important for objects behind as long as your getting good reflection. Most of the time I use refraction for objects behind, but other cases transparency for the objects behind works best like in the scene above.
Look at my previous post in this thread and you will find plenty sample scenes I have posted. Except for the Chocofur and Evermotion scenes. This ones you will find tips and techniques in how I converted to Eevee in my thread on Eevee ArchViz see link Realistic ArchViz.
Can’t even describe how thankful I am for your most kind reply
Thanks a billion
You are welcome.
Hi guys, awesome shader, but I cannot get it working in my rendered image.
Here is the viewport render
And here is the result when I click render
What am I doing wrong?
Looks fantastic!
Nitram_2000,
Is probably a simple setting you are missing. Best if you can share the file.
I got it working, but it was one of two things. It could’ve been that the alpha settings were wrong, but, I’m more sure that my file was corrupt. I went back a few saves and then reimported the shaders and it worked off the bat.
I was having other problems with the file too, so I’m pretty sure it was a 2.81 problem.
@eklein, do you know how the alpha works in all of this? I want to work in layers so I can use the alpha to create a small outline around my objects, but in the compositor there is nothing there, yet when I alpha over a background the glass foreground shows up.
I’ll set up a test blend to upload.
Glass_Test.blend (814.0 KB)
Nitram_2000,
I notice that you are using the “cwGlass” shader for glass. This is not my realistic glass shader look for “ekRealistic” or manually build this shader with my previous node setup for realistic glass given previously.
The reason why “cwGlass” shader won’t work with alpha layers is that it uses transparent nodes. My realistic glass shader does not and it should work fine.
Thank you for sharing this helped me
Worked like a charm! Thanks!
@eklein New EEVEE Glass Shader from Jonathan Lampel:
I really like it.
Scene file above: https://filedn.com/lLMW4jXsJqxXkRYjd1UCoKL/3d/JL%20and%20EK%20glass_02.blend
Chipp,
I tested this new JL glass shader and it has problems mainly because it is based on the transparent node as oppose to using the glass node like in my glass shader. I also turn off dispersion because it was giving unrealistic color rays. My glass shader setting have change and don’t give the artifacts that it previously had. See below using my new glass shader settings in your test scene:
The shapes on the center are using my new glass shader settings. The outside shapes using the JL shader. Notice how the background objects are merging into the glass while in my glass shader maintains clear glass separation from the background. This is happening because JL shader is using the transparency node and improper settings.
See below an example of the JL glass shader problem merging all the glasses together using my Evermotion glass scene from the top of this thread:
I have used glass shader based on the transparent node only when is really needed and this is usually when having liquids an/or ice inside glass. I used different settings than JL glass shader to make it work properly.
See below glass shader based on transparency from the “Dark Interior Scene” from Entity Designer. More detail on this scene that I converted to Eevee on my ArchViz thread. See: Dark Interior Scene.
Here is your example using my new glass shader settings:JL and EK glass_New.blend (3.5 MB)