Directional lights is suitable for achieving sunlight (In the figure below, you can see that the brightness of the directional lights produced on the plane is the same).
The other is to set the Type property directly after adding the Light component in the Properties of the node.ĭirectional lights are the most common type of lights, and the lighting effect is not affected by the light position and orientation. One is to select the Create Light -> desired Light type (for example Directional) directly when creating a node in the Node Tree. There are two ways to choose a Light type:
Light types include DIRECTIONAL, POINT, SPOT, AMBIENT four types. Add LightsĬlick on the + button in the upper left corner of the Node Tree and select Create Light to create a node containing the Light component to your scene.Īdd a Light component to the node by selecting the node in the Node Tree where you want to add the lights, then clicking the Add Component button below the Properties and selecting Light from the Renderer Component. It is recommended to switch the scene editor to 3D scene mode by clicking the 3D button at the top left of the editor for better editing of the light, etc.
Resource management considerations - meta filesĪdding light in the 3D scene can make the Scene produce the corresponding shadow and lighting effect, and obtain better visual effects.
V2.4 Custom Project Build Process Upgrade Guide