Skip to content

Custom Shaders

tobspr edited this page Nov 24, 2015 · 16 revisions

Default Shaders

In case you do not need any special features, you can just use the Default Shader, which is applied to render by default. Your object should have the textures and materials applied as described in Exporting from Blender. The default shader will extract those values and output them.

Custom Shaders

Shader Requirements

The Pipeline uses Physically Based Shading. Each shader has to output 4 constraints: metallic, roughness, specular, and basecolor. You can find a good explanation of them at the documentation of the UnrealEngine 4 here.

Using the Effect System

Most desired effects can be implemented using the Effect System, you should use it whenever possible. The effect system has the advantage that your effects do not get outdated with newer pipeline versions.