Skip to content

Commit

Permalink
Updating docs for merged PRs (#5821)
Browse files Browse the repository at this point in the history
* PR #5459

Updated the docs changed in "Add high quality antialiasing example using the accumulation api" PR.

* Doc fixes

Fixed typo and changed SuperSampling "effect" to "method"

Co-authored-by: sebastienlagarde <sebastien@unity3d.com>
  • Loading branch information
Vic-Cooper and sebastienlagarde committed Oct 18, 2021
1 parent 4232603 commit d78f014
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -117,9 +117,9 @@ In this example, you can see that the slow open profile creates a motion trail a


## High Quality Anti-aliasing with Accumulation
You can use the accumulation API to create a high quality antialiased frame, similar to a [SuperSampling](https://en.wikipedia.org/wiki/Supersampling) effect. The accumulation API uses fewer memory resources in the GPU than higher resolution rendering.
You can use the accumulation API to create a high quality antialiased frame, similar to the [SuperSampling](https://en.wikipedia.org/wiki/Supersampling) method. The accumulation API uses fewer memory resources in the GPU than higher resolution rendering.

To do this, use the accumulation API to jitter the projection matrix of each rendered subframe. The following script example uses the this method to perform high quality antialiasing :
To do this, use the accumulation API to jitter the projection matrix of each rendered subframe. The following script example uses this method to perform high quality antialiasing :

```C#
public class SuperSampling : MonoBehaviour
Expand Down

0 comments on commit d78f014

Please sign in to comment.