Skip to content

Commit d614c5e

Browse files
committed
Made "Directly to Camera Target" setting false by default
1 parent 6e1c38c commit d614c5e

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
1616

1717
### Changed
1818
- Warning for mobiles about using post-processing with non-fullscreen cameras.
19+
- Directly to Camera Target on the PostProcessLayer component is now disabled by default.
1920

2021
## [2.1.6] - 2019-04-11
2122

PostProcessing/Runtime/PostProcessLayer.cs

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,13 @@ public enum Antialiasing
7575
/// avoid post-processing artifacts cause by broken data in the scene.
7676
/// </summary>
7777
public bool stopNaNPropagation = true;
78-
public bool finalBlitToCameraTarget = true;
78+
79+
/// <summary>
80+
/// If <c>true</c>, it will render straight to the backbuffer and save the final blit done
81+
/// by the engine. This has less overhead and will improve performance on lower-end platforms
82+
/// (like mobiles) but breaks compatibility with legacy image effect that use OnRenderImage.
83+
/// </summary>
84+
public bool finalBlitToCameraTarget = false;
7985

8086
/// <summary>
8187
/// The anti-aliasing method to use for this camera. By default it's set to <c>None</c>.

0 commit comments

Comments
 (0)