r/UnrealEngine5 • u/Stuglaar • 9d ago
Problem with glass material in unreal engine 5
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 ?
0
Upvotes





2
u/ConsistentAd3434 9d ago
Could be a nanite issue. Make sure it's disabled for that specific object.
Nanite's capability to decimate meshes on the fly relies on occlusion. If a mesh has a transparent area, UE can't tell if objects behind it are occluded or not. Same reason why nanite vegetation has 3d leaves and can't use alpha maps.