Author Topic: Multi shader  (Read 283 times)

Yesterday at 15:43:06

quatrosolo

  • Active Users
  • **
  • Posts: 28
    • View Profile
Hello everyone ,

I have the following question:
How do I force the multi shader to use every different texture at least once before starting to repeat.

Let's say I have 10 instances of an object and 10 different textures -
how do I force it to use a different texture for each object ?
at the moment I am seeing a weird behaviour that some textures are repeated twice and some not at all.

frequencies are all kept at 1
tried to also use .1 but it didnt change.

Thanks

Yesterday at 20:18:26
Reply #1

romullus

  • Global Moderator
  • Active Users
  • ****
  • Posts: 9352
  • Let's move this topic, shall we?
    • View Profile
    • My Models
You can try different seed. The textures are assigned randomly (well, pseudo-randomly), eventually you should be able to find a seed where all 10 objects are assigned 10 different textures.
I'm not Corona Team member. Everything i say, is my personal opinion only.
My Models | My Videos | My Pictures

Yesterday at 23:35:53
Reply #2

TomG

  • Administrator
  • Active Users
  • *****
  • Posts: 6229
    • View Profile
Yep, there's no way to force it. You can always make a feature suggestion over on our Ideas Portal :) https://chaoscorona.ideas.aha.io/

Also, depending on what you are wanting to achieve, there may be other ways to do it - are you literally wanting to use this as the Diffuse color in the final rendered image, or are you using it for some post processing to make selections for instance (the latter case may be better done using masks).
Tom Grimes | chaos-corona.com
Product Manager | contact us

Today at 19:04:33
Reply #3

quatrosolo

  • Active Users
  • **
  • Posts: 28
    • View Profile
Thanks for the suggestions. I still feel it would be more logical if it worked that way by default. Unfortunately, for my project I need to create a fairly complex sculpture rendering, where each texture must appear only once. I’ll give the seeding approach a try.

I ll make the official suggestion !
Cheers