浏览代码

minor change to lightprobe scene to find shader bug (different shader is used with slow & fast path)

/batch_rendering
Arnaud Carre 8 年前
当前提交
957ab9d6
共有 7 个文件被更改,包括 357 次插入2 次删除
  1. 5
      Assets/BasicRenderBatching/Scripts/MiniProfiler.cs
  2. 10
      Assets/TestScenes/HDTest/Material/BatchingTest/Materials/Iron53.mat
  3. 9
      Assets/BasicRenderBatching/LightingBatchingProbe.meta
  4. 326
      Assets/BasicRenderBatching/LightingBatchingProbe/LightingData.asset
  5. 9
      Assets/BasicRenderBatching/LightingBatchingProbe/LightingData.asset.meta

5
Assets/BasicRenderBatching/Scripts/MiniProfiler.cs


// new RecorderEntry() { name="BatchRenderer.Flush" },
new RecorderEntry() { name="Shadows.Draw" },
new RecorderEntry() { name="BatchRenderer.RenderBatch" },
new RecorderEntry() { name="Map_PerDraw_Buffer" },
new RecorderEntry() { name="Unmap_PerDraw_Buffer" },
new RecorderEntry() { name="DrawBuffersBatchMode" },
new RecorderEntry() { name="DrawBatchIndexed" },
new RecorderEntry() { name="BatchRenderer.ApplyShaderPass" },
new RecorderEntry() { name="PerformFlushProperties" },

10
Assets/TestScenes/HDTest/Material/BatchingTest/Materials/Iron53.mat


m_Shader: {fileID: 4800000, guid: 6e4ae4064600d784cac1e41a9e6f2e59, type: 3}
m_ShaderKeywords: _ALPHACUTOFFENABLE_OFF _DEPTHOFFSETENABLE_OFF _DETAIL_MAP_WITH_NORMAL
_DISTORTIONDEPTHTEST_OFF _DISTORTIONENABLE_OFF _DISTORTIONONLY_OFF _EMISSION _METALLICGLOSSMAP
_NORMALMAP _NORMALMAP_TANGENT_SPACE
_NORMALMAP _NORMALMAP_TANGENT_SPACE _SMOOTHNESS_TEXTURE_ALBEDO_CHANNEL_A
m_EnableInstancingVariants: 0
m_CustomRenderQueue: -1
stringTagMap: {}
disabledShaderPasses:

- _DstBlend: 0
- _EmissiveColorMode: 1
- _EmissiveIntensity: 0
- _EnablePerPixelDisplacement: 0
- _HeightAmplitude: 0.01
- _HeightCenter: 0.5
- _HeightMapMode: 0
- _HeightScale: 0.01
- _MaterialId: 0

- _NormalScale: 0.302
- _OcclusionStrength: 1
- _PPDMaxSamples: 15
- _PPDMinSamples: 5
- _SmoothnessTextureChannel: 0
- _SmoothnessTextureChannel: 1
- _SpecularHighlights: 1
- _SrcBlend: 1
- _SubSurfaceRadius: 0

9
Assets/BasicRenderBatching/LightingBatchingProbe.meta


fileFormatVersion: 2
guid: a5c2c272d61530b4993efc1adf4ed4ce
folderAsset: yes
timeCreated: 1486051479
licenseType: Pro
DefaultImporter:
userData:
assetBundleName:
assetBundleVariant:

326
Assets/BasicRenderBatching/LightingBatchingProbe/LightingData.asset
文件差异内容过多而无法显示
查看文件

9
Assets/BasicRenderBatching/LightingBatchingProbe/LightingData.asset.meta


fileFormatVersion: 2
guid: f8e3a6d780cde3446abac52640517648
timeCreated: 1486051479
licenseType: Pro
NativeFormatImporter:
mainObjectFileID: 25800000
userData:
assetBundleName:
assetBundleVariant:

部分文件因为文件数量过多而无法显示

正在加载...
取消
保存