Content:
* Overview
* Texture File
* Basic Color
* Setting of normal
* Scalar parameters and material properties
* Scene Settings
* Final Effect
Overview
This tutorial was translated by 52VR from Unrealengine official, and in this tutorial we will teach you how to create an instantiated water resource that you can use on your mobile device . This tutorial is the latest version that supports high-quality mobile-side reflection rendering capabilities only on high-end mobile devices such as ipad Pro.
Be sure to download the texture file on this page **********
also make sure that your project Settings > rendering (Rendering) > Allow static illumination (allowed static Lighting) is enabled ********
This is important to ensure that reflection works properly.
Texture file
File Download: http://pan.baidu.com/s/1dF9sIkx
Basic color
1. Create a new project with the highest quality mobile device/tablet-blank Blueprint project.
2. Import download and extract two texture files from the above link in this page.
3. Create a new material and drag the two texture maps into the material map.
4. First create two new vector parameters to represent the water color--press and hold the "V" key and click on the blank position in the material blueprint.
5. Now set one to darker blue and the other to lighter blue.
6. Press and hold the "L" key to create a LERP node in the blank position by clicking the left mouse button, and click on the material map.
7. Connect the dark color to the "A" Port of the LERP and connect the light to the "B" Port of the Lerp.
8. Right-click on the blank and search the Sofinel (Fresnel) node and create it.
9. Connect the Fresnel (Fresnel) output to the Alpha port of the LERP and link the output node of the lerp to the base color of the material.
10. Press and hold the "S" key at the left mouse button to create a new scalar parameter node (named Fresnel index) to connect it to the EXPONENTLN node to control the attenuation of Fresnel.
Settings for Normals
1. Next, press and hold the "P" key to create two Panner nodes in a blank position by clicking the left mouse button. This is mainly used to make the water look as if it is moving.
2. Connect the two Panner nodes to the UVS nodes of the two normal maps, respectively.
3. Set the value of one panner to negative, and set another panner to positive. Based on the speed X and the speed y coordinate, I set the (-.04,-04) (. 04,.04)
4. Press and hold the "U" key to create a Texcoord node in a blank position by clicking the left mouse button.
5. Press and hold the "M" key to create two new multiplication nodes in a blank position by clicking the left mouse button. These will help control the size/tiling effect of the normals when the material is instantiated.
6. Create two new scalar parameters. A name for a big ripple, a name for small ripples.
7. Connect the Texcoord to the "A" port of two multiply nodes.
8. Connect the big ripple parameter to a multiply ' B ' port and connect the small ripple parameter to the ' B ' Port of the other multiple.
9. The large ripple map is now connected to the coordinate node of the Panner and the small ripples are connected to the coordinate nodes of the Panner.
10. Create a new lerp and connect two regular texture materials to port A and port B, respectively.
11. Connect the output of this lerp to the normal (normal) port of the material.
Scalar parameters and Material properties
1. Now create three new scalar parameters.
2. Name the mirror, roughness, and gold properties, and connect the data to the appropriate location.
3. In the Material's Details tab, verify that the high quality reflections is selected in the Move drop-down menu
Scene settings
1. Add a Sky box and set its mobility to "static"
2. Prohibit "Lower hemisphere is black" and "Projection Shadow"
3. Add directional light and set mobility to "fixed"
4. Add a basic spherical object to the scene. Attach the previously made material.
5. Add a spherical reflection ball and place it around the sphere you placed before to capture reflections.
Final effect
When you deploy to a high-end mobile device, the final effect of your settings should be as shown.
Remember: I applied a solid material and added a whole bunch of parameters to get the ideal result.
(This article by 52VR Development Network white rhino translation, by UE technical engineer Jiang Chunyu audit proofreading)
Reprint please specify the source and the clear link address, otherwise retain the accountability.
Unreal UE4 settings for moving end water materials