From ccf6a082ac040c42e428fde771834b2043735cb5 Mon Sep 17 00:00:00 2001 From: Silas Bartha Date: Fri, 26 Apr 2024 01:23:11 -0400 Subject: Switched to asset server reference for adding threshold map texture --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'README.md') 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); )); ``` -- cgit v1.2.3