浏览代码

Update README.md

Reorganized contents of the readme file in a more intuitive way.
/main
GitHub 3 年前
当前提交
dadc98b6
共有 1 个文件被更改,包括 59 次插入56 次删除
  1. 115
      README.md

115
README.md


# Fontainebleau
Project for Unity 2019.4.1f1 using HDRP 7.4.1
**Check the [changelog](https://github.com/Unity-Technologies/FontainebleauDemo/blob/master/Changelog.md) to see the latest updates.**
<img src = "https://forum.unity.com/proxy.php?image=https%3A%2F%2Fblogs.unity3d.com%2Fwp-content%2Fuploads%2F2018%2F03%2Fimage5-1280x720.png&hash=d4dd82baaada0823f75c693064c8c964" title = "Fontainebleau title screen" alt >
## Summary
Check the [changelog](https://github.com/Unity-Technologies/FontainebleauDemo/blob/master/Changelog.md) to for the latest updates and Unity editor compatibily information.
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.
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.
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:
<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 with lights off
<img src = "https://github.com/Unity-Technologies/FontainebleauDemo/blob/master/Documentation/Images/6.PNG" >
- ​ Night lighting with lights on
<img src = "https://github.com/Unity-Technologies/FontainebleauDemo/blob/master/Documentation/Images/7.PNG" >
Finally, we included 3 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" >
- 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.
<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" >
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?**
### Why Fontainebleau?
**The features implemented in this demo are:**
## Features
- Deferred rendering
- Layered lit shader

- Fabric Shader graph (3rd character mode)
- Cinemachine
# Setup
## 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, ...).
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.).
- 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.**
3. 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
## Exploring the project
- When the project opens, you should see a popup window appear named **Discover Fontainebleau**
### 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 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.
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" >
- **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.
<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" >
# Controls layout
### Night lighting - lights off
<img src = "https://github.com/Unity-Technologies/FontainebleauDemo/blob/master/Documentation/Images/6.PNG" >
## Keyboard
### Night lighting - lights on
<img src = "https://github.com/Unity-Technologies/FontainebleauDemo/blob/master/Documentation/Images/7.PNG" >
## Controls layout
### Keyboard
## Gamepad
### Gamepad
# Scripts used in this demo
## Scripts used in this demo
- Lightmap switching script
- [Lightmap switching tool](https://github.com/laurenth-unity/lightmap-switching-tool)
For instructions on how to bake lightmaps with the **Lightmap switching script** check this [repository](https://github.com/laurenth-unity/lightmap-switching-tool)
# Known issues
## 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.
- 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
## Feedback
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](https://forum.unity.com/threads/photogrammetry-in-unity-making-real-world-objects-into-digital-assets.521946/)
Visit the [forum thread](https://forum.unity.com/threads/photogrammetry-in-unity-making-real-world-objects-into-digital-assets.521946/) to send us your feedback or share the work you did based on this scene.
You can also use the [issue tab](https://github.com/Unity-Technologies/FontainebleauDemo/issues) to report bugs.
正在加载...
取消
保存