Rachit Shrivastava | [email protected]
This demo reel, created as a final project for Advanced Graphics class, demonstrates several graphics rendering techniques like Level of Detail, Terrain Rendering, Reflection, Global Illumination, Particle Effects. The scene shows a layout with mountains, hills, water bodies, natural vegetation, with effects of daytime and weather changes (rain/sunny) and involves a third person camera view.
Unfortunately the demo in git-pages isn't working, since file sizes are pretty big there's something wrong with the game server.
The entire 3.4GB of Unreal Project folder is shared on Google Drive, accessible at only NCSU Network: https://drive.google.com/open?id=0B5jyD3ul3WReLWZKS2pVWkh5NnM
- Unreal Engine 4.15.0 or above - to open the project
- Blender - to edit some meshes
- Go to have a Dedicated Graphics Card in your Machine
Focusing on the scene layout, level of detail, terrain rendering, meshes and models used, wind foliage effects, textures, global illumination.
Major focus on the rains (particle effects), clouds animations, weather changes, wind foliage effects, day-night cycle, buoyancy, reflection, refraction in water bodies.
While using the Unreal Engine 4, launch the game in viewport. Left click within the viewport and the control goes to the viewport. Use the keys mentioned below to move around in the scene. And press Escape to exit from the game.
Walk around using the arrow keys, or regular W, A, S, D as you move a player in the third person camera angle. Use mouse to change the camera view angle. Press key toggles to changes options, as described below.
Just press R key to switch Rain on/off, it takes few seconds to come into effect.
Building the project is pretty simple. Just few steps to keep in mind.
- Install Unreal Engine 4.15.0 or above, and paste the repository folder called "DemoReel" in the Unreal Projects folder in Documents in your system.
- As the project opens in Unreal Engine 4, it starts to Compile Shaders which will take around 5 minutes to complete.
- Once that is done, search for Engine Contents folder in your system and replace the contents of "Engine Sky" within it with the given "Engine Sky" in the repo under "Extras" folder.
- Once that is done, refresh the project and rebuild the lights and compile the shaders again or reopen the project again.
- Look for SkySphereBlueprint in the World Outliners tab in Editor and open the BluePirnt. Make sure you see some content for Cloud Opacity and Branch in the "Update Sun Direction" function of the BluePrint, as shown below
- If that is shown as expected, you're good to go and Play the game.
I've used the Sculpt Tool provided in the Unreal Engine 4 to create the terrain of my own, alternative way was to use height maps of pre-defined terrains. The terrain is then painted with three different textures for grass, mud and rock. The terrain has been made uneven as it would be in a natural scene.
I've created multiple water bodies in the environment, and have made waves over them. Also these water bodies display reflections and refractions near to what is experienced in reality.
I've used the Lightmass property of Unreal Engine 4 which enables to control the Global Illumination parameter. Although it is visible when you're in a closed room environment. It was a difficult task to implement in an open scene like this. For this I've created feww grass within the river water and when the camera view goes inside the water, slight greenish-blue can be observed near the grass area because of this lightmass settings.
The game shows particle effect, with the use of Particle Emitter functionality provided in the Unreal Editor. The rain drops created have a transluscent texture and also with refractive index, which can be seen from the screencast video.
The demo showcases the day-night cycle for the environment. It starts off with a stage where the clouds becomes denser and darker and it rains when you press R. When you stop the Rain, it starts to clear the dense clouds and at the same time the sun (directional light) rotates the sky sphere changing the color of the sky and shadows for the models/objects in the scene. With the sunrise, you can see a sunny day with clear blue skies.
I've added wind effect to the vegetations - grass and tree leaves which can be seen from the demo videos on a closer look. It makes the vegetations swift away in the winds.
Metal Game Studios for providing free assets for the vegetations which were used in the demo reel https://forums.unrealengine.com/showthread.php?59812-Free-Foliage-Starter-Kit
Unreal Engine Starter Kit which has materials for sky and clouds
GameDev1909 Gaming and Guides Youtube channel for their Beginner Tutorials on Unreal Engine 4