Floor Generator to Unreal Engine 4

Denis Kozhar 2018-03-16 11:55 tutorial  > Unreal Engine  > modeling

In this tutorial Denis Kozhar shows how to export floor made with Floor Generator or RailClone to Unreal Engine 4.

You can find text description with screenshots below the video.

 

First of all you need to understand that it takes some time to export Floor Generator or RailClone created floor to Unreal Engine. So if you have any ready textures, use them instead.

 

 

2Objects

 

After you create floor mesh, you need to create low poly version, in this case it's simple square 1 polygon model. You need to unwrap this object and convert to editable poly.

 

LowPolyUnwrap

 

For baking normal map we need to use scanline render, because Corona doesn't support Projection Modifier. It is planned for the 1.8 release. 

On the rendering tab you need to enable Global Supersampler and choose type: "Hammersley", also you can set quality to 1.

 

NormalRenderSet

 

Open render to texture window by pressing 0 hotkey or select it in rendering tab. Select low poly model and enable Projection Mapping. Press "pick" and choose floor generator model.

 

ProjectionMapSelect

 

You will get projection modifer on this model, and you need to fix cage, by pressing reset.

 

ProjCageReset

 

Enable "shaded" and change amount, so it covers whole floor mesh.

 

ProjSetup

 

Check mapping coordinates tab, it should be set on: "Use existing channel". Add normal map and set file type and place to save it. I reccomend you don't use JPG format for normal map, because it can show artifacts due to compression. Set file resolution, the bigger floor you have, the bigger resolution you need to bring all the details.

 

NormalRenderSet

 

Now Press "Render" and wait till its done. For diffuse color choose render engine you use for material creation. In my case it's Corona Renderer.

 

DiffuseRenderSetup

 

Add Corona Render Difuse color and disable projection mapping. Choose floor generator mesh with material on it.

 

MatSettings

 

As previously, choose file type and place to save it. It's very important to check Mapping coordinates, choose "use existing channel" and be shure that your model is properly unwrapped.

 

FloorGeneratorUnwrap

 

In my case i unwrapped model on channel 2 so i need to select it. Start render, Corona shows up with black window but render goes fine, so in the end you will get nice texture.

 

nr_00959_nr_00957_FloorGenCorona_DiffuseColor

 

I open Diffuse color map in Photoshop and change Image mode to 8 bit, save it as JPG. To create roughness map you need to desaturate and invert image. Also you can change contrast if you need. Save image as JPG.

 

nr_00960_nr_00958_FloorGenCorona_Roughness

 

Next we need to export low poly model as FBX file to Unreal. In Unreal Engine import mesh and textures. Don't forget to flip green chanel in normal map settings.

 

UE4-NormalFlip

 

Create Material and load textures to base color, roughness and normal. Assign it to your mesh. 

 

UE4-Material

 

In this case i just show the basic concept. If you have any questions, please fell free to ask me. Thanks for reading, Hope you like it and find usefull.

Author: Denis Kozhar Editor: Michal Franczak
Tags: floor generator corona unreal
You may also like...
Corona Renderer Alpha7 is out

Corona Renderer Alpha7 is out

New features: 3ds Max 2015 is now supported, viewport illumination, smart proxy, shadow catcher, support for particle flow.
×

LEAVE A COMMENT

You need to be logged in to leave a comment. Don't have account? Register now.
  • ul. Przedzalniana 8, 15-688 Bialystok, POLAND