Skip to main content

LineRenderer.generateLightingData

NameType
generateLightingDataboolean

Description

Configures a line to generate Normals and Tangents. With this data, Scene lighting can affect the line via Normal Maps and the Unity Standard Shader, or your own custom-built Shaders.