Jump to content

Recommended Posts

Posted

I have a shading layer here that only has grey/white/black values. I wanted to copy these same values but as a mask to an existing layer, how can I do that with affinity? 

2095623781_Screenshot2021-08-17231332.png.ec043e1deaf96139714aa8f5ba6b9a0c.png

 

Posted
  1. Duplicate layer
  2. Rasterize to Mask (right-click on layer / context menu)
  3. Move mask layer nested as mask to the layer you want it to be applied

Mac mini M1 A2348 | MBP M3 

Windows 11 - AMD Ryzen 9 5900x - 32 GB RAM - Nvidia GTX 1080

LG34WK950U-W, calibrated to DCI-P3 with LG Calibration Studio / Spider 5 | Dell 27“ 4K

iPad Air Gen 5 (2022) A2589

Special interest into procedural texture filter, edit alpha channel, RGB/16 and RGB/32 color formats, stacking, finding root causes for misbehaving files, finding creative solutions for unsolvable tasks, finding bugs in Apps.

I use iPad screenshots and videos even in the Desktop section of the forum when I expect no relevant difference.

 

Posted

Yes, there are several ways. Try this:

  1. Ensure that the channels panel is visible (View>Studio>Channels)
  2. Select the mask layer in the layers stack
  3. In Channels panel, right-click on "Mask Alpha", choose "Create Spare Channel". It creates a new channel at the bottom of channels panel
  4. Select the HSL adjustment layer in the layers stack
  5. In Channels panel, right-click on the spare channel created before, and choose "Load to HSL Shift Adjustment Alpha"

 

Mac mini M1 A2348 | MBP M3 

Windows 11 - AMD Ryzen 9 5900x - 32 GB RAM - Nvidia GTX 1080

LG34WK950U-W, calibrated to DCI-P3 with LG Calibration Studio / Spider 5 | Dell 27“ 4K

iPad Air Gen 5 (2022) A2589

Special interest into procedural texture filter, edit alpha channel, RGB/16 and RGB/32 color formats, stacking, finding root causes for misbehaving files, finding creative solutions for unsolvable tasks, finding bugs in Apps.

I use iPad screenshots and videos even in the Desktop section of the forum when I expect no relevant difference.

 

Posted

That's odd, at first your suggestion didn't work ...  If I use any grey/black layers it gives me an empty mask. But if I use any other color or white, your suggestion works fine. I wonder if this feature is by design(?) 

I had to do a workaround by Inverting that shading layer to white values ... now it works : ) 

Posted
16 minutes ago, spacecat said:

That's odd, at first your suggestion didn't work ...  If I use any grey/black layers it gives me an empty mask. But if I use any other color or white, your suggestion works fine. I wonder if this feature is by design(?) 

I had to do a workaround by Inverting that shading layer to white values ... now it works : ) 

The most important step is to "Rasterize as Mask". Affinity handles regular RGB pixel layers and Mask completely different, despite all based on numeric values between 0-255 (or appropriate upper limits based on 8/16/32 bit depth). You can convert between them with help of some arcane magic like Spare Channels, Channels Adjustment, Procedural Texture Filters, but Affinity tried - and unfortunately absolutely succeeded - to make this even more complicated and un-intuitive as i could image in my worst nightmares. I especially hate the Channels Panel, as it requires such a painful toe-dance between layers, channels, right-mouse and select from 10s of sub-menu items ...

Mac mini M1 A2348 | MBP M3 

Windows 11 - AMD Ryzen 9 5900x - 32 GB RAM - Nvidia GTX 1080

LG34WK950U-W, calibrated to DCI-P3 with LG Calibration Studio / Spider 5 | Dell 27“ 4K

iPad Air Gen 5 (2022) A2589

Special interest into procedural texture filter, edit alpha channel, RGB/16 and RGB/32 color formats, stacking, finding root causes for misbehaving files, finding creative solutions for unsolvable tasks, finding bugs in Apps.

I use iPad screenshots and videos even in the Desktop section of the forum when I expect no relevant difference.

 

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.