浏览代码

Tweaks to existing tests

Setup both particle tests(29 & 37) to work in the edit mode test
/Add-support-for-light-specular-color-tint
Andre McGrail 7 年前
当前提交
c06a72c0
共有 20 个文件被更改,包括 4044 次插入1706 次删除
  1. 999
      ImageTemplates/LightweightPipeline/Scenes/036_Lighting_Scene_DirectionalBakedDirectional.unity.png
  2. 2
      ImageTemplates/LightweightPipeline/Scenes/036_Lighting_Scene_DirectionalBakedDirectional.unity.png.meta
  3. 20
      Tests/GraphicsTests/RenderPipeline/LightweightPipeline/Scenes/029_Particles.unity
  4. 4
      Tests/GraphicsTests/RenderPipeline/LightweightPipeline/Scenes/036_Lighting_Scene_DirectionalBakedDirectional.unity
  5. 6
      Tests/GraphicsTests/RenderPipeline/LightweightPipeline/Scenes/036_Lighting_Scene_DirectionalBakedDirectional/LightingData.asset
  6. 2
      Tests/GraphicsTests/RenderPipeline/LightweightPipeline/Scenes/036_Lighting_Scene_DirectionalBakedDirectional/LightingData.asset.meta
  7. 999
      Tests/GraphicsTests/RenderPipeline/LightweightPipeline/Scenes/036_Lighting_Scene_DirectionalBakedDirectional/Lightmap-0_comp_dir.png
  8. 2
      Tests/GraphicsTests/RenderPipeline/LightweightPipeline/Scenes/036_Lighting_Scene_DirectionalBakedDirectional/Lightmap-0_comp_dir.png.meta
  9. 1001
      Tests/GraphicsTests/RenderPipeline/LightweightPipeline/Scenes/036_Lighting_Scene_DirectionalBakedDirectional/Lightmap-0_comp_light.exr
  10. 2
      Tests/GraphicsTests/RenderPipeline/LightweightPipeline/Scenes/036_Lighting_Scene_DirectionalBakedDirectional/Lightmap-0_comp_light.exr.meta
  11. 509
      Tests/GraphicsTests/RenderPipeline/LightweightPipeline/Scenes/037_Shader_StandardParticleShaders.unity
  12. 2
      Tests/GraphicsTests/RenderPipeline/LightweightPipeline/Scenes/037_Shader_StandardParticleShaders/Standard Particle Shader/Materials/2. Unlit Rendering Modes/2. ParticlesStandardUnlit - Camera Fading - Fade.mat
  13. 2
      Tests/GraphicsTests/RenderPipeline/LightweightPipeline/Scenes/037_Shader_StandardParticleShaders/Standard Particle Shader/Materials/2. Unlit Rendering Modes/2. ParticlesStandardUnlit - Camera Fading - Transparent.mat
  14. 2
      Tests/GraphicsTests/RenderPipeline/LightweightPipeline/Scenes/037_Shader_StandardParticleShaders/Standard Particle Shader/Materials/Plane.mat
  15. 1001
      ImageTemplates/LightweightPipeline/Scenes/029_Particles.unity.png
  16. 77
      ImageTemplates/LightweightPipeline/Scenes/029_Particles.unity.png.meta
  17. 1001
      ImageTemplates/LightweightPipeline/Scenes/037_Shader_StandardParticleShaders.unity.png
  18. 77
      ImageTemplates/LightweightPipeline/Scenes/037_Shader_StandardParticleShaders.unity.png.meta
  19. 29
      Tests/GraphicsTests/RenderPipeline/LightweightPipeline/Scenes/029_Particles/PlaySystems.cs
  20. 13
      Tests/GraphicsTests/RenderPipeline/LightweightPipeline/Scenes/029_Particles/PlaySystems.cs.meta

999
ImageTemplates/LightweightPipeline/Scenes/036_Lighting_Scene_DirectionalBakedDirectional.unity.png
文件差异内容过多而无法显示
查看文件

2
ImageTemplates/LightweightPipeline/Scenes/036_Lighting_Scene_DirectionalBakedDirectional.unity.png.meta


fileFormatVersion: 2
guid: f1b41e73e6cf549d4a74497132c3aa3a
timeCreated: 1509380159
timeCreated: 1509466261
licenseType: Pro
TextureImporter:
fileIDToRecycleName: {}

20
Tests/GraphicsTests/RenderPipeline/LightweightPipeline/Scenes/029_Particles.unity


- component: {fileID: 1639866359}
- component: {fileID: 1639866358}
- component: {fileID: 1639866360}
- component: {fileID: 1639866363}
m_Layer: 0
m_Name: Main Camera
m_TagString: MainCamera

m_Father: {fileID: 0}
m_RootOrder: 0
m_LocalEulerAnglesHint: {x: 5, y: 180, z: 0}
--- !u!114 &1639866363
MonoBehaviour:
m_ObjectHideFlags: 0
m_PrefabParentObject: {fileID: 0}
m_PrefabInternal: {fileID: 0}
m_GameObject: {fileID: 1639866357}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 9a3d30856bd3d48188fd2d78312714d0, type: 3}
m_Name:
m_EditorClassIdentifier:
particleSystems:
- {fileID: 1195103817}
- {fileID: 187483399}
- {fileID: 311618322}
- {fileID: 1295003158}
- {fileID: 1234559388}
- {fileID: 464999443}
simPoint: 0.8

4
Tests/GraphicsTests/RenderPipeline/LightweightPipeline/Scenes/036_Lighting_Scene_DirectionalBakedDirectional.unity


m_EnableRealtimeLightmaps: 0
m_LightmapEditorSettings:
serializedVersion: 9
m_Resolution: 5
m_Resolution: 1
m_BakeResolution: 30
m_TextureWidth: 1024
m_TextureHeight: 1024

m_PVRFilteringMode: 2
m_PVRCulling: 0
m_PVRFilteringGaussRadiusDirect: 0
m_PVRFilteringGaussRadiusIndirect: 2
m_PVRFilteringGaussRadiusIndirect: 1
m_PVRFilteringGaussRadiusAO: 1
m_PVRFilteringAtrousPositionSigmaDirect: 0.5
m_PVRFilteringAtrousPositionSigmaIndirect: 2

6
Tests/GraphicsTests/RenderPipeline/LightweightPipeline/Scenes/036_Lighting_Scene_DirectionalBakedDirectional/LightingData.asset
文件差异内容过多而无法显示
查看文件

2
Tests/GraphicsTests/RenderPipeline/LightweightPipeline/Scenes/036_Lighting_Scene_DirectionalBakedDirectional/LightingData.asset.meta


fileFormatVersion: 2
guid: 5b6b4b569508e4b35a9a528a0a989816
timeCreated: 1509379638
timeCreated: 1509466174
licenseType: Pro
NativeFormatImporter:
externalObjects: {}

999
Tests/GraphicsTests/RenderPipeline/LightweightPipeline/Scenes/036_Lighting_Scene_DirectionalBakedDirectional/Lightmap-0_comp_dir.png
文件差异内容过多而无法显示
查看文件

2
Tests/GraphicsTests/RenderPipeline/LightweightPipeline/Scenes/036_Lighting_Scene_DirectionalBakedDirectional/Lightmap-0_comp_dir.png.meta


fileFormatVersion: 2
guid: c0d343daf2dcc4ef08dc1ff563db8527
timeCreated: 1509379637
timeCreated: 1509466173
licenseType: Pro
TextureImporter:
fileIDToRecycleName: {}

1001
Tests/GraphicsTests/RenderPipeline/LightweightPipeline/Scenes/036_Lighting_Scene_DirectionalBakedDirectional/Lightmap-0_comp_light.exr
文件差异内容过多而无法显示
查看文件

2
Tests/GraphicsTests/RenderPipeline/LightweightPipeline/Scenes/036_Lighting_Scene_DirectionalBakedDirectional/Lightmap-0_comp_light.exr.meta


fileFormatVersion: 2
guid: 9189f70eb49a9486fb217e7c091f590c
timeCreated: 1509379637
timeCreated: 1509466173
licenseType: Pro
TextureImporter:
fileIDToRecycleName: {}

509
Tests/GraphicsTests/RenderPipeline/LightweightPipeline/Scenes/037_Shader_StandardParticleShaders.unity
文件差异内容过多而无法显示
查看文件

2
Tests/GraphicsTests/RenderPipeline/LightweightPipeline/Scenes/037_Shader_StandardParticleShaders/Standard Particle Shader/Materials/2. Unlit Rendering Modes/2. ParticlesStandardUnlit - Camera Fading - Fade.mat


m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _MainTex:
m_Texture: {fileID: 10300, guid: 0000000000000000f000000000000000, type: 0}
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _MetallicGlossMap:

2
Tests/GraphicsTests/RenderPipeline/LightweightPipeline/Scenes/037_Shader_StandardParticleShaders/Standard Particle Shader/Materials/2. Unlit Rendering Modes/2. ParticlesStandardUnlit - Camera Fading - Transparent.mat


m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _MainTex:
m_Texture: {fileID: 10300, guid: 0000000000000000f000000000000000, type: 0}
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _MetallicGlossMap:

2
Tests/GraphicsTests/RenderPipeline/LightweightPipeline/Scenes/037_Shader_StandardParticleShaders/Standard Particle Shader/Materials/Plane.mat


- _WorkflowMode: 1
- _ZWrite: 1
m_Colors:
- _Color: {r: 0.588, g: 0.588, b: 0.588, a: 1}
- _Color: {r: 0.5019608, g: 0.5019608, b: 0.5019608, a: 1}
- _EmissionColor: {r: 0, g: 0, b: 0, a: 0}
- _SpecColor: {r: 1, g: 1, b: 1, a: 1}

1001
ImageTemplates/LightweightPipeline/Scenes/029_Particles.unity.png
文件差异内容过多而无法显示
查看文件

77
ImageTemplates/LightweightPipeline/Scenes/029_Particles.unity.png.meta


fileFormatVersion: 2
guid: 813c9c6f5718c4e1abb1e00021916fc6
timeCreated: 1509462613
licenseType: Pro
TextureImporter:
fileIDToRecycleName: {}
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: 1
maxTextureSizeSet: 0
compressionQualitySet: 0
textureFormatSet: 0
platformSettings:
- buildTarget: DefaultTexturePlatform
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 0
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
spriteSheet:
serializedVersion: 2
sprites: []
outline: []
physicsShape: []
spritePackingTag:
userData:
assetBundleName:
assetBundleVariant:

1001
ImageTemplates/LightweightPipeline/Scenes/037_Shader_StandardParticleShaders.unity.png
文件差异内容过多而无法显示
查看文件

77
ImageTemplates/LightweightPipeline/Scenes/037_Shader_StandardParticleShaders.unity.png.meta


fileFormatVersion: 2
guid: abd85e7a3517d4760a2c9aaabd9b6bb3
timeCreated: 1509465840
licenseType: Pro
TextureImporter:
fileIDToRecycleName: {}
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: 1
maxTextureSizeSet: 0
compressionQualitySet: 0
textureFormatSet: 0
platformSettings:
- buildTarget: DefaultTexturePlatform
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 0
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
spriteSheet:
serializedVersion: 2
sprites: []
outline: []
physicsShape: []
spritePackingTag:
userData:
assetBundleName:
assetBundleVariant:

29
Tests/GraphicsTests/RenderPipeline/LightweightPipeline/Scenes/029_Particles/PlaySystems.cs


using System.Collections;
using System.Collections.Generic;
using UnityEngine;
[ExecuteInEditMode]
public class PlaySystems : MonoBehaviour {
public ParticleSystem[] particleSystems;
[Range(0, 1)]
public float simPoint = 0.5f;
void OnEnable () {
foreach(ParticleSystem ps in particleSystems){
if (ps != null)
{
float life = ps.duration * simPoint;
ps.Simulate(life, true, true, false);
}
}
}
void OnDisable()
{
foreach (ParticleSystem ps in particleSystems)
{
if(ps != null)
ps.Stop();
}
}
}

13
Tests/GraphicsTests/RenderPipeline/LightweightPipeline/Scenes/029_Particles/PlaySystems.cs.meta


fileFormatVersion: 2
guid: 9a3d30856bd3d48188fd2d78312714d0
timeCreated: 1509461051
licenseType: Pro
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
正在加载...
取消
保存