spacecat Posted August 17, 2021 Posted August 17, 2021 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? Quote
NotMyFault Posted August 17, 2021 Posted August 17, 2021 Duplicate layer Rasterize to Mask (right-click on layer / context menu) Move mask layer nested as mask to the layer you want it to be applied Quote 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.
spacecat Posted August 17, 2021 Author Posted August 17, 2021 Thanks for the reply. But is it possible to move this rasterized mask to replace the mask of HSL? Quote
NotMyFault Posted August 17, 2021 Posted August 17, 2021 Yes, there are several ways. Try this: Ensure that the channels panel is visible (View>Studio>Channels) Select the mask layer in the layers stack In Channels panel, right-click on "Mask Alpha", choose "Create Spare Channel". It creates a new channel at the bottom of channels panel Select the HSL adjustment layer in the layers stack In Channels panel, right-click on the spare channel created before, and choose "Load to HSL Shift Adjustment Alpha" spacecat 1 Quote 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.
spacecat Posted August 17, 2021 Author Posted August 17, 2021 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 : ) Quote
NotMyFault Posted August 17, 2021 Posted August 17, 2021 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 ... Quote 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.
Recommended Posts
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.