Author Topic: help organizing shader  (Read 246 times)

2023-12-01, 15:04:57

leo_surrealismo

  • Active Users
  • **
  • Posts: 80
    • View Profile
How do you deal with this setup (see attached)
you have a normal map using triplanar and possibly uvwrandomizer... and you want to add a texture on Additional bump slot; but this texture, has another uvwrandomizer and triplanar settings.
Could you guys explain me the correct setup?
In vray, for example I use VrayBumpMaterial for this scenario, I can control individually the textures.

2023-12-01, 18:54:50
Reply #1

John.McWaters

  • Active Users
  • **
  • Posts: 268
    • View Profile
    • JohnMcWaters.com
I don't think you'd get the expected results when plugging the additional bump texture into a tri-planar then into the normal component's additional bump input, then into another tri-planar component downstream of all of that.

Can you eliminate the first tri-planar component and go directly from the Mapping Randomizer into the additional bump input?

2023-12-01, 18:59:45
Reply #2

leo_surrealismo

  • Active Users
  • **
  • Posts: 80
    • View Profile
I understand that...  the problem is that the texture i'm feeding on the addiontal bump slot has a different size than the texture on the normal map.  My "allways" solution is to modify de uv tile of the texture to be multiplied by the triplanar size... but want to know if there is a better setup.


2023-12-01, 21:09:23
Reply #3

John.McWaters

  • Active Users
  • **
  • Posts: 268
    • View Profile
    • JohnMcWaters.com
I understand that...  the problem is that the texture i'm feeding on the addiontal bump slot has a different size than the texture on the normal map.  My "allways" solution is to modify de uv tile of the texture to be multiplied by the triplanar size... but want to know if there is a better setup.

That's how I would do it. Adjust the size of the Corona Bitmap before plugging it into the MappingRandomizer, then go into the Additional Bump input. I always size my Bitmaps only and don't rely on Tri-planar to do it. If I want some variation, I'll set my MappingRandomizer to increase or decrease the scale a little.

2023-12-08, 16:05:59
Reply #4

maru

  • Corona Team
  • Active Users
  • ****
  • Posts: 12636
  • Marcin
    • View Profile
Not sure if it fully answers your question, but please check the correct order of operations here: https://support.chaos.com/hc/en-us/articles/13800753963537
Marcin Miodek | chaos-corona.com
3D Support Team Lead - Corona | contact us