• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Use an image to drive x/y amount in tile sampler

New Here ,
Dec 03, 2021 Dec 03, 2021

Copy link to clipboard

Copied

Is it possible to have an input drive the x/y amount of instances in the tile sampler?
As my instances get smaller, i want to increase the density/amount

DavidConlon_0-1638379984360.png


Do I need to use a pixel processor function and some fancy math for this?

Thanks!

TOPICS
How to , Substance Graph

Views

172

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Dec 06, 2021 Dec 06, 2021

Copy link to clipboard

Copied

Hello David,

 

You may set the Amount parameter to the value matching the highest density in the map, then use a combination of the Scale map and Mask to control the number and size of shapes along the map.

 

Adobe_Substance_3D_Designer_AVDiTCVJOX.png

 

I hope this is helpful!

 

Best regards.

 

Luca Giarrizzo | Quality Engineer, 3D & Immersive | Adobe

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Dec 06, 2021 Dec 06, 2021

Copy link to clipboard

Copied

Thanks Luca!
That makes sense, but I must be missing something...

I tried to recreate your example setup, but not sure what I am missing.

DavidConlon_0-1638814041024.png

 

DavidConlon_1-1638814052474.png

DavidConlon_2-1638814090738.png

 

 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Dec 06, 2021 Dec 06, 2021

Copy link to clipboard

Copied

LATEST

Hello @David Conlon,

 

Increase the X/Y Amount values, then increase the Mask Map Threshold value. The latter value determines the level of gray in the mask below which shapes should be masked.
Currently, the value of 0 means no shapes are masked since none fall into a value of exactly 0 in the mask.

 

From there, tweak the Scale and Scale Map Multiplier values to control the size decrease and prevent gaps.

 

Best regards.

 

Luca Giarrizzo | Quality Engineer, 3D & Immersive | Adobe

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines