# How automatic randomize color/texture in Corona?

**URL:** <https://forums.chaos.com/t/how-automatic-randomize-color-texture-in-corona/126419>\
**Category:** Issues\
**Created:** [October 24, 2013, 1:57pm UTC](https://forums.chaos.com/t/how-automatic-randomize-color-texture-in-corona/126419 "2013-10-24T13:57:49Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![cecofuli](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/cecofuli/32/27814_2.png) [@cecofuli](https://forums.chaos.com/u/cecofuli)\
**Post date:** [October 24, 2013, 1:57pm UTC](https://forums.chaos.com/t/how-automatic-randomize-color-texture-in-corona/126419/1 "2013-10-24T13:57:49Z")

</div>

Hello guy,  
I have to create tons of rocks, with different colors:

- I tried BerconGradient (crash when I try to change Type: Random)
- I tried Multiscatter texture (not work)
- I tried Multiscatter (CGSource ) Crash

Well, I don’t want to create 10-20 different ID material with slightly color variation for 10 different rocks textures. Any suggestion?

---

<div class="post-metadata">

**Author:** ![DeadClown](https://avatars.discourse-cdn.com/v4/letter/d/eada6e/32.png) [@DeadClown](https://forums.chaos.com/u/DeadClown)\
**Post date:** [October 24, 2013, 2:08pm UTC](https://forums.chaos.com/t/how-automatic-randomize-color-texture-in-corona/126419/2 "2013-10-24T14:08:17Z")

</div>

As far as I know, all those maps use some kind of node ID to randomize stuff and corona is not able to use those IDs in the Shader atm.  
It’s already requested but I guess you will have to randomize it with a simple Script or something like that.

---

<div class="post-metadata">

**Author:** ![cecofuli](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/cecofuli/32/27814_2.png) [@cecofuli](https://forums.chaos.com/u/cecofuli)\
**Post date:** [October 24, 2013, 2:19pm UTC](https://forums.chaos.com/t/how-automatic-randomize-color-texture-in-corona/126419/3 "2013-10-24T14:19:46Z")

</div>

Mmm.. I think the same.

As you know, there are some script to change randomly maps value?  
I’ve a multi/sub obj material, with 20 CoronaMTL inside, with ColorCorrection in the diffuse and the same diffuse texture for the 20 material.  
I would like to change automatically the ColorCorrection HUE ans the Saturation automatically, and not change manually for 20 sub-oject (for 10 different Multi/Suvb obj) =(

EDIT: ZORB

---

<div class="post-metadata">

**Author:** ![VadoZe](https://avatars.discourse-cdn.com/v4/letter/v/aeb1de/32.png) [@VadoZe](https://forums.chaos.com/u/VadoZe)\
**Post date:** [October 24, 2013, 4:11pm UTC](https://forums.chaos.com/t/how-automatic-randomize-color-texture-in-corona/126419/4 "2013-10-24T16:11:55Z")

</div>

Google multitexture and UVW random - plug and script!

---

<div class="post-metadata">

**Author:** ![vkiuru](https://avatars.discourse-cdn.com/v4/letter/v/7cd45c/32.png) [@vkiuru](https://forums.chaos.com/u/vkiuru)\
**Post date:** [October 24, 2013, 4:29pm UTC](https://forums.chaos.com/t/how-automatic-randomize-color-texture-in-corona/126419/5 "2013-10-24T16:29:04Z")

</div>

Do you have Forestpack? If you do, you can make a material with Multiscatter Texture, tick “Use Object Color” and then control the variation in Forestpack Object “Color Tint” tab.

---

<div class="post-metadata">

**Author:** ![cecofuli](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/cecofuli/32/27814_2.png) [@cecofuli](https://forums.chaos.com/u/cecofuli)\
**Post date:** [October 24, 2013, 4:33pm UTC](https://forums.chaos.com/t/how-automatic-randomize-color-texture-in-corona/126419/6 "2013-10-24T16:33:25Z")

</div>

No, I haven’t. But Zorb script + Random Mass Script + Multi/sub Obj is enough (for now). I will wait the new Corona version 😉

---

<div class="post-metadata">

**Author:** ![CBEPXY](https://avatars.discourse-cdn.com/v4/letter/c/a87d85/32.png) [@CBEPXY](https://forums.chaos.com/u/CBEPXY)\
**Post date:** [October 29, 2013, 2:57am UTC](https://forums.chaos.com/t/how-automatic-randomize-color-texture-in-corona/126419/7 "2013-10-29T02:57:29Z")

</div>

> [@VadoZe](#):
>
> Google multitexture and UVW random - plug and script!

Its crashed max! if choose —random by object!—

---

<div class="post-metadata">

**Author:** ![kumodot](https://avatars.discourse-cdn.com/v4/letter/k/838e76/32.png) [@kumodot](https://forums.chaos.com/u/kumodot)\
**Post date:** [October 31, 2013, 8:21pm UTC](https://forums.chaos.com/t/how-automatic-randomize-color-texture-in-corona/126419/8 "2013-10-31T20:21:29Z")

</div>

I am not a Scripter, but i did a little tool (To my use) that shuffle the MaterialIDs on a set of objects, so you can use multi-sub…

```
 It's not perfect and it has some bugs, but they are easy to contour... If you want to check... 

```

[http://www.kumodot.com/portfolio/kumotools-rnd/](http://www.kumodot.com/portfolio/kumotools-rnd/)

```
Or in ScriptSpot http://www.scriptspot.com/3ds-max/scripts/kumodot-rnd-tools

```

---

<div class="post-metadata">

**Author:** ![Ondra\_1](https://avatars.discourse-cdn.com/v4/letter/o/50afbb/32.png) [@Ondra\_1](https://forums.chaos.com/u/Ondra_1)\
**Post date:** [January 17, 2014, 5:08pm UTC](https://forums.chaos.com/t/how-automatic-randomize-color-texture-in-corona/126419/9 "2014-01-17T17:08:56Z")

</div>

ok, plenty of possibilities now

---

<div class="post-metadata">

**Author:** ![cecofuli](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/cecofuli/32/27814_2.png) [@cecofuli](https://forums.chaos.com/u/cecofuli)\
**Post date:** [January 17, 2014, 6:00pm UTC](https://forums.chaos.com/t/how-automatic-randomize-color-texture-in-corona/126419/10 "2014-01-17T18:00:43Z")

</div>

Thanks so much! ))

---

<div class="post-metadata">

**Author:** ![DeadClown](https://avatars.discourse-cdn.com/v4/letter/d/eada6e/32.png) [@DeadClown](https://forums.chaos.com/u/DeadClown)\
**Post date:** [January 17, 2014, 9:23pm UTC](https://forums.chaos.com/t/how-automatic-randomize-color-texture-in-corona/126419/11 "2014-01-17T21:23:44Z")

</div>

The possibilities may be unlimited but the tools are not. Just wasted a whole evening testing bercon maps with corona and found a devastating bug which lead to throwing the whole bercon crap into the garbage bin (RAGE!) . Multitexture is way too limited and the bitmap loading option is just fubar - honestly, who really likes to use that map O\_o?!

If someone had some real alternative to randomizing a ton of maps/materials by scripting it would be great!

---

<div class="post-metadata">

**Author:** ![lkedesign](https://avatars.discourse-cdn.com/v4/letter/l/f0a364/32.png) [@lkedesign](https://forums.chaos.com/u/lkedesign)\
**Post date:** [January 17, 2014, 10:20pm UTC](https://forums.chaos.com/t/how-automatic-randomize-color-texture-in-corona/126419/12 "2014-01-17T22:20:07Z")

</div>

I miss This possibility very much too. So i will join the crowd. To me it is far more needed than fx. SSS.

---

<div class="post-metadata">

**Author:** ![d-3](https://avatars.discourse-cdn.com/v4/letter/d/a88e57/32.png) [@d-3](https://forums.chaos.com/u/d-3)\
**Post date:** [January 17, 2014, 11:12pm UTC](https://forums.chaos.com/t/how-automatic-randomize-color-texture-in-corona/126419/13 "2014-01-17T23:12:47Z")

</div>

A simple material modifier on the objects you want to use randon multisub map not work?!

---

<div class="post-metadata">

**Author:** ![Utroll](https://avatars.discourse-cdn.com/v4/letter/u/f19dbf/32.png) [@Utroll](https://forums.chaos.com/u/Utroll)\
**Post date:** [March 20, 2014, 5:30pm UTC](https://forums.chaos.com/t/how-automatic-randomize-color-texture-in-corona/126419/14 "2014-03-20T17:30:04Z")

</div>

I’m not sure but I think “Ky\_Color Variator” doesn’t work neither…  
Not sure if it’s plugin side or render.
