From 330cbef6f1953de3e1cbeb5aed03e951bc101965 Mon Sep 17 00:00:00 2001 From: metamuffin Date: Wed, 24 Jan 2024 02:16:03 +0100 Subject: fix it? --- flowy/src/motion/debug.wgsl | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'flowy/src/motion/debug.wgsl') diff --git a/flowy/src/motion/debug.wgsl b/flowy/src/motion/debug.wgsl index 7da5c57..d2c56a4 100644 --- a/flowy/src/motion/debug.wgsl +++ b/flowy/src/motion/debug.wgsl @@ -29,6 +29,18 @@ struct BlockOffset { textureStore(out, base, col); } } + + // for (var x = 0; x < params.block_size.x; x++) { + // for (var y = 0; y < params.block_size.y; y++) { + // let base = uv + vec2(x, y); + // let col_dec = textureLoad(prev, base + bl.offset, 0) + vec4(bl.tint, 1.); + // let col_orig = textureLoad(next, base, 0); + + // let col = vec4( saturate((0.5) + (col_orig.rgb - col_dec.rgb) * 100.), 1.0); + + // textureStore(out, base, col); + // } + // } } -- cgit v1.2.3-70-g09d2