Boat Attack使用了Universal RP的许多新图形功能,可以用于探索 Universal RP 的使用方式和技巧。
您最多选择25个主题 主题必须以中文或者字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
 
 
 

5.0 KiB

Parametric

Select the Parametric Light type to use a n-sided polygon as the Light. The following additional properties are available to the Parametric Light type.

Parametric Light properties

Property Function
Radius Set the radius of the Light.
Sides Set the number of sides of the parametric shape.
Angle Offset Set the rotation of the parametric shape.
Falloff Adjust the amount the blending from solid to transparent, starting from the center of the shape to its edges.
Falloff Intensity Adjusts the falloff curve of the Light.
Falloff Offset Sets the offset for the outer falloff shape.
Parametric Light editing mode Resulting Light effect
Parametric Light in edit mode Resulting Light Effect

Freeform

Select the Freeform Light type to create a Light from an editable polygon with a spline editor. To begin editing your shape, select the Light and find the button in its Inspector window. Select it to enable the shape editing mode.

Add new control points by clicking the mouse along the inner polygon’s outline. Remove control points selecting the point and pressing the Delete key.

The following additional properties are available to the Freeform Light type.

Freeform Properties

Property Function
Falloff Adjust the amount the blending from solid to transparent, starting from the center of the shape to its edges.
Falloff Intensity Adjusts the falloff curve of the Light.
Falloff Offset Sets the offset for the outer falloff shape.
Light Editing Mode Light Effect
Freeform Light in edit mode Resulting Light Effect

Sprite

Select the Sprite Light type to create a Light based on a selected Sprite by assigning the selected Sprite to the additional Sprite property.

The Sprite property

Property Function
Sprite Select a Sprite as the Light source.
Selected Sprite Resulting Light effect
Selected Sprite Resulting Light effect

Point

Select the Point Light type for great control over the angle and direction of the selected Light with the following additional properties.

Point Light properties

Property Function
Inner Radius Set the inner radius here or with the gizmo. Light within the inner radius will be at maximum intensity.
Outer Radius Set the outer radius here or with the gizmo. Light intensity decreases to zero as it approaches the outer radius.
Inner Angle Set the angle with this slider or with the gizmo. Any light within the inner angle will be at the intensity specified by inner and outer radius.
Outer Angle Set the angle with this slider or with the gizmo. Light intensity decreases to zero as it approaches the outer angle.
Point Light editing Mode Resulting light effect
Point Light in edit mode Resulting Light effect

Light Cookies

You can assign a Sprite as a Light cookie, which acts as a mask for the intensity of the Light.

Cookie Sprite Resulting Light effect
Selected Sprite as a Light cookie Resulting Light effect

Global

Global Lights light all objects on the targeted sorting layers. Only one global Light can be used per Blend Style, and per sorting layer.