기술 자료

Unity Engine

Unity Engine

Render Objects Renderer Feature reference for URP

Explore the properties and settings of the Render Objects Renderer Feature, to configure how Unity draws objects.
읽는 시간 2분최근 업데이트: 2달 전

Properties

The Render Objects Renderer Feature contains the following properties.

Property

Description

NameUse this field to edit the name of the feature.
EventThe event in the URP queue when Unity executes this Renderer Feature.
FiltersSettings that let you configure which objects this Renderer Feature renders.
QueueSelect whether the feature renders opaque or transparent objects.
Layer MaskThe Renderer Feature renders objects from layers you select in this property.
Pass NamesIf a Pass in a shader has the
LightMode
Pass Tag, this Renderer Feature processes only the shaders where the value of the
LightMode
Pass Tag equals one of the values in the Pass Names property.
OverridesSettings in this section let you configure overrides for certain properties when rendering with this Renderer Feature.
Override ModeSpecify the material override mode.
Material(Override Mode is set to Material) When rendering an object, Unity replaces the Material assigned to it with this Material. This will override all material properties with this material
Shader(Override Mode is set to Shader) When rendering an object, Unity replaces the material assigned to it with this shader. This maintains all material properties and allows the override shader to access these properties. This is currently not SRPBatcher compatible and less performant.
DepthSelecting this option lets you specify how this Renderer Feature affects or uses the Depth buffer. This option contains the following items:
Write Depth: this option defines whether the Renderer Feature updates the Depth buffer when rendering objects.
Depth Test: the condition which determines when this Renderer Feature renders pixels of a given object.
StencilWith this check box selected, the Renderer processes the Stencil buffer values.
For more information on how Unity works with the Stencil buffer, refer to ShaderLab: Stencil.
CameraSelecting this option lets you override the following Camera properties:
Field of View: when rendering objects, the Renderer Feature uses this Field of View instead of the value specified on the Camera.
Position Offset: when rendering objects, the Renderer Feature moves them by this offset.
Restore: with this option selected, the Renderer Feature restores the original Camera matrices after executing the render passes in this Renderer Feature.