Is it better to have models that have double faces or is it better to have a two-sided material instead?

So I downloaded a Sketchup model from the internet and a lot of it’s stuff is made of planes (image attached)

So the red portions of the image are the inside faces which would not show up in UE4 unless I use two sided materials.

My question is, would it be more performant to make all those planes 3D or can I just use two sided materials?

When you use two-sided materials, back-face culling for the triangles are disabled so that the triangles can be rendered from both sides. This is less performant because, since the back-facing triangles aren’t being culled, more triangles are being rendered.

To fix this: in blender, simply flip the normals of all the red triangles; you can do this manually or by using “recalculate outside”.

1 Like

To add to what @midgunner66 said. Also merge vertices by distance, so all the floating planes will join together.

1 Like

It is usually better to add faces for the other side, and not make the material double sided. The exception to this is for grass, leaves, hair cards, and stuff like that. In this case, you should add the additional faces.

Reasoning:

  • For static props, which have baked light maps, those faces will display the baked lightmap from the primary face normal direction. So on that model, the step panel will likely receive a lot of light from above, and should be dark from below. But the lightmap is shared so the bottom of the panels will be too brightly lit.
  • Changing the material for the entire car to be double-sided will mean that no back faces can be culled, which will likely make the prop less performant.
  • If you want to get very detailed on your material creation and add stuff like mud or rust to the red portions, you won’t be able to do that. The material for those sections are just copies of the other side.

ALSO NOTE: The direction of the normals on the tires and windows is incorrect and should be flipped. This is very common with Sketchup models.

2 Likes

Double sided materials have problems with inverted tangent spaces and other “math” bits.
Also, if there’s any transparency involved, double sided materials generally generate more artifacts, because triangle sorting has much less to work with (this depends specifically on data prep, so may not apply here.)

In general, triangle count is not a big deal in modern games and engines. That doesn’t mean you can expect to drop in your 5,000,000 character into a crowd of 200 people, but it does mean that the technical reasons to not use double-sided materials probably weigh heavier than some triangle count savings for an asset like this.

2 Likes

Wow it’s nice to see this post is finally getting traction! Thank you so much to everyone who explained all this. I have learned alot. As for the inverted normals, I realized I do need to make a low poly of this (atleast until UE5 comes out) so either way I need to remesh it. So rather just flip the normals and add another face while I’m at it.

1 Like