BTEC Games Design - Level 3
Creating a texture in Unreal
By Dave Johnson
Creating a texture in Unreal
By Dave Johnson
Make sure you read the previous post 'Creating a material in Unreal'. If not, read it now before proceeding. Ok, if your're all set you can use the same editor node to create a texture and apply it to an object, as opposed to a simple colour. For this example a used a stone texture I found on google and changed the size of:
Stone texture
Stone texture bump map
Create a new folder in the Content Browser called texture. Click the large 'Import' button above the folder list. Navigate to your texture and import (just as a side note, make sure it is set to a square size in Photoshop, something like 72 dpi and 1024 x 1024 pixels).
Click the large 'Import' button above the folder list. Navigate to your BUMP MAP texture and import (just as a side note, make sure it is set to a square size in Photoshop, something like 72 dpi and 1024 x 1024 pixels). Go back to the 'Materials' folder and double click the material you created previously to go to the Blueprint editor.
Minimise the Blueprint Editor so you can see the Content Browser. In the Textures folder, drag both the texture files you imported into a blank space on the Blueprint Editor.
Delete the colour node attached to Base Colour and attach your texture file to it instead. Do this by connecting the white pins. The view in the preview panel should update.
Connect your bump map texture file to normals
Drag off the white pin to the left of your texture file node. Type 'texture co ordinates' into the search box that appears. Select texture coordinates and connect it like the picture above. This denotes how many times you want your texture to tile around the surface of your object.
By choosing this node and messing around with the Material Expression Co Ordinate values on the left, you can tighten up how many times the image tiles .
This is set to 4, 4, creating finer detail.
No comments:
Post a Comment