Skip to content

joscanper/unity_echofx

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

The Division™ Echo FX in Unity3D

This project shows how to implement The Division™ ECHO recording fx in Unity3D.

Please watch the following video to have a better understanding of how it works : https://youtu.be/s7eNoDAJxMk

The Division is a trademark of Ubisoft Entertainment in the U.S. and/or other countries

EchoFX demo

Echo rendering

In the project, you can find a demo scene at Scenes/EchoFX that will show a demo Echo recording as you move along the scene (check in the Editor view where the ECHO prefab is located).

The scene needs to use the ECHO post-process effect in order to render the Echos. The current ECHO prefab contains a post-process volume which sets the _Opacity parameter of the post process to 1.

Echo demo scene

The EchoRenderer on the ECHO prefab requires an EchoData file that contains the position, normals, and light direction in order to render the ECHO. These scenes are created with the EchoData creation tool.

EchoData creation tool

There is a scene in the project that has been used for the creation of the demo EchoData. It is recommended to use the same scene for the creation of other scenes.

Open the scene Scenes/EchoTool and open the creation tool located at the menu Tools/ECHO Creation.

This tool needs an EchoData reference in order to allow you to start adding points to the scene. You can create a new EchoData file right-clicking in the project view and select EchoData or simply duplicate the existing demo EchoData file.

Once a reference has been set on the tool you can load the content clicking Load or simply start casting points if the echo data is empty (or if you want to overwrite the current content).

EchoData Creation Tool

  • You can tweak the density of points and radius of the brush.
  • Clear the current editing points clicking the Clear button. This does not clear the content of the EchoData file.
  • Save the current Echo scene in the EchoData file clicking the Save button. In order to clear the content of the file click Clear and Save.

A couple of considerations:

  • The tool will only cast points on one mesh at the time.
  • In order to cast points on a mesh, it needs a MeshCollider component.

Click "Save" to store all the created points in the EchoData file.

Use this EchoData file on the EchoRenderer component of the ECHO prefab in order to render the created scene.

If the scene was created correctly, it should show up in the EditorView when the object with an EchoRenderer is selected.

Assets

Car by Kajaman

Statue of hunter with dogby Lincoln 3D Scans

Statue of Nymph Preparing For The Bathby oliverlaric

About

The Division ECHO fx implemented in Unity3D

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published