Jump to content

Recommended Posts

Posted (edited)

Issue

Affinity Photo 2.0.4

It appears that Procedural Texture layers are ignored when moved inside of a group.

I'm still pretty new to Affinity Photo/Procedural Textures and might not fully understand how this layer should be used and if this behavior is possibly by design. Specifically, I'm not sure if this layer is expected to only be used as a "modifier" of other layers or if it can live on its own as a texture "generator".

 

Reproduction Steps

  1. Create a new blank document
  2. Add a Procedural Texture Live Filter layer with the following settings (the values themselves are not important, as long there is data in at least A and one color channel):
    820414967_Screenshot2023-04-11094334.png.28f0f33a8032cc8d90e78eb9107050cd.png
  3. The document is now completely red:
    1151156285_Screenshot2023-04-11095326.png.2ec6a6f5675c91ff3385cd51b368fae8.png
  4. Put the Procedural Texture layer into a Group and leave the default blending mode of Passthrough
  5. The document is now completely white, as if the Procedural Texture is ignored:
    1528481371_Screenshot2023-04-11095307.png.c7458ef3c5c1586623c26f9f8fd8bcc2.png

 

Expected Result

After step #4, I would expect the document to still be red since the group doesn't have any mask that would stop it from being displayed.

Edited by chairpants
Posted (edited)

Welcome to the forums @chairpants

Unless I’m mistaken, the observation which you are describing is expected behaviour.

The way I think about it, the Live Filters take the pixels/content from <something>, manipulate that <something> and produce <a (possibly) different thing>.
In other words, in general, but not always, they need <something> to manipulate in order to produce <something else>.

A document has an ‘inherent’ transparent background whether you tell the software that the background is transparent or not.
A non-transparent background – the white rectangle that you can see – is not counted by the live filters as ‘a thing to be manipulated’.

You can see this if you change your Live Procedural Texture Filter settings to not affect the Alpha channel.
With the filter only affecting the Red channel you will see no change because the blank document doesn’t have any content.
Alternatively, with the filter affecting the Red and Alpha channels you will see a red rectangle because the filter is now affecting the transparent (Alpha) background and turning it red.

If you add a Live Filter to a Group which contains no other layers, because that group has no content, the live filter has nothing to manipulate and, therefore, you will see no difference – there’s nothing in the group to manipulate and so there’s nothing to see.

I don’t think this is a bug, it’s just the way the software is supposed to work (unless someone can prove otherwise).

Note: See later posts for further details.

Note: [inserted clarification]

Edited by GarryP
Added clarification.
Posted
3 hours ago, GarryP said:

In other words, they need <something> to manipulate in order to produce <something else>

that is not correct. 

PT filter can create something from scratch, when you set the alpha channel to non-zero.same applies to e.g channels mixer where you can set an offset on alpha.

But if you nest any filter / adjustment to child position, the alpha channel gets clipped to areas where alpha is non-zero (by lower layers).

simply drag the filter to masking position, and alpha starts working even on empty groups.

The file below shows it:

  • the red rectangle is from the lower group, and alpha is 1 in the upper half of the canvas, PT nested to child position
  • the green rectangle is from the upper group, and alpha is 1 in the left half of the canvas, PT nested to masking position

 

 

Screenshot 2023-04-12 at 13.25.58.png

PT filter within group.afphoto

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

Thanks for the explanation but it’s gone way over my head, e.g. “set an offset on alpha”, “alpha channel gets clipped”, “drag the filter to masking position”, etc.

If you can provide a video at some point then that should be useful for me and others.

Posted
1 minute ago, GarryP said:

Thanks for the explanation but it’s gone way over my head, e.g. “set an offset on alpha”, “alpha channel gets clipped”, “drag the filter to masking position”, etc.

If you can provide a video at some point then that should be useful for me and others.

just updated my older post and included a test file & screenshots

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
7 minutes ago, GarryP said:

set an offset on alpha”

  1. add a channels mixer
  2. choose alpha channel
  3. set the offset to a value >0

Screenshot 2023-04-12 at 13.38.17.png

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

Thanks for the extra information.
This is way beyond what I use those parts of the software for.
I’ve slightly edited my earlier post to suggest that what I said there isn’t the whole picture.

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.