浏览代码

Added debugging scene for PBR shader and lighting

/Add-support-for-light-specular-color-tint
Andre McGrail 7 年前
当前提交
50cc3b9d
共有 42 个文件被更改,包括 7166 次插入0 次删除
  1. 10
      SampleScenes/LightweightPipeline/DebuggingScenes/PBR_testing.meta
  2. 10
      SampleScenes/LightweightPipeline/DebuggingScenes/PBR_testing/LWpipeMats.meta
  3. 82
      SampleScenes/LightweightPipeline/DebuggingScenes/PBR_testing/LWpipeMats/LW_DefaultMat.mat
  4. 10
      SampleScenes/LightweightPipeline/DebuggingScenes/PBR_testing/LWpipeMats/LW_DefaultMat.mat.meta
  5. 93
      SampleScenes/LightweightPipeline/DebuggingScenes/PBR_testing/LWpipeMats/LW_PlanksMat.mat
  6. 4
      SampleScenes/LightweightPipeline/DebuggingScenes/PBR_testing/LWpipeMats/LW_PlanksMat.mat.meta
  7. 82
      SampleScenes/LightweightPipeline/DebuggingScenes/PBR_testing/LWpipeMats/LW_SatinMat.mat
  8. 10
      SampleScenes/LightweightPipeline/DebuggingScenes/PBR_testing/LWpipeMats/LW_SatinMat.mat.meta
  9. 82
      SampleScenes/LightweightPipeline/DebuggingScenes/PBR_testing/LWpipeMats/LW_ShinyMat.mat
  10. 10
      SampleScenes/LightweightPipeline/DebuggingScenes/PBR_testing/LWpipeMats/LW_ShinyMat.mat.meta
  11. 75
      SampleScenes/LightweightPipeline/DebuggingScenes/PBR_testing/LWpipeSwitcher.cs
  12. 13
      SampleScenes/LightweightPipeline/DebuggingScenes/PBR_testing/LWpipeSwitcher.cs.meta
  13. 10
      SampleScenes/LightweightPipeline/DebuggingScenes/PBR_testing/LegacyMats.meta
  14. 81
      SampleScenes/LightweightPipeline/DebuggingScenes/PBR_testing/LegacyMats/DefaultMat.mat
  15. 10
      SampleScenes/LightweightPipeline/DebuggingScenes/PBR_testing/LegacyMats/DefaultMat.mat.meta
  16. 93
      SampleScenes/LightweightPipeline/DebuggingScenes/PBR_testing/LegacyMats/PlanksMat.mat
  17. 4
      SampleScenes/LightweightPipeline/DebuggingScenes/PBR_testing/LegacyMats/PlanksMat.mat.meta
  18. 76
      SampleScenes/LightweightPipeline/DebuggingScenes/PBR_testing/LegacyMats/SatinMat.mat
  19. 10
      SampleScenes/LightweightPipeline/DebuggingScenes/PBR_testing/LegacyMats/SatinMat.mat.meta
  20. 81
      SampleScenes/LightweightPipeline/DebuggingScenes/PBR_testing/LegacyMats/ShinyMat.mat
  21. 10
      SampleScenes/LightweightPipeline/DebuggingScenes/PBR_testing/LegacyMats/ShinyMat.mat.meta
  22. 10
      SampleScenes/LightweightPipeline/DebuggingScenes/PBR_testing/PBR_testing.meta
  23. 1001
      SampleScenes/LightweightPipeline/DebuggingScenes/PBR_testing/PBR_testing.unity
  24. 9
      SampleScenes/LightweightPipeline/DebuggingScenes/PBR_testing/PBR_testing.unity.meta
  25. 7
      SampleScenes/LightweightPipeline/DebuggingScenes/PBR_testing/PBR_testing/LightingData.asset
  26. 10
      SampleScenes/LightweightPipeline/DebuggingScenes/PBR_testing/PBR_testing/LightingData.asset.meta
  27. 1001
      SampleScenes/LightweightPipeline/DebuggingScenes/PBR_testing/PBR_testing/ReflectionProbe-0.exr
  28. 78
      SampleScenes/LightweightPipeline/DebuggingScenes/PBR_testing/PBR_testing/ReflectionProbe-0.exr.meta
  29. 10
      SampleScenes/LightweightPipeline/DebuggingScenes/PBR_testing/Textures.meta
  30. 1001
      SampleScenes/LightweightPipeline/DebuggingScenes/PBR_testing/Textures/PlanksDiffuse.png
  31. 52
      SampleScenes/LightweightPipeline/DebuggingScenes/PBR_testing/Textures/PlanksDiffuse.png.meta
  32. 1001
      SampleScenes/LightweightPipeline/DebuggingScenes/PBR_testing/Textures/PlanksNormals.png
  33. 52
      SampleScenes/LightweightPipeline/DebuggingScenes/PBR_testing/Textures/PlanksNormals.png.meta
  34. 973
      SampleScenes/LightweightPipeline/DebuggingScenes/PBR_testing/Textures/PlanksOcclusion.png
  35. 52
      SampleScenes/LightweightPipeline/DebuggingScenes/PBR_testing/Textures/PlanksOcclusion.png.meta
  36. 1001
      SampleScenes/LightweightPipeline/DebuggingScenes/PBR_testing/Textures/PlanksSpecular.tif
  37. 52
      SampleScenes/LightweightPipeline/DebuggingScenes/PBR_testing/Textures/PlanksSpecular.tif.meta

10
SampleScenes/LightweightPipeline/DebuggingScenes/PBR_testing.meta


fileFormatVersion: 2
guid: 158e4b357cab54f189507f37cfa0c05e
folderAsset: yes
timeCreated: 1509552775
licenseType: Pro
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

10
SampleScenes/LightweightPipeline/DebuggingScenes/PBR_testing/LWpipeMats.meta


fileFormatVersion: 2
guid: d8c51fc7c13ba4a3790de4835300b34c
folderAsset: yes
timeCreated: 1509555699
licenseType: Pro
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

82
SampleScenes/LightweightPipeline/DebuggingScenes/PBR_testing/LWpipeMats/LW_DefaultMat.mat


%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: LW_DefaultMat
m_Shader: {fileID: 4800000, guid: 933532a4fcc9baf4fa0491de14d08ed7, type: 3}
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}
- _SpecGlossMap:
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
- _WorkflowMode: 1
- _ZWrite: 1
m_Colors:
- _Color: {r: 1, g: 1, b: 1, a: 1}
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
- _SpecColor: {r: 0.5019608, g: 0.5019608, b: 0.5019608, a: 1}

10
SampleScenes/LightweightPipeline/DebuggingScenes/PBR_testing/LWpipeMats/LW_DefaultMat.mat.meta


fileFormatVersion: 2
guid: 80b1427e520c243df977182ea4832135
timeCreated: 1509552846
licenseType: Pro
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 2100000
userData:
assetBundleName:
assetBundleVariant:

93
SampleScenes/LightweightPipeline/DebuggingScenes/PBR_testing/LWpipeMats/LW_PlanksMat.mat


%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: LW_PlanksMat
m_Shader: {fileID: 4800000, guid: 933532a4fcc9baf4fa0491de14d08ed7, type: 3}
m_ShaderKeywords: _METALLICSPECGLOSSMAP _NORMALMAP _OCCLUSIONMAP _SPECGLOSSMAP _SPECULAR_SETUP
m_LightmapFlags: 4
m_EnableInstancingVariants: 0
m_DoubleSidedGI: 0
m_CustomRenderQueue: -1
stringTagMap: {}
disabledShaderPasses: []
m_SavedProperties:
serializedVersion: 3
m_TexEnvs:
- _BumpMap:
m_Texture: {fileID: 2800000, guid: cc23ec71a705b42f5baee28077bd6e83, type: 3}
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: 2800000, guid: c3a3bc141bf2641758b2485814556d3c, type: 3}
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}
- _Occlusion:
m_Texture: {fileID: 2800000, guid: e915ce70ce400f54682d462de1b188db, type: 3}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _OcclusionMap:
m_Texture: {fileID: 2800000, guid: da00cea4e81784b1d8322948d957a981, type: 3}
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}
- _SpecGlossMap:
m_Texture: {fileID: 2800000, guid: 873fea7cc52bb4f6f80e43267e02a896, type: 3}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
m_Floats:
- _AlphaTestRef: 0.5
- _BumpScale: 0.85
- _Cutoff: 0.5
- _DetailNormalMapScale: 1
- _DstBlend: 0
- _EmissionScaleUI: 1
- _GlossMapScale: 1
- _Glossiness: 0.211
- _GlossyReflections: 1
- _Lightmapping: 1
- _Metallic: 0
- _Mode: 0
- _OcclusionStrength: 0.25
- _Parallax: 0.02
- _Shininess: 0.45953777
- _SmoothnessTextureChannel: 0
- _SpecularHighlights: 1
- _SrcBlend: 1
- _UVSec: 0
- _WorkflowMode: 0
- _ZWrite: 1
m_Colors:
- _Color: {r: 1, g: 1, b: 1, a: 1}
- _EmissionColor: {r: 0, g: 0, b: 0, a: 0.99999994}
- _EmissionColorUI: {r: 0, g: 0, b: 0, a: 1}
- _EmissionColorWithMapUI: {r: 1, g: 1, b: 1, a: 1}
- _SpecColor: {r: 1, g: 1, b: 1, a: 1}
- _SpecularColor: {r: 0.2509804, g: 0.2509804, b: 0.2509804, a: 1}

4
SampleScenes/LightweightPipeline/DebuggingScenes/PBR_testing/LWpipeMats/LW_PlanksMat.mat.meta


fileFormatVersion: 2
guid: ed2d48e7f7c9649cf97bc8ba92d358c5
NativeFormatImporter:
userData:

82
SampleScenes/LightweightPipeline/DebuggingScenes/PBR_testing/LWpipeMats/LW_SatinMat.mat


%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: LW_SatinMat
m_Shader: {fileID: 4800000, guid: 933532a4fcc9baf4fa0491de14d08ed7, type: 3}
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}
- _SpecGlossMap:
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: 1
- _Mode: 0
- _OcclusionStrength: 1
- _Parallax: 0.02
- _SmoothnessTextureChannel: 0
- _SpecularHighlights: 1
- _SrcBlend: 1
- _UVSec: 0
- _WorkflowMode: 1
- _ZWrite: 1
m_Colors:
- _Color: {r: 1, g: 1, b: 1, a: 1}
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
- _SpecColor: {r: 0.19999996, g: 0.19999996, b: 0.19999996, a: 1}

10
SampleScenes/LightweightPipeline/DebuggingScenes/PBR_testing/LWpipeMats/LW_SatinMat.mat.meta


fileFormatVersion: 2
guid: 12f799969d2ea463c9baf4143b5031bd
timeCreated: 1509554241
licenseType: Pro
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 2100000
userData:
assetBundleName:
assetBundleVariant:

82
SampleScenes/LightweightPipeline/DebuggingScenes/PBR_testing/LWpipeMats/LW_ShinyMat.mat


%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: LW_ShinyMat
m_Shader: {fileID: 4800000, guid: 933532a4fcc9baf4fa0491de14d08ed7, type: 3}
m_ShaderKeywords: _SPECULAR_SETUP
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}
- _SpecGlossMap:
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.8
- _GlossyReflections: 1
- _Metallic: 0.5
- _Mode: 0
- _OcclusionStrength: 1
- _Parallax: 0.02
- _SmoothnessTextureChannel: 0
- _SpecularHighlights: 1
- _SrcBlend: 1
- _UVSec: 0
- _WorkflowMode: 0
- _ZWrite: 1
m_Colors:
- _Color: {r: 0.21323532, g: 0.21323532, b: 0.21323532, a: 1}
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
- _SpecColor: {r: 0.7941176, g: 0.7941176, b: 0.7941176, a: 1}

10
SampleScenes/LightweightPipeline/DebuggingScenes/PBR_testing/LWpipeMats/LW_ShinyMat.mat.meta


fileFormatVersion: 2
guid: b9b95ffbb18b5452a8c7d3d7836edf11
timeCreated: 1509552846
licenseType: Pro
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 2100000
userData:
assetBundleName:
assetBundleVariant:

75
SampleScenes/LightweightPipeline/DebuggingScenes/PBR_testing/LWpipeSwitcher.cs


using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.Rendering;
using UnityEngine.Experimental.Rendering;
using UnityEngine.UI;
namespace Testing.LWtesting
{
public class LWpipeSwitcher : MonoBehaviour
{
public MaterialSwitch[] materialSwitchList;
public RenderPipelineAsset pipelineAsset;
public Text ui;
private bool state = false;
void Update()
{
if(Input.GetKeyDown(KeyCode.Space))
{
Switch();
}
}
[ContextMenu("SwitchPipeline")]
void Switch()
{
if (!state)
{
ui.text = "Lightweight";
SetPipeline(pipelineAsset);
foreach(MaterialSwitch matSwitch in materialSwitchList)
{
SwitchMaterials(matSwitch.LWMat, matSwitch.renderers);
}
state = !state;
}
else
{
ui.text = "Legacy";
SetPipeline(null);
foreach (MaterialSwitch matSwitch in materialSwitchList)
{
SwitchMaterials(matSwitch.legacyMat, matSwitch.renderers);
}
state = !state;
}
}
void SetPipeline(RenderPipelineAsset pipe)
{
GraphicsSettings.renderPipelineAsset = pipe;
}
void SwitchMaterials(Material mat, Renderer[] renderers){
foreach(Renderer rend in renderers)
{
rend.material = mat;
}
}
[System.Serializable]
public class MaterialSwitch
{
public Material LWMat;
public Material legacyMat;
public Renderer[] renderers;
}
}
}

13
SampleScenes/LightweightPipeline/DebuggingScenes/PBR_testing/LWpipeSwitcher.cs.meta


fileFormatVersion: 2
guid: 55c5a72c8cf5641929d6046e40b558e2
timeCreated: 1509554473
licenseType: Pro
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

10
SampleScenes/LightweightPipeline/DebuggingScenes/PBR_testing/LegacyMats.meta


fileFormatVersion: 2
guid: e34b207de7af54f40ae2895107ffcab3
folderAsset: yes
timeCreated: 1509555699
licenseType: Pro
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

81
SampleScenes/LightweightPipeline/DebuggingScenes/PBR_testing/LegacyMats/DefaultMat.mat


%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: DefaultMat
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}
- _SpecGlossMap:
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: 1, g: 1, b: 1, a: 1}
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
- _SpecColor: {r: 0.5019608, g: 0.5019608, b: 0.5019608, a: 1}

10
SampleScenes/LightweightPipeline/DebuggingScenes/PBR_testing/LegacyMats/DefaultMat.mat.meta


fileFormatVersion: 2
guid: 6a6d684e3428249469a25cca217c96ba
timeCreated: 1509552846
licenseType: Pro
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 2100000
userData:
assetBundleName:
assetBundleVariant:

93
SampleScenes/LightweightPipeline/DebuggingScenes/PBR_testing/LegacyMats/PlanksMat.mat


%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: PlanksMat
m_Shader: {fileID: 45, guid: 0000000000000000f000000000000000, type: 0}
m_ShaderKeywords: _METALLICSPECGLOSSMAP _NORMALMAP _OCCLUSIONMAP _SPECGLOSSMAP _SPECULAR_SETUP
m_LightmapFlags: 4
m_EnableInstancingVariants: 0
m_DoubleSidedGI: 0
m_CustomRenderQueue: -1
stringTagMap: {}
disabledShaderPasses: []
m_SavedProperties:
serializedVersion: 3
m_TexEnvs:
- _BumpMap:
m_Texture: {fileID: 2800000, guid: cc23ec71a705b42f5baee28077bd6e83, type: 3}
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: 2800000, guid: c3a3bc141bf2641758b2485814556d3c, type: 3}
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}
- _Occlusion:
m_Texture: {fileID: 2800000, guid: e915ce70ce400f54682d462de1b188db, type: 3}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _OcclusionMap:
m_Texture: {fileID: 2800000, guid: da00cea4e81784b1d8322948d957a981, type: 3}
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}
- _SpecGlossMap:
m_Texture: {fileID: 2800000, guid: 873fea7cc52bb4f6f80e43267e02a896, type: 3}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
m_Floats:
- _AlphaTestRef: 0.5
- _BumpScale: 0.85
- _Cutoff: 0.5
- _DetailNormalMapScale: 1
- _DstBlend: 0
- _EmissionScaleUI: 1
- _GlossMapScale: 1
- _Glossiness: 0.211
- _GlossyReflections: 1
- _Lightmapping: 1
- _Metallic: 0
- _Mode: 0
- _OcclusionStrength: 0.25
- _Parallax: 0.02
- _Shininess: 0.45953777
- _SmoothnessTextureChannel: 0
- _SpecularHighlights: 1
- _SrcBlend: 1
- _UVSec: 0
- _WorkflowMode: 0
- _ZWrite: 1
m_Colors:
- _Color: {r: 1, g: 1, b: 1, a: 1}
- _EmissionColor: {r: 0, g: 0, b: 0, a: 0.99999994}
- _EmissionColorUI: {r: 0, g: 0, b: 0, a: 1}
- _EmissionColorWithMapUI: {r: 1, g: 1, b: 1, a: 1}
- _SpecColor: {r: 1, g: 1, b: 1, a: 1}
- _SpecularColor: {r: 0.2509804, g: 0.2509804, b: 0.2509804, a: 1}

4
SampleScenes/LightweightPipeline/DebuggingScenes/PBR_testing/LegacyMats/PlanksMat.mat.meta


fileFormatVersion: 2
guid: da557107537ef4169879e0a95eb01371
NativeFormatImporter:
userData:

76
SampleScenes/LightweightPipeline/DebuggingScenes/PBR_testing/LegacyMats/SatinMat.mat


%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: SatinMat
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: 1
- _Mode: 0
- _OcclusionStrength: 1
- _Parallax: 0.02
- _SmoothnessTextureChannel: 0
- _SpecularHighlights: 1
- _SrcBlend: 1
- _UVSec: 0
- _ZWrite: 1
m_Colors:
- _Color: {r: 1, g: 1, b: 1, a: 1}
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}

10
SampleScenes/LightweightPipeline/DebuggingScenes/PBR_testing/LegacyMats/SatinMat.mat.meta


fileFormatVersion: 2
guid: 496f2e18fefc94f268b98476d3af1a95
timeCreated: 1509554241
licenseType: Pro
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 2100000
userData:
assetBundleName:
assetBundleVariant:

81
SampleScenes/LightweightPipeline/DebuggingScenes/PBR_testing/LegacyMats/ShinyMat.mat


%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: ShinyMat
m_Shader: {fileID: 45, 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}
- _SpecGlossMap:
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.8
- _GlossyReflections: 1
- _Metallic: 0.5
- _Mode: 0
- _OcclusionStrength: 1
- _Parallax: 0.02
- _SmoothnessTextureChannel: 0
- _SpecularHighlights: 1
- _SrcBlend: 1
- _UVSec: 0
- _ZWrite: 1
m_Colors:
- _Color: {r: 0.21323532, g: 0.21323532, b: 0.21323532, a: 1}
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
- _SpecColor: {r: 0.7941176, g: 0.7941176, b: 0.7941176, a: 1}

10
SampleScenes/LightweightPipeline/DebuggingScenes/PBR_testing/LegacyMats/ShinyMat.mat.meta


fileFormatVersion: 2
guid: 4a191ff51340f47af8095279aa925c7c
timeCreated: 1509552846
licenseType: Pro
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 2100000
userData:
assetBundleName:
assetBundleVariant:

10
SampleScenes/LightweightPipeline/DebuggingScenes/PBR_testing/PBR_testing.meta


fileFormatVersion: 2
guid: 1f10311e676fb43daba469d501a49a44
folderAsset: yes
timeCreated: 1509553686
licenseType: Pro
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

1001
SampleScenes/LightweightPipeline/DebuggingScenes/PBR_testing/PBR_testing.unity
文件差异内容过多而无法显示
查看文件

9
SampleScenes/LightweightPipeline/DebuggingScenes/PBR_testing/PBR_testing.unity.meta


fileFormatVersion: 2
guid: d1ec05a8ec3094d8ab851762686d8d02
timeCreated: 1509552791
licenseType: Pro
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

7
SampleScenes/LightweightPipeline/DebuggingScenes/PBR_testing/PBR_testing/LightingData.asset
文件差异内容过多而无法显示
查看文件

10
SampleScenes/LightweightPipeline/DebuggingScenes/PBR_testing/PBR_testing/LightingData.asset.meta


fileFormatVersion: 2
guid: 5e84ee36fc7824f5fb2b734835e0100a
timeCreated: 1509553687
licenseType: Pro
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 25800000
userData:
assetBundleName:
assetBundleVariant:

1001
SampleScenes/LightweightPipeline/DebuggingScenes/PBR_testing/PBR_testing/ReflectionProbe-0.exr
文件差异内容过多而无法显示
查看文件

78
SampleScenes/LightweightPipeline/DebuggingScenes/PBR_testing/PBR_testing/ReflectionProbe-0.exr.meta


fileFormatVersion: 2
guid: d574897273d8940b58679a880d04b5a8
timeCreated: 1509553686
licenseType: Pro
TextureImporter:
fileIDToRecycleName:
8900000: generatedCubemap
externalObjects: {}
serializedVersion: 4
mipmaps:
mipMapMode: 0
enableMipMap: 1
sRGBTexture: 1
linearTexture: 0
fadeOut: 0
borderMipMap: 0
mipMapsPreserveCoverage: 0
alphaTestReferenceValue: 0.5
mipMapFadeDistanceStart: 1
mipMapFadeDistanceEnd: 3
bumpmap:
convertToNormalMap: 0
externalNormalMap: 0
heightScale: 0.25
normalMapFilter: 0
isReadable: 0
grayScaleToAlpha: 0
generateCubemap: 6
cubemapConvolution: 1
seamlessCubemap: 1
textureFormat: 1
maxTextureSize: 2048
textureSettings:
serializedVersion: 2
filterMode: 2
aniso: 0
mipBias: 0
wrapU: 1
wrapV: 1
wrapW: 1
nPOTScale: 1
lightmap: 0
compressionQuality: 50
spriteMode: 0
spriteExtrude: 1
spriteMeshType: 1
alignment: 0
spritePivot: {x: 0.5, y: 0.5}
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
spritePixelsToUnits: 100
alphaUsage: 1
alphaIsTransparency: 0
spriteTessellationDetail: -1
textureType: 0
textureShape: 2
maxTextureSizeSet: 0
compressionQualitySet: 0
textureFormatSet: 0
platformSettings:
- buildTarget: DefaultTexturePlatform
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 100
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
spriteSheet:
serializedVersion: 2
sprites: []
outline: []
physicsShape: []
spritePackingTag:
userData:
assetBundleName:
assetBundleVariant:

10
SampleScenes/LightweightPipeline/DebuggingScenes/PBR_testing/Textures.meta


fileFormatVersion: 2
guid: bd0dafce751c0484493472eed594b994
folderAsset: yes
timeCreated: 1509557051
licenseType: Pro
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

1001
SampleScenes/LightweightPipeline/DebuggingScenes/PBR_testing/Textures/PlanksDiffuse.png
文件差异内容过多而无法显示
查看文件

52
SampleScenes/LightweightPipeline/DebuggingScenes/PBR_testing/Textures/PlanksDiffuse.png.meta


fileFormatVersion: 2
guid: c3a3bc141bf2641758b2485814556d3c
TextureImporter:
fileIDToRecycleName: {}
serializedVersion: 2
mipmaps:
mipMapMode: 0
enableMipMap: 1
linearTexture: 0
correctGamma: 0
fadeOut: 0
borderMipMap: 0
mipMapFadeDistanceStart: 1
mipMapFadeDistanceEnd: 3
bumpmap:
convertToNormalMap: 0
externalNormalMap: 0
heightScale: .25
normalMapFilter: 0
isReadable: 0
grayScaleToAlpha: 0
generateCubemap: 0
cubemapConvolution: 0
cubemapConvolutionSteps: 8
cubemapConvolutionExponent: 1.5
seamlessCubemap: 0
textureFormat: -1
maxTextureSize: 1024
textureSettings:
filterMode: -1
aniso: -1
mipBias: -1
wrapMode: -1
nPOTScale: 1
lightmap: 0
rGBM: 0
compressionQuality: 50
spriteMode: 0
spriteExtrude: 1
spriteMeshType: 1
alignment: 0
spritePivot: {x: .5, y: .5}
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
spritePixelsToUnits: 100
alphaIsTransparency: 0
textureType: -1
buildTargetSettings: []
spriteSheet:
sprites: []
spritePackingTag:
userData:
assetBundleName:

1001
SampleScenes/LightweightPipeline/DebuggingScenes/PBR_testing/Textures/PlanksNormals.png
文件差异内容过多而无法显示
查看文件

52
SampleScenes/LightweightPipeline/DebuggingScenes/PBR_testing/Textures/PlanksNormals.png.meta


fileFormatVersion: 2
guid: cc23ec71a705b42f5baee28077bd6e83
TextureImporter:
fileIDToRecycleName: {}
serializedVersion: 2
mipmaps:
mipMapMode: 0
enableMipMap: 1
linearTexture: 1
correctGamma: 0
fadeOut: 0
borderMipMap: 0
mipMapFadeDistanceStart: 1
mipMapFadeDistanceEnd: 3
bumpmap:
convertToNormalMap: 0
externalNormalMap: 1
heightScale: .25
normalMapFilter: 0
isReadable: 0
grayScaleToAlpha: 0
generateCubemap: 0
cubemapConvolution: 0
cubemapConvolutionSteps: 8
cubemapConvolutionExponent: 1.5
seamlessCubemap: 0
textureFormat: -1
maxTextureSize: 2048
textureSettings:
filterMode: -1
aniso: -1
mipBias: -1
wrapMode: -1
nPOTScale: 1
lightmap: 0
rGBM: 0
compressionQuality: 50
spriteMode: 0
spriteExtrude: 1
spriteMeshType: 1
alignment: 0
spritePivot: {x: .5, y: .5}
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
spritePixelsToUnits: 100
alphaIsTransparency: 0
textureType: 1
buildTargetSettings: []
spriteSheet:
sprites: []
spritePackingTag:
userData:
assetBundleName:

973
SampleScenes/LightweightPipeline/DebuggingScenes/PBR_testing/Textures/PlanksOcclusion.png

之前 之后
宽度: 512  |  高度: 512  |  大小: 200 KiB

52
SampleScenes/LightweightPipeline/DebuggingScenes/PBR_testing/Textures/PlanksOcclusion.png.meta


fileFormatVersion: 2
guid: da00cea4e81784b1d8322948d957a981
TextureImporter:
fileIDToRecycleName: {}
serializedVersion: 2
mipmaps:
mipMapMode: 0
enableMipMap: 1
linearTexture: 0
correctGamma: 0
fadeOut: 0
borderMipMap: 0
mipMapFadeDistanceStart: 1
mipMapFadeDistanceEnd: 3
bumpmap:
convertToNormalMap: 0
externalNormalMap: 0
heightScale: .25
normalMapFilter: 0
isReadable: 0
grayScaleToAlpha: 0
generateCubemap: 0
cubemapConvolution: 0
cubemapConvolutionSteps: 8
cubemapConvolutionExponent: 1.5
seamlessCubemap: 0
textureFormat: -1
maxTextureSize: 1024
textureSettings:
filterMode: -1
aniso: -1
mipBias: -1
wrapMode: -1
nPOTScale: 1
lightmap: 0
rGBM: 0
compressionQuality: 50
spriteMode: 0
spriteExtrude: 1
spriteMeshType: 1
alignment: 0
spritePivot: {x: .5, y: .5}
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
spritePixelsToUnits: 100
alphaIsTransparency: 0
textureType: -1
buildTargetSettings: []
spriteSheet:
sprites: []
spritePackingTag:
userData:
assetBundleName:

1001
SampleScenes/LightweightPipeline/DebuggingScenes/PBR_testing/Textures/PlanksSpecular.tif
文件差异内容过多而无法显示
查看文件

52
SampleScenes/LightweightPipeline/DebuggingScenes/PBR_testing/Textures/PlanksSpecular.tif.meta


fileFormatVersion: 2
guid: 873fea7cc52bb4f6f80e43267e02a896
TextureImporter:
fileIDToRecycleName: {}
serializedVersion: 2
mipmaps:
mipMapMode: 0
enableMipMap: 1
linearTexture: 0
correctGamma: 0
fadeOut: 0
borderMipMap: 0
mipMapFadeDistanceStart: 1
mipMapFadeDistanceEnd: 3
bumpmap:
convertToNormalMap: 0
externalNormalMap: 0
heightScale: .25
normalMapFilter: 0
isReadable: 0
grayScaleToAlpha: 0
generateCubemap: 0
cubemapConvolution: 0
cubemapConvolutionSteps: 8
cubemapConvolutionExponent: 1.5
seamlessCubemap: 0
textureFormat: -1
maxTextureSize: 2048
textureSettings:
filterMode: -1
aniso: -1
mipBias: -1
wrapMode: -1
nPOTScale: 1
lightmap: 0
rGBM: 0
compressionQuality: 50
spriteMode: 0
spriteExtrude: 1
spriteMeshType: 1
alignment: 0
spritePivot: {x: .5, y: .5}
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
spritePixelsToUnits: 100
alphaIsTransparency: 0
textureType: -1
buildTargetSettings: []
spriteSheet:
sprites: []
spritePackingTag:
userData:
assetBundleName:
正在加载...
取消
保存