Skip to content

Commit 31132ef

Browse files
authored
docs: postprocess imports from luma.gl/effects (#9436)
1 parent 6953688 commit 31132ef

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

docs/api-reference/core/post-process-effect.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ Parameters:
2323
## Example
2424

2525
```js
26-
import {brightnessContrast} from '@luma.gl/shadertools';
26+
import {brightnessContrast} from '@luma.gl/effects';
2727
import {PostProcessEffect} from '@deck.gl/core';
2828

2929
const postProcessEffect = new PostProcessEffect(brightnessContrast, {

docs/developer-guide/using-effects.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -160,13 +160,13 @@ The post-processing effect applies screen space pixel manipulation effects to th
160160
*Interactive demo of PostProcessEffect*
161161

162162

163-
`@luma.gl/shadertools` provides a collection of [shader modules](https://luma.gl/docs/api-reference/shadertools/shader-passes/image-processing) that implements some common image processing algorithms. You may also refer to their source code to see how to implement your own.
163+
`@luma.gl/effects` provides a collection of [shader modules](https://luma.gl/docs/api-reference/shadertools/shader-passes/image-processing) that implements some common image processing algorithms. You may also refer to their source code to see how to implement your own.
164164

165165
<Tabs groupId="language">
166166
<TabItem value="js" label="JavaScript">
167167

168168
```js
169-
import {brightnessContrast} from '@luma.gl/shadertools';
169+
import {brightnessContrast} from '@luma.gl/effects';
170170
import {Deck, PostProcessEffect} from '@deck.gl/core';
171171

172172
const postProcessEffect = new PostProcessEffect(brightnessContrast, {
@@ -190,7 +190,7 @@ const deckInstance = new Deck({
190190
<TabItem value="ts" label="TypeScript">
191191

192192
```ts
193-
import {brightnessContrast, BrightnessContrastProps} from '@luma.gl/shadertools';
193+
import {brightnessContrast, BrightnessContrastProps} from '@luma.gl/effects';
194194
import {Deck, PostProcessEffect} from '@deck.gl/core';
195195

196196
const postProcessEffect = new PostProcessEffect(brightnessContrast, {
@@ -210,7 +210,7 @@ const deckInstance = new Deck({
210210
```tsx
211211
import React from 'react';
212212
import DeckGL from '@deck.gl/react';
213-
import {brightnessContrast, BrightnessContrastProps} from '@luma.gl/shadertools';
213+
import {brightnessContrast, BrightnessContrastProps} from '@luma.gl/effects';
214214
import {PostProcessEffect} from '@deck.gl/core';
215215

216216
const postProcessEffect = new PostProcessEffect(brightnessContrast, {

0 commit comments

Comments
 (0)