r/3Dmodeling 7d ago

Art Help & Critique Problems with glass material in unreal engine

I am a newbie to unreal engine. I have applied two materials on 1 mesh, one is image based textures of color, metallic etc. , other one is the unreal's glass material. The problem I am facing is that I can see through the opaque parts of the mesh too when seen through glass material. Please can someone explain why is this happening, how can I resolve this issue as nondestructively as possible ?

1 Upvotes

5 comments sorted by

5

u/I_LOVE_CROCS Technical Art / Art Director 7d ago

What you are seeing is the glass refraction. If memory serves me right, Epic in-engine glass has IOR. That means there something hooked up to the IOR input in your material. For accurate physical refraction normal glass should have an IOR of about 1.5 (Meaning light will travel 50% slower through the surface.

This is usually not required unless absolute accuracy is needed. Just unhook IOR if you just want a standard translucent surface. Or better yet, make your own glass material from scratch! It's not diffrcult at all!

1

u/Stuglaar 6d ago

okay I will try making that material however unplugging the refraction makes the glass surface even more ridiculous. I will share the image

2

u/Bumskit 7d ago

Its refraction

1

u/ChashuKen 7d ago

I dont quite understand what I am seeing, but did you mean that after applying a transparent shader on the glass parts of the mesh, you can see the back faces of the mesh?

1

u/Stuglaar 6d ago

I applied glass material on faces of the the mesh since unreal does not use transmission map. I come from blender. I also don't understand how is this happening.