aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorLibravatar Silas Bartha <[email protected]>2024-04-26 01:23:11 -0400
committerLibravatar Silas Bartha <[email protected]>2024-04-26 01:23:11 -0400
commitccf6a082ac040c42e428fde771834b2043735cb5 (patch)
treecbe788ead3a76feeb0baeeae63f77323b236e670 /README.md
parent7427c127662d91c7218639a2fb4d8fb7c9981611 (diff)
Switched to asset server reference for adding threshold map texturev0.1.2
Diffstat (limited to 'README.md')
-rw-r--r--README.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/README.md b/README.md
index 7c497cd..8633dff 100644
--- a/README.md
+++ b/README.md
@@ -10,7 +10,7 @@ The effect is implemented as a bilevel ordered dither using a Bayer matrix with
![](./doc/screenshot_plant.png)
Configuration Used:
```rs
-grex_dither_post_process::components::DitherPostProcessSettings::new(3, images);
+grex_dither_post_process::components::DitherPostProcessSettings::new(3, &asset_server);
```
## Compatibility
@@ -47,7 +47,7 @@ When spawning a camera:
```rs
commands.spawn((
// Camera3dBundle...
- grex_dither_post_process::components::DitherPostProcessSettings::new(level, images);
+ grex_dither_post_process::components::DitherPostProcessSettings::new(level, &asset_server);
));
```