Giter VIP home page Giter VIP logo

fontainebleaudemo's Introduction

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

  • 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

  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.

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.

Exploration modes

We included three 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.

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.

Day lighting

Sunset lighting

Night lighting - lights off

Night lighting - lights on

Controls layout

Keyboard

Gamepad

Scripts used in this demo

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

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.

fontainebleaudemo's People

Contributors

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

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

fontainebleaudemo's Issues

Zip corrupt

Is it just for me or is the zip broken?
it does unpack and open in unity, though pretty much everyfile is broken. if i download a file seperately it does work.
edit: for example a .tga file from the zip cannot be opened with any program i have available, the direct download of that file works as expected

wind shader not working using unity 2019.3.1f1 hdrp 7.20

Hi everyone ....
i downloaded the last version of the FontainebleauDemo everything works fine but the wind in grass and branches and trunk not working ... what can i do to fix it using unity 2019.3.1f1 hdrp 7.20
i got theses errors in Grass_Wind Shader :
'cross': implicit truncation of vector type
Compiling Vertex program with UNITY_PASS_SHADOWCASTER
Platform defines: UNITY_ENABLE_REFLECTION_BUFFERS UNITY_USE_DITHER_MASK_FOR_ALPHABLENDED_SHADOWS UNITY_PBS_USE_BRDF1 UNITY_SPECCUBE_BOX_PROJECTION UNITY_SPECCUBE_BLENDING UNITY_ENABLE_DETAIL_NORMALMAP SHADER_API_DESKTOP UNITY_LIGHT_PROBE_PROXY_VOLUME UNITY_LIGHTMAP_FULL_HDR

error when importing lfs project in 2019.1.4f1, corrupted scenes

Describe the bug
when importing inside 2019.1.4f1 error with prefabs, scene look white

Editor or Runtime
during import + upgrade of project
System.Exception: Cannot load. Incorrect path: Packages/com.unity.render-pipelines.high-definition/Editor/DefaultScene/DefaultSceneRoot.prefab Null returned.

at UnityEngine.Experimental.Rendering.HDPipeline.ResourceReloader.Load (System.String path, System.Type type, System.Boolean builtin) [0x00036] in E:\AI\UNITY\FontainebleauDemo\Library\PackageCache\[email protected]\Runtime\RenderPipelineResources\ResourceReloader.cs:129

at UnityEngine.Experimental.Rendering.HDPipeline.ResourceReloader.SetAndLoadIfNull (System.Object container, System.Reflection.FieldInfo info, System.String path, System.Boolean builtin) [0x0000c] in E:\AI\UNITY\FontainebleauDemo\Library\PackageCache\[email protected]\Runtime\RenderPipelineResources\ResourceReloader.cs:139

at UnityEngine.Experimental.Rendering.HDPipeline.ResourceReloader.ReloadAllNullIn (System.Object container) [0x00076] in E:\AI\UNITY\FontainebleauDemo\Library\PackageCache\[email protected]\Runtime\RenderPipelineResources\ResourceReloader.cs:38

at UnityEngine.Experimental.Rendering.HDPipeline.HDRenderPipeline.UpgradeResourcesIfNeeded () [0x0009c] in E:\AI\UNITY\FontainebleauDemo\Library\PackageCache\[email protected]\Runtime\RenderPipeline\HDRenderPipeline.cs:400

at UnityEngine.Experimental.Rendering.HDPipeline.HDRenderPipeline..ctor (UnityEngine.Experimental.Rendering.HDPipeline.HDRenderPipelineAsset asset) [0x0033c] in E:\AI\UNITY\FontainebleauDemo\Library\PackageCache\[email protected]\Runtime\RenderPipeline\HDRenderPipeline.cs:262

at UnityEngine.Experimental.Rendering.HDPipeline.HDRenderPipelineAsset.CreatePipeline () [0x00004] in E:\AI\UNITY\FontainebleauDemo\Library\PackageCache\[email protected]\Runtime\RenderPipeline\HDRenderPipelineAsset.cs:35
UnityEditor.AssetPreviewUpdater:CreatePreviewForAsset(Object, Object[], String)

To Reproduce
git LFS the project
open in 2019.1.4f1

Screenshots
image

Platform
windows 10

Source not working with 2021.3.x version

Describe the bug
Cloned the repo and opened the project in Unity 2021.3.6f1 version, its not working, there is a error in console about a issue on HDRP package, but in package manager there is no error or warning. Game-play view is white, nothing happened with post processing/fog disable.

Editor or Runtime
Editor and Runtime

To Reproduce
Steps to reproduce the behaviour:

  1. Clone the project and open in 2021.3.6f1

Expected behavior
Should work as expected

Platform

  • Device: PC
  • OS: Windows
  • Version 11

Not compatible with 2019.3.3f1 (Macos)

Describe the bug
I downloaded the package, and got 999+ errors on first opening it. Trying to the "Load Levels" menu bar item doesn't work.

Editor or Runtime
Editor.

To Reproduce
Steps to reproduce the behavior:

  1. Download unity 2019.3.3f1 on macos
  2. Open the project

Expected behavior
The project opens without errors. I can load "Daytime" as from the menu as mentioned in the documentation.

Screenshots

Platform

  • Device: Macbook pro 2017
  • OS: Macos
  • Version 2019.3.3f1

Additional context
I will try a few other versions, just thought I'd leave a report here.
2019.3.10f1 exhibited the same behavior at first glance.

Asset licences?

We are interested in using some of these assets (models, textures) for a not-for-profit research project, and potentially re-distribution of the assets. Could the licence for these assets be clarified?

Unusable in 2019.4.1f1 with HDRP 7.4.2

Describe the bug
The project is not compatible with 2019.4.1f1 with HDRP 7.4.2

Editor or Runtime
Editor

To Reproduce
Steps to reproduce the behavior:

  1. Install Unity 2019.4.1f1 and HDRP 7.4.2
  2. Add project through Unity Hub
  3. Allow the Unity upgrade process to run
  4. "Fix" the issues in the HDRP window that open. (Clicked each Fix button individually with 'Create One' selected where offered)
  5. Try and open a scene (Used Demo.unity)
  6. See error about FountainBleau.asset being corrupt or serialized with a new version of unity.

Expected behavior
Scene opens

Screenshots
image

Platform

  • Device:
  • OS: Windows
  • Version: 10

Wind Shader not animating on HDRP 7.4.1

Editor or Runtime
2019.4.3f1

To Reproduce
Install Unity 2019.4.3f1 and HDRP 7.4.1
Add Wind zone and Basic Wind Volume Override
Add Grass_Wind shader on object

error when double clicking on a scene

Failed to load '/FontainebleauDemo-master 2019.1/Assets/Demo/Demo_LI_Sunset.unity' because it was serialized with a newer version of Unity. (Has a higher SerializedFile version)

This is opened in 2019.1.4f1

Also tons of errors while upgrading the project to .4
Errors during import of AudioClip Assets/Demo/Audio/SFX/Night/leave movement/leave movement_04.wav: FSBTool ERROR: Failed decoding audio clip.
Failed to load 'E:/AI/UNITY/FontainebleauDemo-master 2019.1/Assets/Demo/Photogrammetry_Kit/PhotogrammetryKitSettings.asset' because it was serialized with a newer version of Unity. (Has a higher SerializedFile version)

Procedure: downloaded the zip file of the project from github, dropped the content of the zip file in a folder.
OS: Windows 10

2019.1.14f1

Downloaded via GitHub Desktop
Loaded it up in 2019.1.14f1
The Hierarchy window is showing Missing items, missing links between terrain. mesh, prefabs etc, yet they are in the Project.

error upon rebuilding the lighting

2019.1.4f1
clicking this
image
then pressing build sunset
image
after 45 minutes of rebaking, errors in the console and no lighting
`Cascade Shadow atlasing has failed, only one directional light can cast shadows at a time
UnityEditor.Experimental.Rendering.ScriptableBakedReflectionSystemWrapper:Internal_ScriptableBakedReflectionSystemWrapper_Tick(SceneStateHash)

`

Foliage assets render wrong after project import

Describe the bug
All foliage assets render grey or not at all when importing the project for the first time.

Expected behavior
All shading is correct after importing the project for the first time

Screenshots
image

Platform
All

Workaround so far
Locate the sub graph called "foliage shading" in the project, right click on it and reimport it.
This should fix all the foliage assets shading.

error: failed to fetch some objects from 'https://github.com/Unity-Technologies/FontainebleauDemo.git/info/lfs'

Edit: when cloning with lfs I get this error:
'git clone' has been updated in upstream Git to have comparable speeds to 'git lfs clone'. Cloning into 'FontainebleauDemo'... remote: Enumerating objects: 95, done. remote: Counting objects: 100% (95/95), done. remote: Compressing objects: 100% (73/73), done. remote: Total 10201 (delta 42), reused 59 (delta 20), pack-reused 10106 Receiving objects: 100% (10201/10201), 690.42 MiB | 936.00 KiB/s, done. Resolving deltas: 100% (6092/6092), done. Checking out files: 100% (3875/3875), done.
Then about at 60% of receiving lfs objects this shows up:
batch response: Post https://github.com/Unity-Technologies/FontainebleauDemo.git/info/lfs/objects/batch: dial tcp: lookup github.com: no such host batch response: Post https://github.com/Unity-Technologies/FontainebleauDemo.git/info/lfs/objects/batch: dial tcp: lookup github.com: no such host batch response: Post https://github.com/Unity-Technologies/FontainebleauDemo.git/info/lfs/objects/batch: dial tcp: lookup github.com: no such host error: failed to fetch some objects from 'https://github.com/Unity-Technologies/FontainebleauDemo.git/info/lfs'

"SendMessage cannot be called during Awake, CheckConsistency, or OnValidate"

This was my experience on Windows 10, Unity 2019.4.1f1, HDRP 7.4.1:

1

image

2

image

3

image

4

image

Error message in text:

SendMessage cannot be called during Awake, CheckConsistency, or OnValidate
UnityEditor.SceneManagement.EditorSceneManager:RestoreSceneManagerSetup(SceneSetup[])
GameplayIngredients.Editor.EditorSceneSetup:RestoreSetup(EditorSceneSetup) (at LocalPackages/net.peeweek.gameplay-ingredients/Editor/EditorSceneSetup/EditorSceneSetup.cs:99)
GameplayIngredients.Editor.DiscoverWindow:LoadSceneSetup(EditorSceneSetup) (at LocalPackages/net.peeweek.gameplay-ingredients/Editor/Discover/DiscoverWindow.cs:490)
GameplayIngredients.Editor.DiscoverWindow:GlobalContentGUI() (at LocalPackages/net.peeweek.gameplay-ingredients/Editor/Discover/DiscoverWindow.cs:340)
GameplayIngredients.Editor.DiscoverWindow:OnGUI() (at LocalPackages/net.peeweek.gameplay-ingredients/Editor/Discover/DiscoverWindow.cs:274)
UnityEngine.GUIUtility:ProcessEvent(Int32, IntPtr)

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.