enum hiro::draw::FacesStyle::NormalSource
Overview
Available sources of normal vector. More…
#include <ElementRenderer.h> enum NormalSource { flat_normals = 0, point_normals = 1, normal_texture = 2, };
Detailed Documentation
Available sources of normal vector.
Enum Values
flat_normals
Normals are calculated from face orientations.
point_normals
Per vertex normals are used. Requires normal attribute for vertices.
normal_texture
Normals are picked from the normal texture. Requires normal texture.