Introducing New Material: Glass

asuh dude

20 Likes

Is there any possibility the glass could refract based on it’s shape and not transparency?

5 Likes

What do you mean?

1 Like

IRL lenses work because of their specific shape, not their opacity.
As far as I’ve seen, with the Glass material, there would be no difference between a cylinder and a sphere if you would look at the cylinder’s flat top/bottom.
IRL, a glass sphere would flip the image behind it, while a cylinder would pass the light with almost no distorted refraction at all.

6 Likes

As you’ve said, there’s barely any refraction in the flat of cylinder and block shapes, but lens-like refraction in, well, spheres/lens-shaped spheres.

It’s really cool to mess around with to say the least. :slight_smile:

Thats seriously cool!

1 Like

That’s stunning. Glass is so interesting!

1 Like

I don’t get how glass has anything to do with this, please explain :face_with_raised_eyebrow:

1 Like

I’m assuming it’s about the Glass material behavior with decals, transparent objects etc.

1 Like

The exterior is surrounded by glass, and the interior is ever so slightly transparent so that it is invisible through the glass

2 Likes

What I’m a little confused about is this image:

Image

d4de44d00e7ca8371876fc716630fe9cd425aae2_1_690x411

You guys have this image in the post under the “Reflectance - Image” spoiler, yet I can’t get this reflectance of the surrounding terrain that you are showing here. The glass material only reflects the skybox, not the surrounding environment.

5 Likes

I could be wrong but I think the terrain might be part of the skybox

that’s a possibility, but it doesn’t seem that way in the image.

Correct, it only reflects the skybox. For some reason our default skybox has clouds beneath you, so sometimes reflections look weird. I found reflections look much better if you use a skybox that has the ground as a part of the skybox, or at least if the bottom half of the skybox is darker.

2 Likes

As the days go on I keep seeing cooler and cooler stuff with glass.

This is definitely one of the best updates in a while.

2 Likes

I’m interested in knowing how you accomplished this.

This would be too intensive for Roblox’s engine.

I’m taking advantage of the bug where transparent parts and decals do not render behind glass. All the snow, the NPCs and the house are set to Transparency = 0.011 (I heard rumours 0.001 also works, but haven’t tried it). The ParticleEmitter doesn’t render either.

Yeah, a little disappointing due to that.

6 Likes

I’m experiencing the same effect on my map. So sadly I can’t apply glass to my map until this issue is fixed.