浏览代码
Merge pull request #885 from Unity-Technologies/release-v0.4
Merge pull request #885 from Unity-Technologies/release-v0.4
Release v0.4/develop-generalizationTraining-TrainerController
当前提交
4b3c6c9f
共有 82 个文件被更改,包括 1631 次插入 和 1276 次删除
-
4README.md
-
4docs/Basic-Guide.md
-
2docs/Getting-Started-with-Balance-Ball.md
-
29docs/Installation-Windows.md
-
3docs/Learning-Environment-Create-New.md
-
2docs/Learning-Environment-Design-Agents.md
-
1docs/Learning-Environment-Design-Heuristic-Brains.md
-
2docs/Python-API.md
-
2docs/Readme.md
-
2docs/Training-Imitation-Learning.md
-
2docs/Training-ML-Agents.md
-
192docs/Training-on-Amazon-Web-Service.md
-
2docs/Using-Docker.md
-
2docs/dox-ml-agents.conf
-
2docs/localized/zh-CN/README.md
-
2docs/localized/zh-CN/docs/Readme.md
-
4python/tests/mock_communicator.py
-
8python/tests/test_bc.py
-
234python/tests/test_ppo.py
-
8python/tests/test_unityagents.py
-
6python/tests/test_unitytrainers.py
-
7python/trainer_config.yaml
-
2python/unityagents/environment.py
-
4python/unitytrainers/models.py
-
64python/unitytrainers/ppo/models.py
-
28python/unitytrainers/ppo/trainer.py
-
1python/unitytrainers/trainer_controller.py
-
63unity-environment/Assets/ML-Agents/Examples/BananaCollectors/Prefabs/TeachingArea.prefab
-
147unity-environment/Assets/ML-Agents/Examples/BananaCollectors/Scenes/Banana.unity
-
294unity-environment/Assets/ML-Agents/Examples/BananaCollectors/Scenes/BananaIL.unity
-
124unity-environment/Assets/ML-Agents/Examples/BananaCollectors/Scenes/VisualBanana.unity
-
11unity-environment/Assets/ML-Agents/Examples/Bouncer/Scripts/BouncerAgent.cs
-
11unity-environment/Assets/ML-Agents/Examples/Crawler/Scenes/CrawlerStaticTarget.unity
-
33unity-environment/Assets/ML-Agents/Examples/Hallway/Scenes/Hallway.unity
-
124unity-environment/Assets/ML-Agents/Examples/Hallway/Scenes/VisualHallway.unity
-
138unity-environment/Assets/ML-Agents/Examples/PushBlock/Scenes/PushBlock.unity
-
134unity-environment/Assets/ML-Agents/Examples/PushBlock/Scenes/VisualPushBlock.unity
-
2unity-environment/Assets/ML-Agents/Examples/PushBlock/Scripts/PushAgentBasic.cs
-
42unity-environment/Assets/ML-Agents/Examples/Pyramids/Prefabs/AreaPB.prefab
-
50unity-environment/Assets/ML-Agents/Examples/Pyramids/Prefabs/StonePyramid.prefab
-
42unity-environment/Assets/ML-Agents/Examples/Pyramids/Prefabs/VisualAreaPB.prefab
-
187unity-environment/Assets/ML-Agents/Examples/Pyramids/Scenes/Pyramids.unity
-
90unity-environment/Assets/ML-Agents/Examples/Pyramids/Scenes/PyramidsIL.unity
-
180unity-environment/Assets/ML-Agents/Examples/Pyramids/Scenes/VisualPyramids.unity
-
15unity-environment/Assets/ML-Agents/Examples/SharedAssets/Materials/Ball.mat
-
12unity-environment/Assets/ML-Agents/Examples/SharedAssets/Materials/CheckerSquare.mat
-
2unity-environment/Assets/ML-Agents/Examples/SharedAssets/Materials/Wall.mat
-
2unity-environment/Assets/ML-Agents/Examples/Soccer/Materials/ClearWall.mat
-
249unity-environment/Assets/ML-Agents/Examples/Tennis/Scenes/Tennis.unity
-
2unity-environment/Assets/ML-Agents/Examples/WallJump/Material/TransparentWall.mat
-
2unity-environment/Assets/ML-Agents/Examples/WallJump/Scripts/WallJumpAgent.cs
-
5unity-environment/Assets/ML-Agents/Scripts/CoreBrainInternal.cs
-
125unity-environment/Assets/ML-Agents/Examples/3DBall/Scenes/3DBallHard.unity
-
36docs/Migrating.md
-
8unity-environment/Assets/ML-Agents/Examples/3DBall/Scenes.meta
-
8unity-environment/Assets/ML-Agents/Examples/Basic/Scenes.meta
-
8unity-environment/Assets/ML-Agents/Examples/GridWorld/Scenes.meta
-
8unity-environment/Assets/ML-Agents/Examples/Reacher/Scenes.meta
-
31docs/Migrating-v0.3.md
-
8unity-environment/Assets/ML-Agents/Examples/Crawler/Materials.meta
-
76unity-environment/Assets/ML-Agents/Examples/Pyramids/Materials/wall.mat
-
8unity-environment/Assets/ML-Agents/Examples/Pyramids/Materials/wall.mat.meta
-
11unity-environment/Assets/ML-Agents/Examples/Tennis/Scripts/hitWall.cs.meta
-
0/unity-environment/Assets/ML-Agents/Examples/Soccer/Materials/ClearWall.mat.meta
-
0/unity-environment/Assets/ML-Agents/Examples/Soccer/Materials/ClearWall.mat
-
0/unity-environment/Assets/ML-Agents/Examples/WallJump/Material/TransparentWall.mat.meta
-
0/unity-environment/Assets/ML-Agents/Examples/WallJump/Material/TransparentWall.mat
-
0/unity-environment/Assets/ML-Agents/Examples/3DBall/Scenes/3DBall.unity
-
0/unity-environment/Assets/ML-Agents/Examples/3DBall/Scenes/3DBallHard.unity
-
0/unity-environment/Assets/ML-Agents/Examples/3DBall/Scenes/3DBallHard.unity.meta
-
0/unity-environment/Assets/ML-Agents/Examples/3DBall/Scenes/3DBall.unity.meta
-
0/unity-environment/Assets/ML-Agents/Examples/Basic/Scenes/Basic.unity.meta
-
0/unity-environment/Assets/ML-Agents/Examples/Basic/Scenes/Basic.unity
-
0/unity-environment/Assets/ML-Agents/Examples/GridWorld/Scenes/GridWorld.unity.meta
-
0/unity-environment/Assets/ML-Agents/Examples/GridWorld/Scenes/GridWorld.unity
-
0/unity-environment/Assets/ML-Agents/Examples/Reacher/Scenes/Reacher.unity.meta
-
0/unity-environment/Assets/ML-Agents/Examples/Reacher/Scenes/Reacher.unity
|
|||
# Training on Amazon Web Service |
|||
|
|||
This page contains instructions for setting up an EC2 instance on Amazon Web Service for training ML-Agents environments. Visual observations is not supported currently and you need to enable headless mode. |
|||
This page contains instructions for setting up an EC2 instance on Amazon Web Service for training ML-Agents environments. |
|||
## Recommended AMI |
|||
You can get started with an EC2 instance with the Deep Learning AMI (Ubuntu) listed under AWS Marketplace [AMI](https://aws.amazon.com/marketplace/pp/B077GCH38C). Choose the python3 environment within that ami which gives you the python3 and CUDA 9.0 environment. |
|||
## Preconfigured AMI |
|||
|
|||
We've prepared an preconfigured AMI for you with the ID: `ami-6880c317` in the `us-east-1` region. It was created as a modification of [Deep Learning AMI (Ubuntu)](https://aws.amazon.com/marketplace/pp/B077GCH38C). If you want to do training without the headless mode, you need to enable X Server on it. After launching your EC2 instance using the ami and ssh into it, run the following commands to enable it: |
|||
|
|||
``` |
|||
//Start the X Server, press Enter to come to the command line |
|||
sudo /usr/bin/X :0 & |
|||
|
|||
//Check if Xorg process is running |
|||
//You will have a list of processes running on the GPU, Xorg should be in the list, as shown below |
|||
nvidia-smi |
|||
/* |
|||
* Thu Jun 14 20:27:26 2018 |
|||
* +-----------------------------------------------------------------------------+ |
|||
* | NVIDIA-SMI 390.67 Driver Version: 390.67 | |
|||
* |-------------------------------+----------------------+----------------------+ |
|||
* | GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC | |
|||
* | Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. | |
|||
* |===============================+======================+======================| |
|||
* | 0 Tesla K80 On | 00000000:00:1E.0 Off | 0 | |
|||
* | N/A 35C P8 31W / 149W | 9MiB / 11441MiB | 0% Default | |
|||
* +-------------------------------+----------------------+----------------------+ |
|||
* |
|||
* +-----------------------------------------------------------------------------+ |
|||
* | Processes: GPU Memory | |
|||
* | GPU PID Type Process name Usage | |
|||
* |=============================================================================| |
|||
* | 0 2331 G /usr/lib/xorg/Xorg 8MiB | |
|||
* +-----------------------------------------------------------------------------+ |
|||
*/ |
|||
|
|||
//Make the ubuntu use X Server for display |
|||
export DISPLAY=:0 |
|||
``` |
|||
To begin with, you will need an EC2 instance which contains the latest Nvidia drivers, CUDA9, and cuDNN. There are a number of external tutorials which describe this (Note: You will need to tweak some steps in these tutorials for CUDA 9): |
|||
You could also choose to configure your own instance. To begin with, you will need an EC2 instance which contains the latest Nvidia drivers, CUDA9, and cuDNN. In this tutorial we used the [Deep Learning AMI (Ubuntu)](https://aws.amazon.com/marketplace/pp/B077GCH38C) listed under AWS Marketplace with a p2.xlarge instance. |
|||
* [Getting CUDA 8 to Work With openAI Gym on AWS and Compiling TensorFlow for CUDA 8 Compatibility](https://davidsanwald.github.io/2016/11/13/building-tensorflow-with-gpu-support.html) |
|||
* [Installing TensorFlow on an AWS EC2 P2 GPU Instance](http://expressionflow.com/2016/10/09/installing-tensorflow-on-an-aws-ec2-p2-gpu-instance/) |
|||
* [Updating Nvidia CUDA to 8.0.x in Ubuntu 16.04 – EC2 Gx instance](https://aichamp.wordpress.com/2016/11/09/updating-nvidia-cuda-to-8-0-x-in-ubuntu-16-04-ec2-gx-instance/) |
|||
### Installing ML-Agents on the instance |
|||
## Installing ML-Agents |
|||
After launching your EC2 instance using the ami and ssh into it: |
|||
1. Move `python` sub-folder of this ml-agents repo to the remote ECS instance, and set it as the working directory. |
|||
2. Install the required packages with `pip3 install .`. |
|||
1. Activate the python3 environment |
|||
## Testing |
|||
``` |
|||
source activate python3 |
|||
``` |
|||
To verify that all steps worked correctly: |
|||
2. Clone the ML-Agents repo and install the required python packages |
|||
|
|||
``` |
|||
git clone https://github.com/Unity-Technologies/ml-agents.git |
|||
cd ml-agents/python |
|||
pip3 install . |
|||
``` |
|||
|
|||
### Setting up X Server (optional) |
|||
|
|||
X Server setup is only necessary if you want to do training that requires visual observation input. _Instructions here are adapted from this [Medium post](https://medium.com/towards-data-science/how-to-run-unity-on-amazon-cloud-or-without-monitor-3c10ce022639) on running general Unity applications in the cloud._ |
|||
|
|||
Current limitations of the Unity Engine require that a screen be available to render to when using visual observations. In order to make this possible when training on a remote server, a virtual screen is required. We can do this by installing Xorg and creating a virtual screen. Once installed and created, we can display the Unity environment in the virtual environment, and train as we would on a local machine. Ensure that `headless` mode is disabled when building linux executables which use visual observations. |
|||
|
|||
1. Install and setup Xorg: |
|||
|
|||
``` |
|||
//Install Xorg |
|||
sudo apt-get update |
|||
sudo apt-get install -y xserver-xorg mesa-utils |
|||
sudo nvidia-xconfig -a --use-display-device=None --virtual=1280x1024 |
|||
|
|||
//Get the BusID information |
|||
nvidia-xconfig --query-gpu-info |
|||
|
|||
//Add the BusID information to your /etc/X11/xorg.conf file |
|||
sudo sed -i 's/ BoardName "Tesla K80"/ BoardName "Tesla K80"\n BusID "0:30:0"/g' /etc/X11/xorg.conf |
|||
|
|||
//Remove the Section "Files" from the /etc/X11/xorg.conf file |
|||
sudo vim /etc/X11/xorg.conf //And remove two lines that contain Section "Files" and EndSection |
|||
``` |
|||
|
|||
2. Update and setup Nvidia driver: |
|||
|
|||
``` |
|||
//Download and install the latest Nvidia driver for ubuntu |
|||
wget http://download.nvidia.com/XFree86/Linux-x86_64/390.67/NVIDIA-Linux-x86_64-390.67.run |
|||
sudo /bin/bash ./NVIDIA-Linux-x86_64-390.67.run --accept-license --no-questions --ui=none |
|||
|
|||
//Disable Nouveau as it will clash with the Nvidia driver |
|||
sudo echo 'blacklist nouveau' | sudo tee -a /etc/modprobe.d/blacklist.conf |
|||
sudo echo 'options nouveau modeset=0' | sudo tee -a /etc/modprobe.d/blacklist.conf |
|||
sudo echo options nouveau modeset=0 | sudo tee -a /etc/modprobe.d/nouveau-kms.conf |
|||
sudo update-initramfs -u |
|||
``` |
|||
|
|||
2. Restart the EC2 instance: |
|||
|
|||
``` |
|||
sudo reboot now |
|||
``` |
|||
|
|||
3. Make sure there are no Xorg processes running: |
|||
|
|||
``` |
|||
//Kill any possible running Xorg processes |
|||
//Note that you might have to run this command multiple times depending on how Xorg is configured. |
|||
sudo killall Xorg |
|||
|
|||
//Check if there is any Xorg process left |
|||
//You will have a list of processes running on the GPU, Xorg should not be in the list, as shown below. |
|||
nvidia-smi |
|||
/* |
|||
* Thu Jun 14 20:21:11 2018 |
|||
* +-----------------------------------------------------------------------------+ |
|||
* | NVIDIA-SMI 390.67 Driver Version: 390.67 | |
|||
* |-------------------------------+----------------------+----------------------+ |
|||
* | GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC | |
|||
* | Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. | |
|||
* |===============================+======================+======================| |
|||
* | 0 Tesla K80 On | 00000000:00:1E.0 Off | 0 | |
|||
* | N/A 37C P8 31W / 149W | 0MiB / 11441MiB | 0% Default | |
|||
* +-------------------------------+----------------------+----------------------+ |
|||
* |
|||
* +-----------------------------------------------------------------------------+ |
|||
* | Processes: GPU Memory | |
|||
* | GPU PID Type Process name Usage | |
|||
* |=============================================================================| |
|||
* | No running processes found | |
|||
* +-----------------------------------------------------------------------------+ |
|||
*/ |
|||
``` |
|||
|
|||
4. Start X Server and make the ubuntu use X Server for display: |
|||
|
|||
``` |
|||
//Start the X Server, press Enter to come to the command line |
|||
sudo /usr/bin/X :0 & |
|||
|
|||
//Check if Xorg process is running |
|||
//You will have a list of processes running on the GPU, Xorg should be in the list. |
|||
nvidia-smi |
|||
|
|||
//Make the ubuntu use X Server for display |
|||
export DISPLAY=:0 |
|||
``` |
|||
|
|||
5. Ensure the Xorg is correctly configured: |
|||
|
|||
``` |
|||
//For more information on glxgears, see ftp://www.x.org/pub/X11R6.8.1/doc/glxgears.1.html. |
|||
glxgears |
|||
//If Xorg is configured correctly, you should see the following message |
|||
/* |
|||
* Running synchronized to the vertical refresh. The framerate should be |
|||
* approximately the same as the monitor refresh rate. |
|||
* 137296 frames in 5.0 seconds = 27459.053 FPS |
|||
* 141674 frames in 5.0 seconds = 28334.779 FPS |
|||
* 141490 frames in 5.0 seconds = 28297.875 FPS |
|||
*/ |
|||
``` |
|||
|
|||
## Training on EC2 instance |
|||
4. Check Headless Mode. |
|||
4. Check Headless Mode (If you haven't setup the X Server). |
|||
6. Upload the executable to your EC2 instance. |
|||
6. Upload the executable to your EC2 instance within `ml-agents/python` folder. |
|||
```python |
|||
from unityagents import UnityEnvironment |
|||
```python |
|||
from unityagents import UnityEnvironment |
|||
env = UnityEnvironment(<your_env>) |
|||
``` |
|||
Where `<your_env>` corresponds to the path to your environment executable. |
|||
|
|||
You should receive a message confirming that the environment was loaded successfully. |
|||
env = UnityEnvironment(<your_env>) |
|||
``` |
|||
Where `<your_env>` corresponds to the path to your environment executable. |
|||
|
|||
You should receive a message confirming that the environment was loaded successfully. |
|||
8. Train the executable |
|||
|
|||
``` |
|||
//cd into your ml-agents/python folder |
|||
chmod +x <your_env>.x86_64 |
|||
python learn.py <your_env> --train |
|||
``` |
|
|||
# Migrating from ML-Agents v0.3 to ML-Agents v0.4 |
|||
|
|||
## Unity API |
|||
* `using MLAgents;` needs to be added in all of the C# scripts that use ML-Agents. |
|||
|
|||
# Migrating from ML-Agents v0.2 to ML-Agents v0.3 |
|||
|
|||
There are a large number of new features and improvements in ML-Agents v0.3 which change both the training process and Unity API in ways which will cause incompatibilities with environments made using older versions. This page is designed to highlight those changes for users familiar with v0.1 or v0.2 in order to ensure a smooth transition. |
|||
|
|||
## Important |
|||
* ML-Agents is no longer compatible with Python 2. |
|||
|
|||
## Python Training |
|||
* The training script `ppo.py` and `PPO.ipynb` Python notebook have been replaced with a single `learn.py` script as the launching point for training with ML-Agents. For more information on using `learn.py`, see [here](). |
|||
* Hyperparameters for training brains are now stored in the `trainer_config.yaml` file. For more information on using this file, see [here](). |
|||
|
|||
## Unity API |
|||
* Modifications to an Agent's rewards must now be done using either `AddReward()` or `SetReward()`. |
|||
* Setting an Agent to done now requires the use of the `Done()` method. |
|||
* `CollectStates()` has been replaced by `CollectObservations()`, which now no longer returns a list of floats. |
|||
* To collect observations, call `AddVectorObs()` within `CollectObservations()`. Note that you can call `AddVectorObs()` with floats, integers, lists and arrays of floats, Vector3 and Quaternions. |
|||
* `AgentStep()` has been replaced by `AgentAction()`. |
|||
* `WaitTime()` has been removed. |
|||
* The `Frame Skip` field of the Academy is replaced by the Agent's `Decision Frequency` field, enabling agent to make decisions at different frequencies. |
|||
* The names of the inputs in the Internal Brain have been changed. You must replace `state` with `vector_observation` and `observation` with `visual_observation`. In addition, you must remove the `epsilon` placeholder. |
|||
|
|||
## Semantics |
|||
In order to more closely align with the terminology used in the Reinforcement Learning field, and to be more descriptive, we have changed the names of some of the concepts used in ML-Agents. The changes are highlighted in the table below. |
|||
|
|||
| Old - v0.2 and earlier | New - v0.3 and later | |
|||
| --- | --- | |
|||
| State | Vector Observation | |
|||
| Observation | Visual Observation | |
|||
| Action | Vector Action | |
|||
| N/A | Text Observation | |
|||
| N/A | Text Action | |
|
|||
fileFormatVersion: 2 |
|||
guid: f4933f3f3e4b741de85835dd811541ff |
|||
folderAsset: yes |
|||
DefaultImporter: |
|||
externalObjects: {} |
|||
userData: |
|||
assetBundleName: |
|||
assetBundleVariant: |
|
|||
fileFormatVersion: 2 |
|||
guid: 8df24456c56c94dc3ac5091161221c29 |
|||
folderAsset: yes |
|||
DefaultImporter: |
|||
externalObjects: {} |
|||
userData: |
|||
assetBundleName: |
|||
assetBundleVariant: |
|
|||
fileFormatVersion: 2 |
|||
guid: f7f01678223eb4dd69f8c41857f79a0d |
|||
folderAsset: yes |
|||
DefaultImporter: |
|||
externalObjects: {} |
|||
userData: |
|||
assetBundleName: |
|||
assetBundleVariant: |
|
|||
fileFormatVersion: 2 |
|||
guid: b732c9ddf5e7448208234d3efed8c14a |
|||
folderAsset: yes |
|||
DefaultImporter: |
|||
externalObjects: {} |
|||
userData: |
|||
assetBundleName: |
|||
assetBundleVariant: |
|
|||
# Migrating to ML-Agents v0.3 |
|||
|
|||
There are a large number of new features and improvements in ML-Agents v0.3 which change both the training process and Unity API in ways which will cause incompatibilities with environments made using older versions. This page is designed to highlight those changes for users familiar with v0.1 or v0.2 in order to ensure a smooth transition. |
|||
|
|||
## Important |
|||
* ML-Agents is no longer compatible with Python 2. |
|||
|
|||
## Python Training |
|||
* The training script `ppo.py` and `PPO.ipynb` Python notebook have been replaced with a single `learn.py` script as the launching point for training with ML-Agents. For more information on using `learn.py`, see [here](). |
|||
* Hyperparameters for training brains are now stored in the `trainer_config.yaml` file. For more information on using this file, see [here](). |
|||
|
|||
## Unity API |
|||
* Modifications to an Agent's rewards must now be done using either `AddReward()` or `SetReward()`. |
|||
* Setting an Agent to done now requires the use of the `Done()` method. |
|||
* `CollectStates()` has been replaced by `CollectObservations()`, which now no longer returns a list of floats. |
|||
* To collect observations, call `AddVectorObs()` within `CollectObservations()`. Note that you can call `AddVectorObs()` with floats, integers, lists and arrays of floats, Vector3 and Quaternions. |
|||
* `AgentStep()` has been replaced by `AgentAction()`. |
|||
* `WaitTime()` has been removed. |
|||
* The `Frame Skip` field of the Academy is replaced by the Agent's `Decision Frequency` field, enabling agent to make decisions at different frequencies. |
|||
* The names of the inputs in the Internal Brain have been changed. You must replace `state` with `vector_observation` and `observation` with `visual_observation`. In addition, you must remove the `epsilon` placeholder. |
|||
|
|||
## Semantics |
|||
In order to more closely align with the terminology used in the Reinforcement Learning field, and to be more descriptive, we have changed the names of some of the concepts used in ML-Agents. The changes are highlighted in the table below. |
|||
|
|||
| Old - v0.2 and earlier | New - v0.3 and later | |
|||
| --- | --- | |
|||
| State | Vector Observation | |
|||
| Observation | Visual Observation | |
|||
| Action | Vector Action | |
|||
| N/A | Text Observation | |
|||
| N/A | Text Action | |
|
|||
fileFormatVersion: 2 |
|||
guid: 1b2e258570af540139c1ef84be60b3ea |
|||
folderAsset: yes |
|||
DefaultImporter: |
|||
externalObjects: {} |
|||
userData: |
|||
assetBundleName: |
|||
assetBundleVariant: |
|
|||
%YAML 1.1 |
|||
%TAG !u! tag:unity3d.com,2011: |
|||
--- !u!21 &2100000 |
|||
Material: |
|||
serializedVersion: 6 |
|||
m_ObjectHideFlags: 0 |
|||
m_PrefabParentObject: {fileID: 0} |
|||
m_PrefabInternal: {fileID: 0} |
|||
m_Name: wall |
|||
m_Shader: {fileID: 46, guid: 0000000000000000f000000000000000, type: 0} |
|||
m_ShaderKeywords: |
|||
m_LightmapFlags: 4 |
|||
m_EnableInstancingVariants: 0 |
|||
m_DoubleSidedGI: 0 |
|||
m_CustomRenderQueue: -1 |
|||
stringTagMap: {} |
|||
disabledShaderPasses: [] |
|||
m_SavedProperties: |
|||
serializedVersion: 3 |
|||
m_TexEnvs: |
|||
- _BumpMap: |
|||
m_Texture: {fileID: 0} |
|||
m_Scale: {x: 1, y: 1} |
|||
m_Offset: {x: 0, y: 0} |
|||
- _DetailAlbedoMap: |
|||
m_Texture: {fileID: 0} |
|||
m_Scale: {x: 1, y: 1} |
|||
m_Offset: {x: 0, y: 0} |
|||
- _DetailMask: |
|||
m_Texture: {fileID: 0} |
|||
m_Scale: {x: 1, y: 1} |
|||
m_Offset: {x: 0, y: 0} |
|||
- _DetailNormalMap: |
|||
m_Texture: {fileID: 0} |
|||
m_Scale: {x: 1, y: 1} |
|||
m_Offset: {x: 0, y: 0} |
|||
- _EmissionMap: |
|||
m_Texture: {fileID: 0} |
|||
m_Scale: {x: 1, y: 1} |
|||
m_Offset: {x: 0, y: 0} |
|||
- _MainTex: |
|||
m_Texture: {fileID: 0} |
|||
m_Scale: {x: 1, y: 1} |
|||
m_Offset: {x: 0, y: 0} |
|||
- _MetallicGlossMap: |
|||
m_Texture: {fileID: 0} |
|||
m_Scale: {x: 1, y: 1} |
|||
m_Offset: {x: 0, y: 0} |
|||
- _OcclusionMap: |
|||
m_Texture: {fileID: 0} |
|||
m_Scale: {x: 1, y: 1} |
|||
m_Offset: {x: 0, y: 0} |
|||
- _ParallaxMap: |
|||
m_Texture: {fileID: 0} |
|||
m_Scale: {x: 1, y: 1} |
|||
m_Offset: {x: 0, y: 0} |
|||
m_Floats: |
|||
- _BumpScale: 1 |
|||
- _Cutoff: 0.5 |
|||
- _DetailNormalMapScale: 1 |
|||
- _DstBlend: 0 |
|||
- _GlossMapScale: 1 |
|||
- _Glossiness: 0.5 |
|||
- _GlossyReflections: 1 |
|||
- _Metallic: 0 |
|||
- _Mode: 0 |
|||
- _OcclusionStrength: 1 |
|||
- _Parallax: 0.02 |
|||
- _SmoothnessTextureChannel: 0 |
|||
- _SpecularHighlights: 1 |
|||
- _SrcBlend: 1 |
|||
- _UVSec: 0 |
|||
- _ZWrite: 1 |
|||
m_Colors: |
|||
- _Color: {r: 0.44705883, g: 0.4509804, b: 0.4627451, a: 0} |
|||
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1} |
|
|||
fileFormatVersion: 2 |
|||
guid: 816cdc1b97eae4fe1bd0e092e5f7ed04 |
|||
NativeFormatImporter: |
|||
externalObjects: {} |
|||
mainObjectFileID: 0 |
|||
userData: |
|||
assetBundleName: |
|||
assetBundleVariant: |
|
|||
fileFormatVersion: 2 |
|||
guid: 05eee2a5536934f5684a65f151efd304 |
|||
MonoImporter: |
|||
externalObjects: {} |
|||
serializedVersion: 2 |
|||
defaultReferences: [] |
|||
executionOrder: 0 |
|||
icon: {instanceID: 0} |
|||
userData: |
|||
assetBundleName: |
|||
assetBundleVariant: |
撰写
预览
正在加载...
取消
保存
Reference in new issue