Skip to content

Latest commit

 

History

History
74 lines (42 loc) · 2.51 KB

backface_culling.md

File metadata and controls

74 lines (42 loc) · 2.51 KB

Blender screenshots made with Blender 2.79

Contents

Backface Culling

Backface culling refers to faces not displaying if they are viewed from the back side.

Click here for an example demonstrating the difference between backface culling enabled (by default in SharpOcarina) and disabled (by default in Blender) SharpOcarina:

How it looks in SharpOcarina

Blender:

How it looks in Blender (2.79)

Video demonstrating what this file explains (Blender 2.79)

Enable backface culling in Blender

backface culling Blender 2.79 option

Show face normals in Blender

What defines which side of a face is "back" or "front" is face normals, those can be seen in Blender in Edit Mode

show normals in Blender 2.79

In Blender 2.82

show normals in Blender 2.82

Flipping normals in Blender

To change which direction normals are facing, select the faces and use the flip normals operator.

The operator search is (by default) brought up by hitting Space in Blender 2.79, and F3 in Blender 2.8x

flip normals operator in Blender 2.79

Result:

after flip normals in Blender 2.79

With backface culling enabled in Blender and after deleting the top face:

easier to see result of flip normals

Making both front and back sides visible

For geometry that is actually supposed to be viewed from both sides (like a wall), backface culling can be disabled.

Method 1: in the SharpOcarina interface

There is a Backface Culling checkbox that can be unticked for every mesh to disable backface culling for.

backface culling checkbox in SharpOcarina

Method 2: in Blender with SharpOcarina tags

See SharpOcarina tags for an explanation of tags.

The BackfaceCulling tag can be used to disable backface culling on the desired objects (yes, the tag name is counter-intuitive).