Author Topic: multishader randomize each tile of a texture  (Read 2239 times)

2022-09-26, 20:28:17

j.nosh

  • Active Users
  • **
  • Posts: 23
    • View Profile
hey everyone,

i was wondering if there is a way how to use the very powerful functionality of the multishader on the tiles of a material.
similar as with the uvw randomizer.
let's say you have a texture of one single concrete tile and you want to rotate it randomly and als slightly change color/reflexion of each tile.
rotating and flipping is no problem with uvw randomizer. but how can i change the gamma or something randomly? the multishader does not provide this option.

thanks for any ideas ;)
jay

2022-09-27, 07:30:36
Reply #1

Beanzvision

  • Former Corona Team Member
  • Active Users
  • **
  • Posts: 3881
  • Bengamin
    • View Profile
    • Cormats
Are you sure the Multishader doesn't have random gamma controls?
Bengamin Jerrems:
Portfolio l Click me!

2022-09-27, 09:34:35
Reply #2

j.nosh

  • Active Users
  • **
  • Posts: 23
    • View Profile
Hey Beanzvision,

thanks for your reply. Sorry for my confused request, it was to late prbably to write something clear :)

Sure it has that feature. I'm using it daily! 😜
But what I'm looking for is the "Randomize each tile" checkbox there, same as in the "UVW Randomizer Shader"
So I can influence the Gamma (or anything else) by each tile of the texture.

Or is there maybe any workaround for this yet?

Thanks
Jay

2022-09-27, 10:40:51
Reply #3

Beanzvision

  • Former Corona Team Member
  • Active Users
  • **
  • Posts: 3881
  • Bengamin
    • View Profile
    • Cormats
Does changing the seed help?
Bengamin Jerrems:
Portfolio l Click me!

2022-09-27, 14:42:57
Reply #4

j.nosh

  • Active Users
  • **
  • Posts: 23
    • View Profile
How would that help, when there is no option to tick randomize each tile? :)

OK maybe it's still a bit unclear what I want to achieve.
1. lets say you have an image of one tile. (first image attached)
2. you map it onto an object, repeated in U and V direction. (second attached image)
3. now every tile looks the same. (with uvw randomizer i could rotate or offset each of the tiles randomly, effected by an initial seed factor.)
4. but what I am missing is the option to colorize each en every single tile randomly. (third attached image)

I know that for this example I could use photoshop, to let's say make a map like the third image attached and then use the uvw randomizer to offset the texture by the fraction of the rows and lines.
But this example is just a simple one to show what i mean. In reality i have very complex shader structures in my material which i can't achieve by the photoshop workaround.
Is it  a bit more clear what i want to do?

Thanks
Jay

2022-09-27, 15:39:15
Reply #5

Beanzvision

  • Former Corona Team Member
  • Active Users
  • **
  • Posts: 3881
  • Bengamin
    • View Profile
    • Cormats
I hope I understand ;)

Bengamin Jerrems:
Portfolio l Click me!

2022-09-28, 11:25:19
Reply #6

j.nosh

  • Active Users
  • **
  • Posts: 23
    • View Profile
Hey, thanks for your example. But I know how the UVW randomizer works. :)

But I still need to randomize the gamma/color/etc  for each tile of a texture.

 

2022-09-28, 12:28:11
Reply #7

Stefan-L

  • Active Users
  • **
  • Posts: 539
    • View Profile
for really all ways of tiles and structures in any shape,  including all types of randomisations etc, we made this tool for:  https://3dtools.info/tilepro/
it renders native in corona.

we use it in all our c4d and corona projects:)
maybe it is of interests for you.

best
Stefan

2022-09-28, 14:15:32
Reply #8

FS-Marc

  • Active Users
  • **
  • Posts: 15
    • View Profile
Hey,

I hope I understood your situation correctly - I would recommend trying the C4D built in "Variation-Shader" (found under Effects) to achieve the result you desire.
This way you can adjust the UV-Tiles by Color, Gamma, Saturation etc.

2022-09-29, 13:46:42
Reply #9

j.nosh

  • Active Users
  • **
  • Posts: 23
    • View Profile
Yeeeessss Magnets Yooooo!! :)

Thanks FS. Exactly what I wanted!!!

These Cinema onboard tools cant be underestimated.

Hope that mixing cinema shaders with corona materials won't be to buggy.



2022-09-29, 14:16:57
Reply #10

j.nosh

  • Active Users
  • **
  • Posts: 23
    • View Profile

2022-10-02, 04:16:41
Reply #11

BigAl3D

  • Active Users
  • **
  • Posts: 914
    • View Profile
@j.nosh — That's one of the great things about the Corona Renderer. It is fully compatible with most if not all of Cinema's built-in tools. Never forget to mix C4D's great tools and filters with Corona. That's the magic.

2022-10-03, 22:02:08
Reply #12

j.nosh

  • Active Users
  • **
  • Posts: 23
    • View Profile
@j.nosh — That's one of the great things about the Corona Renderer. It is fully compatible with most if not all of Cinema's built-in tools. Never forget to mix C4D's great tools and filters with Corona. That's the magic.

Absolutely!! I'm in love with C4D since 2004. Together with Corona there are endless possibilities. Sometimes you forget about the native cinema tools :)