Author Topic: Corona Multishader and Mograph Cloner  (Read 1477 times)

2023-10-17, 13:14:03

hankusp

  • Active Users
  • **
  • Posts: 41
    • View Profile
Hi
How to solve this problem?
When I use Corona Multishader and Mograph Cloner to create wall tiles I often have repetitions of the same tile texture on adjacent tiles. In this scene shown in the attachement I have 15 different tile textures and 12 tiles on the wall only. Despite this, the multishader repeats two textures multiple times and doesn't display some others.

2023-10-17, 13:34:13
Reply #1

Beanzvision

  • Former Corona Team Member
  • Active Users
  • **
  • Posts: 3882
  • Bengamin
    • View Profile
    • Cormats
Hi there,

Perhaps you can try adding a mapping randomizer at the end of the nodes and add 360 to the W/Z to channel?

Bengamin Jerrems:
Portfolio l Click me!

2023-10-17, 13:59:01
Reply #2

hankusp

  • Active Users
  • **
  • Posts: 41
    • View Profile
ok thank you, This could help if I have lets say 3-4 different textures and many tiles to fill. Then it is great tip.
But I look for the solution to use all my 15 textures at my wall, and in this moment MultiShader uses only 8 (for 12 tiles).
I can change the cloner to group of single tiles and add each of them ObjectID. It works this way but it is a lot of manual work and I loose the Cloner options.

2023-10-17, 14:57:54
Reply #3

Beanzvision

  • Former Corona Team Member
  • Active Users
  • **
  • Posts: 3882
  • Bengamin
    • View Profile
    • Cormats
Perhaps a MoGraph Multishader could also help here? Using Index Ratio ensures all 15 textures are used.

Bengamin Jerrems:
Portfolio l Click me!