Unreal 4 – Useful Materials


Six practical material types built from scratch in Unreal Engine 4’s Material Editor: scalable metal, snowy rocks, holographic effects, particle materials, water, and landscape — each taught step by step.


This project is a material creation study built in Unreal Engine 4’s Material Editor, developed following this Udemy course. It covers six distinct material types — each representing a different category of material authoring challenge — and was documented in a full teaching playlist with a dedicated video for each material type.

You can watch the complete teaching playlist here: YouTube Playlist

Individual material videos: Scalable Metal · Snowy Rocks · Holographic Effect · Particle Materials · Water · Landscape


Unreal’s Material Editor: A Shader Graph

Unreal’s Material Editor is a node-based shader authoring tool — the visual equivalent of writing HLSL shader code. Each node performs a mathematical operation on data: texture samples, vector math, scalar operations, conditionals, and engine-provided inputs like world position, surface normal, and camera direction. The output is a Material that defines how a surface responds to light.

Understanding the Material Editor is foundational for any serious Unreal development. Materials control every aspect of surface appearance — color, reflectivity, roughness, transparency, emissive glow, subsurface scattering — and complex visual effects are all built from the same set of primitive nodes. The six materials in this project demonstrate six distinct ways to use those primitives.


Scalable Metal

Scalable metal is a physically based metal material that reads correctly at any scale — close-up detail and mid-distance appearance are both convincing. The challenge is tiling: a metal texture that tiles obviously looks synthetic. The solution is a multi-scale approach — a fine detail normal map tiled at a small scale for close-up surface detail, combined with a coarser primary texture at a larger scale for the overall surface character. The two scales are blended with a lerp, producing a surface that has fine micro-detail close up and reads as a continuous surface at distance.

The PBR attributes — Base Color, Metallic (1.0 for pure metal), Roughness (varying across the surface for scratch variation), and Normal — are all driven by textures rather than constants, allowing the material to respond realistically to any lighting condition. Roughness variation is particularly important for metal: perfectly uniform roughness reads as plastic; spatially varying roughness — scratches, fingerprints, wear patterns — reads as authentic.


Snowy Rocks

The snowy rocks material demonstrates a slope-based layer blend — the same concept that appears in the Automatic Landscape Material project’s slope mask, applied here to a static mesh rather than a landscape. The rock surface texture applies across the full mesh; the snow texture applies only where the surface normal faces upward (flat-facing surfaces), simulating accumulated snowfall.

The blend between rock and snow is driven by the dot product of the surface normal with the world up vector — a value of 1.0 means the surface faces directly up (maximum snow accumulation), 0.0 means the surface faces sideways (no accumulation), negative values face downward (no accumulation). A smoothstep applied to this value controls the transition softness between bare rock and snow-covered surface.

This technique — using surface orientation to drive material blending — is one of the most universally applicable material patterns in environment art. It appears in landscape materials, character materials (dirt accumulating on the bottom of boots), and any surface where physical accumulation should follow gravity.


Holographic Effect

The holographic material is the first special-effects material in the set — one that doesn’t simulate a physical surface but instead produces a stylized, artificial appearance. The holographic effect combines several techniques:

Fresnel — a rim lighting effect based on the angle between the surface normal and the camera direction — produces the characteristic edge glow of holographic projections. Surfaces facing directly at the camera appear transparent; surfaces at oblique angles appear bright and opaque.

Scanlines — horizontal bands of varying opacity driven by a panning UV offset applied to a step function — produce the horizontal line texture characteristic of CRT-based holograms and sci-fi displays.

Emissive — the material uses the Emissive channel rather than Diffuse/Specular for its primary color contribution, making it appear to glow independently of scene lighting. Holograms emit their own light rather than reflecting it.

Transparency — the material uses additive or translucent blending, allowing the scene geometry behind the hologram to show through with the holographic color composited on top.


Materials for Particles

Particle materials have different requirements from surface materials. They are typically rendered on flat quads (sprites) in large quantities, which means performance is a primary concern — complex shader logic that’s acceptable for a single static mesh becomes expensive when applied to thousands of particles simultaneously.

The particle materials in this project demonstrate the key techniques for efficient particle shading: using a single texture with alpha for sprite shape, driving color and opacity by particle age (the engine provides the particle’s normalized lifetime as a shader input), and using additive blending for effects like fire and sparks where the accumulated contribution of many overlapping particles should brighten rather than occlude the background.

Dynamic parameters — values passed from the particle system into the material at runtime — allow the same material to produce different visual results on different particles within the same emitter. One particle might be warm yellow, another slightly cooler orange, using the same material with a different dynamic color parameter.


Water

The water material simulates the appearance of a water surface without full fluid simulation. The key visual properties of water — surface normal variation (waves), reflections, refraction, and depth-based color — are all produced by the material graph:

Normal variation is driven by two normal map textures panning in different directions at different speeds, blended together. The two-layer panning normal produces the organic, non-repeating surface variation of natural water without any simulation.

Reflections are handled by Unreal’s screen-space reflections (or planar reflections for more accurate results), sampled via the material’s Reflection inputs. The Fresnel effect controls how reflective the surface appears at different angles — water is highly reflective at grazing angles and relatively transparent when viewed from directly above.

Refraction distorts the scene geometry visible through the water surface, using the water normal as a distortion offset. This produces the characteristic underwater distortion that makes transparent water look physically correct.

Depth fade uses the scene depth buffer to determine how deep the water is at each pixel, tinting shallow areas differently from deep areas and producing the foam line at the water’s edge where it meets geometry.


Landscape Material

The landscape material in this project is a simpler version of the layer-based approach covered in the Island Creation and Automatic Landscape Material projects — an early exploration of the same concepts that were developed into full production-quality implementations in later UE5 work. The basic layer blend, the texture tiling, and the slope-based distribution are all present in seed form here.

Seeing this early version alongside the later, more sophisticated implementations illustrates how material knowledge accumulates: the same fundamental concepts — surface normals driving blending, multi-scale texturing, physically based attributes — appear at progressively greater sophistication as the technical vocabulary expands.


Reflection

The Useful Materials project is the foundation on which all subsequent material work in this series builds. The Automatic Landscape Material’s slope masks, the Night Scene’s wet surface blending, the Weather System’s particle materials, the Island Creation’s layer painting — all of these use techniques introduced here in their simplest form.

Recording the teaching playlist for each material individually produced an unusually granular understanding of each technique. Explaining a Fresnel calculation or a slope-based blend to a viewer who has never seen it requires reducing the technique to its geometric intuition: why does this node produce this result, in terms that make physical sense. That reduction is the deepest form of understanding a technical concept can reach.

Leave a comment

Create a website or blog at WordPress.com

Up ↑