Step 1: Configure Scene

We describe here how to configure the first hatching scene using Jiffycrew Hatching (UE4).

Make a simple test scene with basic 3D shapes and materials

Add shapes

Create a new scene and name it "TutorialScene". Then add a plane at the origin (0,0,0) and add a sphere at (0,0.4,0).

Setup materials

Create two materials and name them "SphereMat", and "FloorMat." Make their albedo to (128,128,128,255). Apply SphereMat to the sphere, Apply FloorMat to Floor.

Setup lights

Change Directional Light's rotation to (50,90,0).

Setup cameras

Change the Main Camera's Position to (0,2,-2), and Rotation to (45,0,0).

Apply Hatching

Applying hatching to a scene is simply done by adding a script to Main Camera.

Find "JiffycrewHatching.cs" script in /Assets/JiffycrewHatching/Scripts and click Main Camera in the Hierarchy to open its Inspector. Add JiffycrewHatching.cs to Main Camera.

Click Game tap to see our initial Hatching Result.

Last updated