Announcement

Collapse
No announcement yet.

VRay Materials in Unreal

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • VRay Materials in Unreal

    I've followed the documentation on the materials, using the VRay material instance node, but when I look for the parents of VRayMtl, VRayPBRMtl, or VRayCarpaintUberMtl, they aren't in my scene or anywhere to be found. When I import a material from 3dsMax VRay to Unreal, it does come with a VRayMtl, which I can open, but I can't actually find that material anywhere in the scene outside of that imported material. Why don't these VRay materials show up in my scene?

  • #2
    Hi, uforis

    Thank you for pointing that out. In order to select any of the VRay Materials as Parent materials you have to first make the plugin folder VRayForUnreal visible. To do that enable Show Engine Content and Show Plugin Content in the View Options of the Content Browser. Then the VRay Materials will be listed in the Parent dropdown menu.

    Click image for larger version

Name:	ContentBrowserVIewOptions.jpg
Views:	178
Size:	16.5 KB
ID:	1018382

    We have updated the documentation and now it is more clear how to create and assign the V-Ray Parent Materials.

    Best regards,
    Alexander
    Alexander Atanasov

    V-Ray for Unreal & Chaos Vantage QA

    Chaos

    Comment


    • #3
      Thank you Alexander, that did the trick. Good idea to add it to the docs. Best regards!

      Comment


      • #4
        One more question for you Alexander, it seems the VRayMtl is inverted in some way. This displays strangely in the viewport but seems to render just fine. Any idea if there is a way to fix how it looks in the viewport? I imagine this has something to do with the way VRay differs from Unreal in the normals computation, as generally when I author normal maps in Substance I have to invert the Y normals for VRay. Note that this is not an issue for VRayPBRMtl or the Carpaint, strictly VRayMtl.

        Comment


        • #5
          Hi, uforis

          This is a Blend mode setting in the Instance material. By default the V-Ray Mtl is set to be Alpha Composite. If you want to make the material look solid in the viewport you have to change that mode to Opaque. Click image for larger version

Name:	VRayMtl_OverrideOpaque.png
Views:	201
Size:	26.1 KB
ID:	1018531
          That change is not necessary in the VRayPBRMtl and the VRayCarpaintUberMtl, because they are default set to Opaque. Alpha Composite in VRayMtl is used to enable the Refraction effect of the material.

          Best regards,
          Alexander
          Alexander Atanasov

          V-Ray for Unreal & Chaos Vantage QA

          Chaos

          Comment


          • #6
            Ok Great thanks very much!

            Comment

            Working...
            X