From 176e2730795c3682627c798c3d8dedc5cc71cb5a Mon Sep 17 00:00:00 2001 From: firestar99 Date: Tue, 26 Aug 2025 19:05:04 +0200 Subject: [PATCH] shaders: `gamma_correction` and `channel_mixer` gpu nodes --- node-graph/graster-nodes/src/adjustments.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/node-graph/graster-nodes/src/adjustments.rs b/node-graph/graster-nodes/src/adjustments.rs index 48cbed4160..d7e240d19d 100644 --- a/node-graph/graster-nodes/src/adjustments.rs +++ b/node-graph/graster-nodes/src/adjustments.rs @@ -72,7 +72,7 @@ fn luminance>( input } -#[node_macro::node(category("Raster"), cfg(feature = "std"))] +#[node_macro::node(category("Raster"), shader_node(PerPixelAdjust))] fn gamma_correction>( _: impl Ctx, #[implementations( @@ -656,7 +656,7 @@ pub enum DomainWarpType { // Aims for interoperable compatibility with: // https://www.adobe.com/devnet-apps/photoshop/fileformatashtml/#:~:text=%27mixr%27%20%3D%20Channel%20Mixer // https://www.adobe.com/devnet-apps/photoshop/fileformatashtml/#:~:text=Lab%20color%20only-,Channel%20Mixer,-Key%20is%20%27mixr -#[node_macro::node(category("Raster: Adjustment"), properties("channel_mixer_properties"), cfg(feature = "std"))] +#[node_macro::node(category("Raster: Adjustment"), properties("channel_mixer_properties"), shader_node(PerPixelAdjust))] fn channel_mixer>( _: impl Ctx, #[implementations(