浏览代码

rework the reflection test by using a debug cubemap to make sure its sampling in correct location

/main
Filip Iliescu 7 年前
当前提交
bdca8876
共有 16 个文件被更改,包括 868 次插入2598 次删除
  1. 2
      Assets/TestScenes/MobileDeferredTest/reflectionTest/opSphere.mat
  2. 8
      Assets/TestScenes/MobileDeferredTest/reflectionTest/opaqueCapsule.mat
  3. 16
      Assets/TestScenes/MobileDeferredTest/reflectionTest/reflectionProbes.unity
  4. 6
      Assets/TestScenes/MobileDeferredTest/reflectionTest/reflectionProbes/LightingData.asset
  5. 2
      Assets/TestScenes/MobileDeferredTest/reflectionTest/reflectionProbes/LightingData.asset.meta
  6. 1001
      Assets/TestScenes/MobileDeferredTest/reflectionTest/reflectionProbes/ReflectionProbe-0.exr
  7. 2
      Assets/TestScenes/MobileDeferredTest/reflectionTest/reflectionProbes/ReflectionProbe-0.exr.meta
  8. 1001
      Assets/TestScenes/MobileDeferredTest/reflectionTest/reflectionProbes/ReflectionProbe-1.exr
  9. 2
      Assets/TestScenes/MobileDeferredTest/reflectionTest/reflectionProbes/ReflectionProbe-1.exr.meta
  10. 4
      Assets/TestScenes/MobileDeferredTest/reflectionTest/trSphere.mat
  11. 83
      Assets/TestScenes/MobileDeferredTest/reflectionTest/DebugSkybox.mat
  12. 10
      Assets/TestScenes/MobileDeferredTest/reflectionTest/DebugSkybox.mat.meta
  13. 138
      Assets/TestScenes/MobileDeferredTest/reflectionTest/Exploded_cube_map.png
  14. 113
      Assets/TestScenes/MobileDeferredTest/reflectionTest/Exploded_cube_map.png.meta
  15. 1001
      Assets/TestScenes/MobileDeferredTest/reflectionTest/reflectionProbes/ReflectionProbe-2.exr
  16. 77
      Assets/TestScenes/MobileDeferredTest/reflectionTest/reflectionProbes/ReflectionProbe-2.exr.meta

2
Assets/TestScenes/MobileDeferredTest/reflectionTest/opSphere.mat


- _DetailNormalMapScale: 1
- _DstBlend: 0
- _GlossMapScale: 1
- _Glossiness: 0.8
- _Glossiness: 1
- _GlossyReflections: 1
- _Metallic: 1
- _Mode: 0

8
Assets/TestScenes/MobileDeferredTest/reflectionTest/opaqueCapsule.mat


m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_Name: opaqueCapsule
m_Shader: {fileID: 4800000, guid: 078f6d0e0964240c28f6acc911996f11, type: 3}
m_ShaderKeywords: _EMISSION
m_LightmapFlags: 1
m_Shader: {fileID: 4800000, guid: b262af00aeb504b0a8eba68d77150908, type: 3}
m_ShaderKeywords:
m_LightmapFlags: 4
m_EnableInstancingVariants: 0
m_DoubleSidedGI: 0
m_CustomRenderQueue: -1

- _UVSec: 0
- _ZWrite: 1
m_Colors:
- _Color: {r: 0.2343424, g: 0.061310556, b: 0.9264706, a: 1}
- _Color: {r: 0.061310556, g: 0.7116721, b: 0.9264706, a: 1}
- _EmissionColor: {r: 0.23448277, g: 0, b: 2, a: 1}
- _SpecColor: {r: 0, g: 0.8758622, b: 1, a: 1}

16
Assets/TestScenes/MobileDeferredTest/reflectionTest/reflectionProbes.unity


m_AmbientSkyColor: {r: 0.212, g: 0.227, b: 0.259, a: 1}
m_AmbientEquatorColor: {r: 0.114, g: 0.125, b: 0.133, a: 1}
m_AmbientGroundColor: {r: 0.047, g: 0.043, b: 0.035, a: 1}
m_AmbientIntensity: 0.6
m_AmbientIntensity: 0
m_SkyboxMaterial: {fileID: 2100000, guid: c7dc449c6cd0747f6b97d82bd85f08c6, type: 2}
m_SkyboxMaterial: {fileID: 2100000, guid: 669ad3a3434e04831a4fbaaed81a8027, type: 2}
m_HaloStrength: 0.5
m_FlareStrength: 1
m_FlareFadeSpeed: 3

m_ReflectionIntensity: 1
m_CustomReflection: {fileID: 0}
m_Sun: {fileID: 0}
m_IndirectSpecularColor: {r: 0.36947274, g: 0.28027457, b: 0.32616237, a: 1}
m_IndirectSpecularColor: {r: 0.52191925, g: 0.5144551, b: 0.51532257, a: 1}
--- !u!157 &3
LightmapSettings:
m_ObjectHideFlags: 0

- target: {fileID: 4568248021509620, guid: 6ee2edf5941014350ad26dc1e3bcadf3, type: 2}
propertyPath: m_RootOrder
value: 2
objectReference: {fileID: 0}
- target: {fileID: 215079340852434310, guid: 6ee2edf5941014350ad26dc1e3bcadf3,
type: 2}
propertyPath: m_UseOcclusionCulling
value: 1
objectReference: {fileID: 0}
- target: {fileID: 108167418259196894, guid: 6ee2edf5941014350ad26dc1e3bcadf3,
type: 2}
propertyPath: m_Enabled
value: 1
objectReference: {fileID: 0}
m_RemovedComponents: []
m_ParentPrefab: {fileID: 100100000, guid: 6ee2edf5941014350ad26dc1e3bcadf3, type: 2}

6
Assets/TestScenes/MobileDeferredTest/reflectionTest/reflectionProbes/LightingData.asset
文件差异内容过多而无法显示
查看文件

2
Assets/TestScenes/MobileDeferredTest/reflectionTest/reflectionProbes/LightingData.asset.meta


fileFormatVersion: 2
guid: 819bb7aeb3ba44bc0b641e2aceb21abd
timeCreated: 1498104003
timeCreated: 1500502011
licenseType: Pro
NativeFormatImporter:
externalObjects: {}

1001
Assets/TestScenes/MobileDeferredTest/reflectionTest/reflectionProbes/ReflectionProbe-0.exr
文件差异内容过多而无法显示
查看文件

2
Assets/TestScenes/MobileDeferredTest/reflectionTest/reflectionProbes/ReflectionProbe-0.exr.meta


fileFormatVersion: 2
guid: 76bac6b73b82f4dfcb3f2cf758c61026
timeCreated: 1498104001
timeCreated: 1500502010
licenseType: Pro
TextureImporter:
fileIDToRecycleName:

1001
Assets/TestScenes/MobileDeferredTest/reflectionTest/reflectionProbes/ReflectionProbe-1.exr
文件差异内容过多而无法显示
查看文件

2
Assets/TestScenes/MobileDeferredTest/reflectionTest/reflectionProbes/ReflectionProbe-1.exr.meta


fileFormatVersion: 2
guid: a94e42a0559394bd4a643d9dd1be1fcf
timeCreated: 1498104002
timeCreated: 1500502010
licenseType: Pro
TextureImporter:
fileIDToRecycleName:

4
Assets/TestScenes/MobileDeferredTest/reflectionTest/trSphere.mat


- _Cutoff: 0.5
- _DetailNormalMapScale: 1
- _DstBlend: 10
- _GlossMapScale: 0.8
- _GlossMapScale: 1
- _Metallic: 0.8
- _Metallic: 1
- _Mode: 3
- _OcclusionStrength: 1
- _Parallax: 0.02

83
Assets/TestScenes/MobileDeferredTest/reflectionTest/DebugSkybox.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: DebugSkybox
m_Shader: {fileID: 4800000, guid: d9ca174c419bb4eeaa2f4fb1b332eed6, 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}
- _Tex:
m_Texture: {fileID: 8900000, guid: 7b1907ade61cc411f908d970ee0d2c33, type: 3}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
m_Floats:
- _BumpScale: 1
- _Cutoff: 0.5
- _DetailNormalMapScale: 1
- _DstBlend: 0
- _Exposure: 1
- _GlossMapScale: 1
- _Glossiness: 0.5
- _GlossyReflections: 1
- _Metallic: 0
- _Mode: 0
- _OcclusionStrength: 1
- _Parallax: 0.02
- _Rotation: 150
- _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}
- _Tint: {r: 0.5, g: 0.5, b: 0.5, a: 0.5}

10
Assets/TestScenes/MobileDeferredTest/reflectionTest/DebugSkybox.mat.meta


fileFormatVersion: 2
guid: 669ad3a3434e04831a4fbaaed81a8027
timeCreated: 1500501207
licenseType: Pro
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 2100000
userData:
assetBundleName:
assetBundleVariant:

138
Assets/TestScenes/MobileDeferredTest/reflectionTest/Exploded_cube_map.png

之前 之后
宽度: 360  |  高度: 270  |  大小: 31 KiB

113
Assets/TestScenes/MobileDeferredTest/reflectionTest/Exploded_cube_map.png.meta


fileFormatVersion: 2
guid: 7b1907ade61cc411f908d970ee0d2c33
timeCreated: 1500500997
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: 0
seamlessCubemap: 0
textureFormat: 1
maxTextureSize: 2048
textureSettings:
serializedVersion: 2
filterMode: -1
aniso: -1
mipBias: -1
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: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
- buildTarget: Standalone
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
- buildTarget: iPhone
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
- buildTarget: tvOS
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
- buildTarget: WebGL
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
spriteSheet:
serializedVersion: 2
sprites: []
outline: []
physicsShape: []
spritePackingTag:
userData:
assetBundleName:
assetBundleVariant:

1001
Assets/TestScenes/MobileDeferredTest/reflectionTest/reflectionProbes/ReflectionProbe-2.exr
文件差异内容过多而无法显示
查看文件

77
Assets/TestScenes/MobileDeferredTest/reflectionTest/reflectionProbes/ReflectionProbe-2.exr.meta


fileFormatVersion: 2
guid: 4f1b62cc219884c4db52c230e6df06bd
timeCreated: 1499899216
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
spriteSheet:
serializedVersion: 2
sprites: []
outline: []
physicsShape: []
spritePackingTag:
userData:
assetBundleName:
assetBundleVariant:
正在加载...
取消
保存