Tagged: shader glass
- 2019-12-12 at 8:30 pm #21920jemLicensee
Hi Soft8soft team,
I am working on projects that include glass materials. I have been examining node setup in the thin glass material in the Scooter demo. I understand most of it, but there is a group of nodes that I would like explained. I have circled these nodes in the attached screenshot.
These nodes do not seem to do anything. The attribute node only returns zero so the rest of the chain that I circled does nothing? Please correct me if I am wrong.
Attachments:You must be logged in to view attached files.2019-12-13 at 6:24 am #21924Mikhail LuzyaninDeveloper
The attribute node only returns zero so the rest of the chain that I circled does nothing?
This nodes differs the border of the glass from thr other glass part. If you’ll look inside the vertex color you will see that the edges of the glass colored with white (light gray) and other part is pure black, so this is mean for the shader that the other part of the glass will be fully transparent, but the enges will be less. This was made to imitate a thikness of a glass. You can remove this thing to simplifie the material.
Co-founder and lead graphics specialist at Soft8Soft. Blender only and forever!2019-12-13 at 5:03 pm #21941jemLicensee
Vertex colors! I did not think to look at those. That is a very good solution for simulating glass thickness. I learn something new every day. I will have to use this technique in my own work.
Thank you for the explanation and for the great work.
- You must be logged in to reply to this topic.