Home

Awesome

Fontainebleau

Summary

Check the changelog to for the latest updates and Unity editor compatibily information.

We created the Fontainebleau demo to illustrate the photogrammetry workflow and the use of the LayeredLit shader.

This technical demo is authored with game development condition in mind: it’s a representative game level and targets the base PlayStation 4 at 1080p @ 30fps.

The level represents a part of the Fontainebleau forest and uses a limited set of meshes and textures that are reused with different variation with the help of the LayeredLit shader.

There is a playable first person and third person mode to walk inside the forest. Targeting consoles like Xbox One or PlayStation 4 requires consideration of how to get the most from these platforms.

Why Fontainebleau?

Fontainebleau is the name of a forest close to the Unity Paris office. The forest is a good subject to speak about photogrammetry. Natural assets are often complex and hard to reproduce realistically. For our artists, it was important to have the subject close to them to go on site and do all the tests needed to analyze the best workflow possible for games.

Features

Setup

  1. Download Unity 2019.3.0f1 or a newer version of the Unity editor.
  2. Clone the repository using the tool of your preference (Git, Github Desktop, Sourcetree, Fork, etc.).
IMPORTANT
This project uses Git Large Files Support (LFS). Downloading a zip file using the green button on Github will not work. You must clone the project with a version of git that has LFS. You can download Git LFS here: https://git-lfs.github.com/ or use the Github Desktop which already uses LFS.
  1. Open the repository folder in Unity. The first time you open the project Unity will import all the assets. This operation can take more than 1 hour.

Exploring the project

Discover wizard

When the project opens, you should see a popup window appear named Discover Fontainebleau.

<img src = "https://github.com/Unity-Technologies/FontainebleauDemo/blob/master/Documentation/Images/DiscoverLevels.png" >

The Levels tab allows you to load the different scene setups included in the project.

<img src = "https://github.com/Unity-Technologies/FontainebleauDemo/blob/master/Documentation/Images/DiscoverItems.png" >

The Discover tab allows you to inspect different interesting elements in the project and read small explanations.

Exploration modes

We included three modes to explore the demo:

<img src = "https://github.com/Unity-Technologies/FontainebleauDemo/blob/master/Documentation/Images/1.PNG" title = "Fontainebleau menu screen" alt width="200" height="400" > <img src = "https://github.com/Unity-Technologies/FontainebleauDemo/blob/master/Documentation/Images/11.PNG" > <img src = "https://github.com/Unity-Technologies/FontainebleauDemo/blob/master/Documentation/Images/4.PNG" >

Lighting Treatments

The demo also supports three different lighting condition to illustrate that correctly authored and de-lighted assets work fine in any lighting condition.

<img src = "https://github.com/Unity-Technologies/FontainebleauDemo/blob/master/Documentation/Images/0.PNG" >

Day lighting

<img src = "https://github.com/Unity-Technologies/FontainebleauDemo/blob/master/Documentation/Images/3.PNG" >

Sunset lighting

<img src = "https://github.com/Unity-Technologies/FontainebleauDemo/blob/master/Documentation/Images/5.PNG" >

Night lighting - lights off

<img src = "https://github.com/Unity-Technologies/FontainebleauDemo/blob/master/Documentation/Images/6.PNG" >

Night lighting - lights on

<img src = "https://github.com/Unity-Technologies/FontainebleauDemo/blob/master/Documentation/Images/7.PNG" >

Controls layout

Keyboard

<img src = "https://github.com/Unity-Technologies/FontainebleauDemo/blob/master/Documentation/Images/8.PNG" >

Gamepad

<img src = "https://github.com/Unity-Technologies/FontainebleauDemo/blob/master/Documentation/Images/9.PNG" >

Scripts used in this demo

Known issues

Feedback

Visit the forum thread to send us your feedback or share the work you did based on this scene.

You can also use the issue tab to report bugs.