Git Product home page Git Product logo

fontainebleaudemo's Introduction

Fontainebleau

Project for Unity 2019.4.1f1 using HDRP 7.4.1 Check the changelog to see the latest updates.

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 standard PlayStation 4 platform 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 XboxOne or PlayStation 4 requires consideration of how to get the most from these platforms.

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

  • ​ Day lighting

  • ​ Sunset lighting

  • ​ Night lighting with lights off

  • ​ Night lighting with lights on

Finally, we included 3 modes to explore the demo:

  • Cinematic mode: select your lighting program, then sit back, relax and enjoy the show,
  • First Person & Third Person Modes: these are very rudimentary exploration modes to let you discover the environment on your own, with bonuses in First Person mode.

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.

The features implemented in this demo are:

  • Deferred rendering
  • Layered lit shader
  • Volumetric fog
  • Tessellation
  • Decals
  • Planar reflections
  • Screen Space Reflections
  • Micro shadowing
  • Contact shadows (screen-space shadows)
  • Post processing
  • Local fog density volume
  • Fabric Shader graph (3rd character mode)
  • Cinemachine

Setup

  • Download Unity 2019.3.0f1 or a more recent version of 2019.3

  • Clone the repository using the tool of your preference (Git, Github Desktop, Sourcetree, ...).

    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.
  • 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

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

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

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

Controls layout

Keyboard

Gamepad

Scripts used in this demo

  • Character controller from standard assets
  • Gameplay ingredients
  • Lightmap switching script
  • Lightmapped LODs

For instructions on how to bake lightmaps with the Lightmap switching script check this repository

Known issues

  • On Some platforms the night lighting has bright white areas. This is due to reflection probes capture happening before the light probe proxy volumes used for lighting the trees and foliage get refreshed to the night values.

Feedback - Bugs

Don't hesitate to use the forum thread to send us your feedback or share the work you did based on this scene : Forum Thread

You can also use the issue tab to report bugs.

fontainebleaudemo's People

Contributors

meriemlghomari avatar laurenth-personal avatar chman avatar francescoc-unity avatar laurentopia avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.