Skip to content

API > LineRenderer > generateLightingData


LineRenderer.generateLightingData⚓︎

Name Type
generateLightingData boolean

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.