ドキュメント

Unity Engine

Download Unity

Unity Engine

Lens flares in URP

Resources and techniques for creating and configuring lens flares in the Universal Render Pipeline (URP).
読み終わるまでの所要時間 1 分最終更新 2ヶ月前

Lens flares simulate the effect of lights refracting inside a camera lens. Use lens flares to represent bright lights, or to add atmosphere to a scene.

Page

Description

Choose a lens flare typeUnderstand the differences between lens flares and screen space lens flares.
Add lens flaresUse the Lens Flare (SRP) component to create lens flares for lights that have specific locations in your scene, for example bright bulbs.
Add screen space lens flaresUse the Screen Space Lens Flare override to create lens flares for emissive surfaces, bright spots in your scene that appear depending on the camera view, and all onscreen lights.
Lens Flare (SRP) referenceReference for the Lens Flare (SRP) component.
Lens Flare (SRP) Data Asset referenceReference for the Lens Flare (SRP) Data Asset.
Screen Space Lens Flare override referenceReference for the Screen Space Lens Flare override.