Pass:setWinding
EditSets whether vertices in the clockwise or counterclockwise order vertices are considered the "front" face of a triangle. This is used for culling with Pass:setCullMode
.
Pass:setWinding(winding)
Arguments
Name | Type | Description |
winding | Winding |
Whether triangle vertices are ordered clockwise or counterclockwise .
|
Returns
Nothing
Notes
The default winding is counterclockwise. LÖVR's builtin shapes are wound counterclockwise.