I am working on a scene with glass walls. I would like the edges to have a green tint. What's the best way to accomplish this? I tried a bunch of things, but nothing is working for me.
Announcement
Collapse
No announcement yet.
Thick Glass
Collapse
X
-
Thick Glass
Bobby Parker
www.bobby-parker.com
e-mail: info@bobby-parker.com
phone: 2188206812
My current hardware setup:- Ryzen 9 5900x CPU
- 128gb Vengeance RGB Pro RAM
- NVIDIA GeForce RTX 4090
- Windows 11 Pro
Tags: None
-
The dark edges of glass are caused by total internal reflection/refraction, and what you are seeing is all the way through the long part of the glass with light being absorbed as it travels through it (Hence it being so dark). The often green hue/tint to this is caused by small amounts of iron impurities within the glass.
If you are after realism I wouldn't add a colour to the reflection or refraction - as this isn't what happens in real life.
The way to approach this realistically is to use the fog colour, as it is "thickness dependant" i.e. it will let light through the thin part of the glass but not as much through thicker parts of the glass.
I would start with the settings for a standard/photoreal glass such as this;
Pure black diffuse
Pure white reflection
Pure white refraction
Fresnel reflections with an IOR between 1.5 and 1.6
This should give you a pretty solid glass base from which to work from. Now would be the time to start playing around with the fog colour to introduce the dark green tint at the edges. It might be worth taking the fog multiplier down to a tenth, or even hundredth otherwise it will be very sensitive to any adjustments you make to the colour.
The bias controls the "falloff" point between the thick & thin parts of the glass, for lack of better words. Generally speaking though I never really need to adjust this.
Once you've done this you should have some pretty nice looking, physically based glass.Last edited by Macker; 11-06-2013, 01:49 PM.Check out my (rarely updated) blog @ http://macviz.blogspot.co.uk/
www.robertslimbrick.com
Cache nothing. Brute force everything.
-
but, it's adding it to all the glass. I just want it along the edge, to make the glass look thick.Originally posted by Macker View PostThe fog colour will add the green tint.Bobby Parker
www.bobby-parker.com
e-mail: info@bobby-parker.com
phone: 2188206812
My current hardware setup:- Ryzen 9 5900x CPU
- 128gb Vengeance RGB Pro RAM
- NVIDIA GeForce RTX 4090
- Windows 11 Pro
Comment
-
See edited postCheck out my (rarely updated) blog @ http://macviz.blogspot.co.uk/
www.robertslimbrick.com
Cache nothing. Brute force everything.
Comment
-
I'll give it a go, thanks.Bobby Parker
www.bobby-parker.com
e-mail: info@bobby-parker.com
phone: 2188206812
My current hardware setup:- Ryzen 9 5900x CPU
- 128gb Vengeance RGB Pro RAM
- NVIDIA GeForce RTX 4090
- Windows 11 Pro
Comment
-
Originally posted by mario74 View Post+1 for Vray DirtCheck out my (rarely updated) blog @ http://macviz.blogspot.co.uk/
www.robertslimbrick.com
Cache nothing. Brute force everything.
Comment
-
Originally posted by mario74 View Postto darken the edges!Check out my (rarely updated) blog @ http://macviz.blogspot.co.uk/
www.robertslimbrick.com
Cache nothing. Brute force everything.
Comment
-
Ahhh fair enough, I was hoping you'd reveal a new technique I hadn't considered!Check out my (rarely updated) blog @ http://macviz.blogspot.co.uk/
www.robertslimbrick.com
Cache nothing. Brute force everything.
Comment
-
Hi Bobby,
Another nice thing about the fog is that once you get it how you like, you can easily control the effect.
I just finished a job with lots of glass walls and if you think it would help I can upload a mat file for you to test out.
Here is a small example of how it came out...
(This phase was solely for picking Sherwin Williams paint colors, so it is totally empty and stark, but exactly what they wanted.
I ended up De-saturating the green a bit just for these, so it would not draw attention from the colors they were trying to choose.)
Please don't slam this too much guys, I know it is not a real "Hero" shot or even special, just what I thought was decent glass effect...
mat filevoltron7 glass int2.zip
Comment
-
yes, please. I would love ti check out the material, because mine is not working.Bobby Parker
www.bobby-parker.com
e-mail: info@bobby-parker.com
phone: 2188206812
My current hardware setup:- Ryzen 9 5900x CPU
- 128gb Vengeance RGB Pro RAM
- NVIDIA GeForce RTX 4090
- Windows 11 Pro
Comment
Comment