A Boolean value that indicates whether lighting is calculated for both sides of a primitive.
- iOS 5.0–12.0Deprecated
- macOS 10.8–10.14Deprecated
- tvOS 9.0–12.0Deprecated
If the value is
GL and the back face of a primitive is being rendered, the lighting values are calculated by negating the surface normals for the primitive. If the value is
GL, then the facing of the primitive is ignored when performing the lighting calculation. The default value is
Setting the value of this property to
GL may impact performance. Only use two-sided lighting when either side of a primitive could theoretically be visible to the camera.