You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
URP has a camera stacking feature that allows rendering additional objects on top of the Base camera. For example, this could be used for rendering FPS weapons that don't clip with the environment.
The problem is that the overlay camera also draws the outline. This produces waste draw calls.
Moreover, in cases when the overlay camera has a different field of view player will see two(or more) separate outlines which is really weird.
URP has a camera stacking feature that allows rendering additional objects on top of the Base camera. For example, this could be used for rendering FPS weapons that don't clip with the environment.
The problem is that the overlay camera also draws the outline. This produces waste draw calls.
Moreover, in cases when the overlay camera has a different field of view player will see two(or more) separate outlines which is really weird.
As a solution OutlineFeature could have a setting that forces OutlinePass to render outline only for the base camera.
Whether a camera is base or overlay could be found by using this component:
https://docs.unity3d.com/Packages/[email protected]/manual/universal-additional-camera-data.html
The text was updated successfully, but these errors were encountered: