Author Topic: Megascans material and displacement  (Read 1516 times)

2025-02-27, 09:49:34

patr11k

  • Active Users
  • **
  • Posts: 33
    • View Profile
Hello guys,

I ve tried a few materials from megascans.
The material preview on megascans always looks great, but when i import the material into 3dsmax i cant get similar results.
Also displacement and everything looks very strange to me.

When u import from megascans, whats the correct workflow? i Mean i have a UVW MAP modifier on the models with BOX MAPPING
I also tried the CoronaDisplacementMod if i can get a different result

For example the "GRASSY COBBLESTONE" material looks not good in my rendering.. the grass and everything looks very flat

Edit:
Also a very special thing are roof tiles..

« Last Edit: 2025-02-27, 09:56:12 by patr11k »

2025-02-27, 10:48:41
Reply #1

romullus

  • Global Moderator
  • Active Users
  • ****
  • Posts: 9283
  • Let's move this topic, shall we?
    • View Profile
    • My Models
You can find physical dimensions of surface in a JSON file that comes with every Megascan asset. Look for area and height keywords and fill according Corona physical material fields with those values. And of course all that info can be found in Bridge, even if that app lost most of its value now.
I'm not Corona Team member. Everything i say, is my personal opinion only.
My Models | My Videos | My Pictures

2025-03-08, 15:55:35
Reply #2

Digital Esthetics

  • Active Users
  • **
  • Posts: 33
    • View Profile
Also some normals comes in flipped so you have to tic the box for free. Something in the normal map

2025-03-11, 10:54:20
Reply #3

patr11k

  • Active Users
  • **
  • Posts: 33
    • View Profile
I ve attached some screenshot, this is what it looks like when i import the material and add it on an object!

json says, area = 1x1m and height 0,036m ... the displacement settings of the material is -0,337cm and 0,337cm.. so its basically to low.. according to the json..

so i have adjusted the displacement to -3,37cm and 3,37cm .. and it looks like the last attachement..

is this the correct workflow?


2025-03-11, 11:01:31
Reply #4

patr11k

  • Active Users
  • **
  • Posts: 33
    • View Profile
I tried the same workflow with "roof tiles" and they look very strange

2025-03-11, 11:36:12
Reply #5

romullus

  • Global Moderator
  • Active Users
  • ****
  • Posts: 9283
  • Let's move this topic, shall we?
    • View Profile
    • My Models
json says, area = 1x1m and height 0,036m

so i have adjusted the displacement to -3,37cm and 3,37cm

Assuming midpoint is in the middle, your displacement settings should be closer to -1,8 cm MIN and 1,8 cm MAX Also make sure that displacement, roughness and normal maps are loaded with gamma 1,0 override and the normal map has Y channel flipped in Corona normal map node.
I'm not Corona Team member. Everything i say, is my personal opinion only.
My Models | My Videos | My Pictures

2025-03-11, 11:45:29
Reply #6

patr11k

  • Active Users
  • **
  • Posts: 33
    • View Profile
Thanks for the reply, i will try it this way!
Just another question, where can i see the gamma or can make a gamma override?

2025-03-11, 12:02:24
Reply #7

romullus

  • Global Moderator
  • Active Users
  • ****
  • Posts: 9283
  • Let's move this topic, shall we?
    • View Profile
    • My Models
You can find it in the bitmap load window. Alternatively you can press data image button and Max will set it automatically for you.
I'm not Corona Team member. Everything i say, is my personal opinion only.
My Models | My Videos | My Pictures

2025-03-11, 12:12:23
Reply #8

patr11k

  • Active Users
  • **
  • Posts: 33
    • View Profile
Ah okay, so i have to load all the bitmaps new into a coronabitmap.
By the way, is there any benefit from giving the object an coronadiscplacement modifier instead of doing the displacement with the material itself?

2025-03-11, 12:33:09
Reply #9

romullus

  • Global Moderator
  • Active Users
  • ****
  • Posts: 9283
  • Let's move this topic, shall we?
    • View Profile
    • My Models
Unless you want to control displacement settings per object level, or don't want to open material editor to make changes in displacement, there's no other benefits in using modifier versus displacement in a material.
I'm not Corona Team member. Everything i say, is my personal opinion only.
My Models | My Videos | My Pictures

2025-03-12, 15:49:16
Reply #10

patr11k

  • Active Users
  • **
  • Posts: 33
    • View Profile
is it possible that there are some settings who disable displacement?
I just created a new scene, did some modelling, and i added the texture now, with displacement settings..
also when i try it with the displacement modifier.. the texture just going up a few centimeter... but no displacement is there

2025-03-12, 16:16:00
Reply #11

romullus

  • Global Moderator
  • Active Users
  • ****
  • Posts: 9283
  • Let's move this topic, shall we?
    • View Profile
    • My Models
Check if displacement is enabled in render setup>common>options. It's a global setting and will affect all the displacement in the scene.
I'm not Corona Team member. Everything i say, is my personal opinion only.
My Models | My Videos | My Pictures

2025-03-12, 17:32:05
Reply #12

John.McWaters

  • Active Users
  • **
  • Posts: 292
    • View Profile
    • JohnMcWaters.com
You can find it in the bitmap load window. Alternatively you can press data image button and Max will set it automatically for you.

This is a little off topic, but I often load in images and have to manually set the color space to Linear sRGB in order to get the correct result. Is there a good way to do this when loading an image into 3dsmax? If I select 'Data Image', it goes to 'Raw' and the image colors don't appear correct. If I select sRGB, the colors appear too dark (almost black).

2025-03-12, 19:13:17
Reply #13

romullus

  • Global Moderator
  • Active Users
  • ****
  • Posts: 9283
  • Let's move this topic, shall we?
    • View Profile
    • My Models
Sorry, can't help with that. I'm working with gamma workflow. I don't understand that colour management mumbo jumbo.
I'm not Corona Team member. Everything i say, is my personal opinion only.
My Models | My Videos | My Pictures

2025-03-13, 09:48:00
Reply #14

maru

  • Corona Team
  • Active Users
  • ****
  • Posts: 13709
  • Marcin
    • View Profile
It seems that 8-bit textures are loaded by Corona Bitmap with a wrong RGB primaries mode. We are investigating.
Meanwhile, here are scripts which should fix that (one for the selected CoronaBitmaps and one for all CoronaBitmaps in scene).

The alternative is switching to the gamma color management mode like Romullus.
Marcin Miodek | chaos-corona.com
3D Support Team Lead - Corona | contact us