Home Technical Talk

Viewport looks vastly different from engine (materials)

JamesLarden
polycounter lvl 3
Offline / Send Message
JamesLarden polycounter lvl 3
Hey again PolyCount, wan't sure what to title this but here's my question:

I recently finished my first ever Zbrush sculpts and they were just 4 random planks of wood, which I took over to Maya and baked detail from, but why does my my material look like this in the Maya viewport: http://i.imgur.com/OxkBh1I.png but vastly different in Unreal Engine 4? It loks pretty much the same however it has a white sheen to it even with 100% roughness and 0% metal value.

I assume the difference is just because UE4 is PBR and I have no idea what values to change properly to affect this weird white sheen it gives to the material.

Replies

  • EarthQuake
    Options
    Offline / Send Message
    What does it look like in UE4?

    100% roughness means very rough, and actually you can get some odd artifacts there, try setting it to a more reasonable value.
  • JamesLarden
    Options
    Offline / Send Message
    JamesLarden polycounter lvl 3
    I can't attach images for some reason, but here's what it looks like in UE4:

    http://imgur.com/AFpxY9L

    And here's the material nodes:

    http://i.imgur.com/gmPTH7z.png
  • ZacD
    Options
    Offline / Send Message
    ZacD ngon master
    That white sheen is the lighting being reflected on the object. With PBR and UE4, how much light gets reflected is automatically handled by the materials/shaders, and if you want to stay physically accurate, I wouldn't worry about it. The sheen will get smaller and probably look better if you use a value like .3 to .5, .8 would be a very matte material, a highly polished wood floor could be close to .1.
  • gsokol
    Options
    Offline / Send Message
    In general, you should really next expect any 2 viewports to really give the same result. Everybody renders stuff differently.
  • antweiler
    Options
    Offline / Send Message
    antweiler polycounter lvl 8
    Do you use the same normalmap in Maya and in UE4? AFAIK, Maya uses the "OpenGL standard" for NMs, while UE4 uses the "DirectX standard" (dont know the proper term)
    The difference is only, that the green channel of the NM is inverted, so the maps can be easily converted.
  • GlowingPotato
    Options
    Offline / Send Message
    GlowingPotato polycounter lvl 10
    It is a shader issue,

    What Shader (material) are you using in maya ?

    If in Maya you are using a blinn/phong shader, you need to use the same in UDK.

    The UDK shader in the pic, do not looks like a blinn/phong shader, cause of the roughness and metallic parameters.
  • kurt_hectic
    Options
    Offline / Send Message
    kurt_hectic polycounter lvl 10
    I had similar, grey looking surfaces in UE4. You have to play a bit more with the parameters. Try to create more diverse masks, a bit more noisy, flat surfaces, 0 and 1 values, flat masks isn't a good idea.

    + I always export my models to the engine in early stage and I look at the textures in the game engine. Not max\maya viewports of any other marmoset. I recommend this practise.
Sign In or Register to comment.