Author Topic: Bump map on a Layered Material  (Read 4584 times)

2016-03-29, 11:36:28

julecocq

  • Active Users
  • **
  • Posts: 29
    • View Profile
Hi Corona Community,

Just a simple question.

How to use a bump map on a layered material ?
On which layer should I plug it ?

For example, with Vray, I can plug a Vray layered material, into a Vray bump material. Then the bump map is like added on top of everything.
What would be the right approach with Corona ? Maybe to plug the bump map on the last layer ?

Thank you !

2016-03-29, 11:52:03
Reply #1

romullus

  • Global Moderator
  • Active Users
  • ****
  • Posts: 8898
  • Let's move this topic, shall we?
    • View Profile
    • My Models
You should plug bump map into each sub-material which needed it. If you want just one bump map all over blended material, then maybe there's no need to use layered material at all? I can't count how many times i saw Vray users use Vray blend material just to alternate between different diffuse colours. That is very ineficient way of using materials.
I'm not Corona Team member. Everything i say, is my personal opinion only.
My Models | My Videos | My Pictures

2016-03-29, 12:17:54
Reply #2

julecocq

  • Active Users
  • **
  • Posts: 29
    • View Profile
imagine just a car paint with an orange peel effect. Maybe just on the coat layer ?

2016-03-29, 12:22:44
Reply #3

Juraj

  • Active Users
  • **
  • Posts: 4773
    • View Profile
    • studio website
Sounds like reasonable request to me.

I would like an option of blending normals from layers myself. I think Maxwell worked like this, and all real-time engines offers this choice when using BlendMaterial.

Coat material could either take on base normals or overlay them together. Currently it only alternates between them unless manually input in all sub-layers, but this destroys the instanceability (uh..that prolly isn't a word) of layers, which should ideally stay untouched.
Please follow my new Instagram for latest projects, tips&tricks, short video tutorials and free models
Behance  Probably best updated portfolio of my work
lysfaere.com Please check the new stuff!

2016-03-29, 12:36:48
Reply #4

julecocq

  • Active Users
  • **
  • Posts: 29
    • View Profile
Yes in Maxwell shaders, you have a global parameter tab, which allows you to add a bump, and even displacement, on top of everything.

2016-03-29, 12:46:33
Reply #5

maru

  • Corona Team
  • Active Users
  • ****
  • Posts: 12828
  • Marcin
    • View Profile
imagine just a car paint with an orange peel effect. Maybe just on the coat layer ?
In such case you just apply bump to the coat layer.
It should be quite easy to experiment with the materials and draw conclusions.
If you have bump on base and layer1, then you can just blend between the materials.

Some exceptions here are displacement and SSS - they are always taken from the base material (AFAIK always).

btw Juraj I just noticed your new avatar :D
Marcin Miodek | chaos-corona.com
3D Support Team Lead - Corona | contact us

2016-03-29, 13:22:35
Reply #6

julecocq

  • Active Users
  • **
  • Posts: 29
    • View Profile
It should be quite easy to experiment with the materials and draw conclusions.

Sure, I was just asking in case there is a special feature.
Now this is clear.
Thanks guys.

2016-03-29, 15:20:29
Reply #7

fellazb

  • Active Users
  • **
  • Posts: 281
    • View Profile
btw Juraj I just noticed your new avatar :D

Nice one Maru :)