Skip to content

Commit

Permalink
reviews
Browse files Browse the repository at this point in the history
  • Loading branch information
jianhuang01 committed May 14, 2019
1 parent f453fef commit aad593e
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions dev-docs/RFCs/v7.x/post-process-effect-rfc.md
Expand Up @@ -9,14 +9,14 @@ Post-processing effect rendering is part of deck.gl effect rendering pipeline, f

## Design

A post-processing effect is created from `PostProcessEffect` class and `Shader module`.
A post-processing effect is created from `PostProcessEffect` class and Shader module.
```js
import {Convolution} from @luma.gl/effects;
import {brightnessContrast} from @luma.gl/effects;
import {PostProcessEffect} from @deck.gl/core;

const postProcessEffect = new PostProcessEffect(Convolution, {
kernel: Convolution.KERNEL.EMBOSS,
kernelWeight: Convolution.KERNEL.EMBOSS.reduce((sum, x) => sum + x, 0)
const postProcessEffect = new PostProcessEffect(brightnessContrast, {
brightness: 0.5,
contrast: 0.5
});
```

Expand Down

0 comments on commit aad593e

Please sign in to comment.