Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Unreal Shader : Megascans Assets
Rating: 5.0 out of 5(9 ratings)
52 students

Unreal Shader : Megascans Assets

Learn how to create a dedicated Megascans assets shader for UE5
Created byMichael Gerard
Last updated 1/2024
English
English [Auto],

What you'll learn

  • Create serval material functions
  • Create an optimized shader
  • Cavity blending with Base Color
  • Fuzzy shading
  • Additional Normal Details
  • Cover and Blending systems
  • RVT Blending Support

Course content

1 section11 lectures4h 30m total length
  • Explanations, Resources and CRDF Creation20:15

    Learn to implement megascans assets in unreal shader with reusable material functions and a default attribute for base color, specular, normal, roughness, and crf texture packing.

  • About Material Functions11:47

    Explore creating and reusing shader functions to centralize controls like albedo tint, normal intensity, and UVs, then apply a blend overlay with cavity texture and grayscale controls.

  • Grayscale Controls7:43

    Create a reusable grayscale controls function in unreal shader with black, gray, and white inputs wired to a three-point level for master material. Use it for cavity and ambient occlusion.

  • Cavity Function11:47

    Create a megascans cavity function (MF cavity) with grayscale texture and base color inputs, use a vector parameter for cavity controls, and a static switch to enable in material instance.

  • Main Function Creation (MGS_Set)1:12:27

    Create a Megascans shader function in Unreal, organizing albedo, CDF, and normal textures into parameters, and implement albedo controls, specular, roughness, normal intensity, ambient occlusion, and a fuzziness option.

  • Attribute Parameters Function53:34

    Learn to implement an attribute parameters function in a Megascans master material, storing albedo, normal, occlusion, and other inputs, with CRF/RDF texture selection and organized texture groups.

  • Setup Other Material Instances10:24

    Bulk edit textures with the property matrix to disable sRGB and enable virtual texture streaming, then adjust mip gen and sharpen for albedo and normal maps on mesh instances.

  • RVT Blending16:54

    Build a lightweight Unreal landscape shader to bake layer information into a runtime texture using runtime texture output and runtime virtual texture, leveraging Megascans assets and albedo controls.

  • Cover System24:57

    Build a terrain cover system in Unreal shader for Megascans assets by creating mf cover and mf slopes, differentiating mesh and texture attributes, and blending with slope-based alpha.

  • Blending System21:43

    Create a megascans blending system shader in Unreal by combining mesh attributes with a runtime virtual texture, controlling distance, falloff, and edges via alpha and a parameterized switch.

  • Update 1 - Removing Attributes Parameters Function19:05

    Learn how to simplify Megascans shaders in Unreal by removing the MFR attribute and migrating parameters to the MF set, updating base color, specular, roughness, and normal inputs.

Requirements

  • Owning a computer with Windows 10 (64Bits) / Not tested on Windows 11 or Mac
  • Winrar or 7zip to decompress files
  • Unreal Engine 5 Basics (Camera movements, create Materials, Import assets...)

Description

During this course I will show you, step by step, how to create a dedicated Megascans Assets Shader from scratch.

The native shader is very good, but by combining certain things together you can push the rendering of your Megascans assets.


What I will learn?

First, the cavity map! This will bring out the depth and micro-details by adding shadows in curvatures.

With the Fuzzy map, you can make the moss stand out, but with fuzzy shading you can give it a more realistic look.

On some models, the normal pitch is shy sometimes, but by adding a detail normal, you always get a higher level of detail.

To make all my shaders compatible with each other and keep them optimized, we will create a function grouping all the basic attributes with their parameters.

Finally, we will create two additional systems, the first about cover and the second about terrain blending.

And to make them work, we will see how to use RVTs to bake attributes and projected them on our assets.


Important note :

This course was created in version 5.2 and it is STRONGLY RECOMMENDED to use THE SAME version! If you choose to use another version, be aware that you may encounter possible errors not covered in this course.


About copyrights:

All you can find in this course are for personal usage only. You cannot share it, sell it or make it available for free on any platform.

Who this course is for:

  • Anyone who wants to learn, improve or fix their skills in environment creation.