Skip to main content
Participating Frequently
September 13, 2022
Question

Masking a tile pattern for the Tile Sampler Color node.

  • September 13, 2022
  • 2 replies
  • 1814 views

I've got some clumps of grass that I'm putting into some Tile Samplers to make distributions of them. Grayscale clumps go into a Tile Sampler, and color versions go into a Tile Sampler Color with the same settings. The problem is that the color patterns stamp on top of each other as square tiles, while the grayscale clumps act as if they have alpha information (or mix together as if they're all an Add blend). A couple images are attached to show what I mean.

 

I'm looking for a way to mask individual pattern inputs for the Tile Sampler Color. Anyone have any ideas?

This topic has been closed for replies.

2 replies

davescm
Community Expert
Community Expert
September 13, 2022

Have you ensured your color pattern input has an alpha (use alpha merge node as below if it does not)

 

Dave

Participating Frequently
September 14, 2022

I have multiple patterns going in, and don't see that it permits multiple alphas.

davescm
Community Expert
Community Expert
September 14, 2022

Hi

Still works here, unless I'm missing what you are aiming to achieve.

 

 

Dave

Participating Frequently
September 13, 2022

Found what might be the only solution. Add/Sub blend mode instead of alpha blend in the Color section.

Don't love the blend, wish it could look like a Copy with alpha masking instead, but it'll do for now.

Participating Frequently
September 13, 2022

Couldn't get over the blend, I'm now just doing multiple Tile Samplers for each different clump, with fewer tiles showing, and with a random seed that avoids all overlap.

 

Kind of annoying workaround.