浏览代码

added script for multi material objects, added sample grain texture for editor testing

/main
Dan 4 年前
当前提交
f2790ab7
共有 17 个文件被更改,包括 424 次插入14 次删除
  1. 29
      Assets/AR Sample Objects/CoffeeMaker/Materials/CoffeeMaker_Base.mat
  2. 33
      Assets/AR Sample Objects/CoffeeMaker/Materials/CoffeeMaker_Kettle.mat
  3. 29
      Assets/AR Sample Objects/CoffeeMaker/Materials/CoffeeMaker_LED.mat
  4. 34
      Assets/AR Sample Objects/CoffeeMaker/Materials/CoffeeMaker_LEDGlass.mat
  5. 29
      Assets/AR Sample Objects/CoffeeMaker/Materials/CoffeeMaker_PowerButton.mat
  6. 29
      Assets/AR Sample Objects/CoffeeMaker/Materials/CoffeeMaker_PowerLight.mat
  7. 26
      Assets/AR Sample Objects/CoffeeMaker/Prefab/CoffeeMaker.prefab
  8. 12
      Assets/Common/Scripts/ProbePlacement.cs
  9. 2
      Assets/Shaders/Materials/CameraGrainMat.mat
  10. 2
      Assets/UX/Scenes/UXManagerScene.unity
  11. 52
      Assets/Shaders/Scripts/CameraGrainMultiMaterial.cs
  12. 11
      Assets/Shaders/Scripts/CameraGrainMultiMaterial.cs.meta
  13. 8
      Assets/Shaders/Textures.meta
  14. 10
      Assets/Shaders/Textures/GrainTexture.png
  15. 132
      Assets/Shaders/Textures/GrainTexture.png.meta

29
Assets/AR Sample Objects/CoffeeMaker/Materials/CoffeeMaker_Base.mat


m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: CoffeeMaker_Base
m_Shader: {fileID: 46, guid: 0000000000000000f000000000000000, type: 0}
m_Shader: {fileID: -6465566751694194690, guid: 567e270b6044488448e8530b2f8122a2,
type: 3}
m_ShaderKeywords: _METALLICGLOSSMAP _NORMALMAP
m_LightmapFlags: 4
m_EnableInstancingVariants: 0

m_SavedProperties:
serializedVersion: 3
m_TexEnvs:
- Texture2D_1E2AAD24:
m_Texture: {fileID: 2800000, guid: 62d52594417a797468a85335fd3b1abd, type: 3}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- Texture2D_6B9B2A63:
m_Texture: {fileID: 2800000, guid: 0df1d94f4343a7946b249ff91d815957, type: 3}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- Texture2D_887E2E1:
m_Texture: {fileID: 2800000, guid: 9a6bfeaa559009b4293d784ada43398e, type: 3}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- Texture2D_EF887DA1:
m_Texture: {fileID: 2800000, guid: b9d7be9761f7dcd44b1ee0482b2d11cf, type: 3}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _BumpMap:
m_Texture: {fileID: 2800000, guid: 9a6bfeaa559009b4293d784ada43398e, type: 3}
m_Scale: {x: 1, y: 1}

m_Texture: {fileID: 2800000, guid: 0df1d94f4343a7946b249ff91d815957, type: 3}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _NoiseTex:
m_Texture: {fileID: 11700000, guid: 623074edba20a4c239bad1bd7ce0293f, type: 3}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _OcclusionMap:
m_Texture: {fileID: 2800000, guid: 62d52594417a797468a85335fd3b1abd, type: 3}
m_Scale: {x: 1, y: 1}

m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
m_Floats:
- Vector1_6334ABB5: 10
- Vector1_6B7D910E: 0.5
- _BumpScale: 1
- _Cutoff: 0.5
- _DetailNormalMapScale: 1

- _GlossyReflections: 1
- _GrainInfluence: 0.23
- _NoiseIntensity: 0
- _OcclusionStrength: 1
- _Parallax: 0.02
- _SmoothnessTextureChannel: 0

- _ZWrite: 1
m_Colors:
- Vector4_6A0747B3: {r: 30, g: 20, b: 0, a: 0}
m_BuildTextureStacks: []

33
Assets/AR Sample Objects/CoffeeMaker/Materials/CoffeeMaker_Kettle.mat


m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: CoffeeMaker_Kettle
m_Shader: {fileID: 4800000, guid: 933532a4fcc9baf4fa0491de14d08ed7, type: 3}
m_Shader: {fileID: -6465566751694194690, guid: 567e270b6044488448e8530b2f8122a2,
type: 3}
m_CustomRenderQueue: 2050
stringTagMap:
RenderType: Opaque
m_CustomRenderQueue: -1
stringTagMap: {}
- Texture2D_1E2AAD24:
m_Texture: {fileID: 2800000, guid: 1aec27dcc59575740acb9615e8529813, type: 3}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- Texture2D_6B9B2A63:
m_Texture: {fileID: 2800000, guid: 952d98016504415499cdcd645288dab0, type: 3}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- Texture2D_887E2E1:
m_Texture: {fileID: 2800000, guid: 429131d555db2d24eba5fdd3575dd4fb, type: 3}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- Texture2D_EF887DA1:
m_Texture: {fileID: 2800000, guid: c6b67ee8084e8814d93929d423376211, type: 3}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _BaseMap:
m_Texture: {fileID: 2800000, guid: c6b67ee8084e8814d93929d423376211, type: 3}
m_Scale: {x: 1, y: 1}

m_Texture: {fileID: 2800000, guid: 952d98016504415499cdcd645288dab0, type: 3}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _NoiseTex:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _OcclusionMap:
m_Texture: {fileID: 2800000, guid: 1aec27dcc59575740acb9615e8529813, type: 3}
m_Scale: {x: 1, y: 1}

m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
m_Floats:
- Vector1_6334ABB5: 10
- Vector1_6B7D910E: 0.4
- _AlphaClip: 0
- _Blend: 0
- _BumpScale: 1

- _GlossMapScale: 1
- _Glossiness: 0
- _GlossyReflections: 1
- _GrainInfluence: 0.23
- _NoiseIntensity: 0
- _OcclusionStrength: 1
- _Parallax: 0.02
- _QueueOffset: 0

- _WorkflowMode: 1
- _ZWrite: 1
m_Colors:
- Vector4_6A0747B3: {r: 30, g: 20, b: 0, a: 0}
- _BaseColor: {r: 1, g: 1, b: 1, a: 1}
- _Color: {r: 1, g: 1, b: 1, a: 1}
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}

29
Assets/AR Sample Objects/CoffeeMaker/Materials/CoffeeMaker_LED.mat


m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: CoffeeMaker_LED
m_Shader: {fileID: 46, guid: 0000000000000000f000000000000000, type: 0}
m_Shader: {fileID: -6465566751694194690, guid: 567e270b6044488448e8530b2f8122a2,
type: 3}
m_ShaderKeywords: _EMISSION _METALLICGLOSSMAP _NORMALMAP
m_LightmapFlags: 2
m_EnableInstancingVariants: 0

m_SavedProperties:
serializedVersion: 3
m_TexEnvs:
- Texture2D_1E2AAD24:
m_Texture: {fileID: 2800000, guid: c55aa587e66618647b4bcbc0a5a44558, type: 3}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- Texture2D_6B9B2A63:
m_Texture: {fileID: 2800000, guid: b23c69242368c0a4c9a3f9ce62ee7647, type: 3}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- Texture2D_887E2E1:
m_Texture: {fileID: 2800000, guid: ab49747207269e644b0f66ad4dc72eec, type: 3}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- Texture2D_EF887DA1:
m_Texture: {fileID: 2800000, guid: 04cb0b53595da624a91718feaebd60a0, type: 3}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _BumpMap:
m_Texture: {fileID: 2800000, guid: ab49747207269e644b0f66ad4dc72eec, type: 3}
m_Scale: {x: 1, y: 1}

m_Texture: {fileID: 2800000, guid: b23c69242368c0a4c9a3f9ce62ee7647, type: 3}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _NoiseTex:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _OcclusionMap:
m_Texture: {fileID: 2800000, guid: c55aa587e66618647b4bcbc0a5a44558, type: 3}
m_Scale: {x: 1, y: 1}

m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
m_Floats:
- Vector1_6334ABB5: 10
- Vector1_6B7D910E: 0.7
- _BumpScale: 1
- _Cutoff: 0.5
- _DetailNormalMapScale: 1

- _GlossyReflections: 1
- _GrainInfluence: 0.23
- _NoiseIntensity: 0
- _OcclusionStrength: 1
- _Parallax: 0.02
- _SmoothnessTextureChannel: 0

- _ZWrite: 1
m_Colors:
- Vector4_6A0747B3: {r: 30, g: 20, b: 0, a: 0}
m_BuildTextureStacks: []

34
Assets/AR Sample Objects/CoffeeMaker/Materials/CoffeeMaker_LEDGlass.mat


m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: CoffeeMaker_LEDGlass
m_Shader: {fileID: 46, guid: 0000000000000000f000000000000000, type: 0}
m_Shader: {fileID: -6465566751694194690, guid: 567e270b6044488448e8530b2f8122a2,
type: 3}
m_CustomRenderQueue: 3000
stringTagMap:
RenderType: Transparent
m_CustomRenderQueue: -1
stringTagMap: {}
- Texture2D_1E2AAD24:
m_Texture: {fileID: 2800000, guid: 39cb381730637d64dbd5b78901ecaf10, type: 3}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- Texture2D_6B9B2A63:
m_Texture: {fileID: 2800000, guid: f99e3fa79b6bab549bd06a05dc7b8766, type: 3}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- Texture2D_887E2E1:
m_Texture: {fileID: 2800000, guid: 8ac3c68831ebc6e4eb1e3a24f469f0d0, type: 3}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- Texture2D_EF887DA1:
m_Texture: {fileID: 2800000, guid: bc202c2e7db18c3459267f777daca06c, type: 3}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _BumpMap:
m_Texture: {fileID: 2800000, guid: 8ac3c68831ebc6e4eb1e3a24f469f0d0, type: 3}
m_Scale: {x: 1, y: 1}

m_Texture: {fileID: 2800000, guid: f99e3fa79b6bab549bd06a05dc7b8766, type: 3}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _NoiseTex:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _OcclusionMap:
m_Texture: {fileID: 2800000, guid: 39cb381730637d64dbd5b78901ecaf10, type: 3}
m_Scale: {x: 1, y: 1}

m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
m_Floats:
- Vector1_6334ABB5: 10
- Vector1_6B7D910E: 1
- _BumpScale: 1
- _Cutoff: 0.5
- _DetailNormalMapScale: 1

- _GlossyReflections: 1
- _GrainInfluence: 0.23
- _NoiseIntensity: 0
- _OcclusionStrength: 1
- _Parallax: 0.02
- _SmoothnessTextureChannel: 0

- _ZWrite: 0
m_Colors:
- Vector4_6A0747B3: {r: 30, g: 20, b: 0, a: 0}
m_BuildTextureStacks: []

29
Assets/AR Sample Objects/CoffeeMaker/Materials/CoffeeMaker_PowerButton.mat


m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: CoffeeMaker_PowerButton
m_Shader: {fileID: 46, guid: 0000000000000000f000000000000000, type: 0}
m_Shader: {fileID: -6465566751694194690, guid: 567e270b6044488448e8530b2f8122a2,
type: 3}
m_ShaderKeywords: _EMISSION _METALLICGLOSSMAP _NORMALMAP
m_LightmapFlags: 2
m_EnableInstancingVariants: 0

m_SavedProperties:
serializedVersion: 3
m_TexEnvs:
- Texture2D_1E2AAD24:
m_Texture: {fileID: 2800000, guid: eb1f876bd5257cf4aa7436cd6a3c54aa, type: 3}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- Texture2D_6B9B2A63:
m_Texture: {fileID: 2800000, guid: 7045b4859ac905649bf633e238645730, type: 3}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- Texture2D_887E2E1:
m_Texture: {fileID: 2800000, guid: 3d90e0ee95aa1aa42be3870f3ee66c03, type: 3}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- Texture2D_EF887DA1:
m_Texture: {fileID: 2800000, guid: eb1f876bd5257cf4aa7436cd6a3c54aa, type: 3}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _BumpMap:
m_Texture: {fileID: 2800000, guid: 3d90e0ee95aa1aa42be3870f3ee66c03, type: 3}
m_Scale: {x: 1, y: 1}

m_Texture: {fileID: 2800000, guid: 7045b4859ac905649bf633e238645730, type: 3}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _NoiseTex:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _OcclusionMap:
m_Texture: {fileID: 2800000, guid: eb1f876bd5257cf4aa7436cd6a3c54aa, type: 3}
m_Scale: {x: 1, y: 1}

m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
m_Floats:
- Vector1_6334ABB5: 10
- Vector1_6B7D910E: 0.8
- _BumpScale: 1
- _Cutoff: 0.5
- _DetailNormalMapScale: 1

- _GlossyReflections: 1
- _GrainInfluence: 0.23
- _NoiseIntensity: 0
- _OcclusionStrength: 1
- _Parallax: 0.02
- _SmoothnessTextureChannel: 0

- _ZWrite: 1
m_Colors:
- Vector4_6A0747B3: {r: 30, g: 20, b: 0, a: 0}
m_BuildTextureStacks: []

29
Assets/AR Sample Objects/CoffeeMaker/Materials/CoffeeMaker_PowerLight.mat


m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: CoffeeMaker_PowerLight
m_Shader: {fileID: 46, guid: 0000000000000000f000000000000000, type: 0}
m_Shader: {fileID: -6465566751694194690, guid: 567e270b6044488448e8530b2f8122a2,
type: 3}
m_ShaderKeywords: _EMISSION _METALLICGLOSSMAP _NORMALMAP
m_LightmapFlags: 2
m_EnableInstancingVariants: 0

m_SavedProperties:
serializedVersion: 3
m_TexEnvs:
- Texture2D_1E2AAD24:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- Texture2D_6B9B2A63:
m_Texture: {fileID: 2800000, guid: 29c92b5728141ae48ba8e39a87318946, type: 3}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- Texture2D_887E2E1:
m_Texture: {fileID: 2800000, guid: 25b230e075e821d4ebbd57cd5ac0583b, type: 3}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- Texture2D_EF887DA1:
m_Texture: {fileID: 2800000, guid: b2dfcc0487842e04c83cdf7ec10584b7, type: 3}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _BumpMap:
m_Texture: {fileID: 2800000, guid: 25b230e075e821d4ebbd57cd5ac0583b, type: 3}
m_Scale: {x: 1, y: 1}

m_Texture: {fileID: 2800000, guid: 29c92b5728141ae48ba8e39a87318946, type: 3}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _NoiseTex:
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_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
m_Floats:
- Vector1_6334ABB5: 10
- Vector1_6B7D910E: 1
- _BumpScale: 1
- _Cutoff: 0.5
- _DetailNormalMapScale: 1

- _GlossyReflections: 1
- _GrainInfluence: 0.23
- _NoiseIntensity: 0
- _OcclusionStrength: 1
- _Parallax: 0.02
- _SmoothnessTextureChannel: 0

- _ZWrite: 1
m_Colors:
- Vector4_6A0747B3: {r: 30, g: 20, b: 0, a: 0}
m_BuildTextureStacks: []

26
Assets/AR Sample Objects/CoffeeMaker/Prefab/CoffeeMaker.prefab


%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!114 &7435485125706140711
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1436265626919189739}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: c3c759edd2c6d49bda80a810122bc4d9, type: 3}
m_Name:
m_EditorClassIdentifier:
m_CameraManager: {fileID: 0}
m_GrainMaterials:
- {fileID: 2100000, guid: 88de941cb1b048947ac5479233a059fb, type: 2}
- {fileID: 2100000, guid: a6d5637e71b3862408e1306da5fb4417, type: 2}
- {fileID: 2100000, guid: 7e7db70557cc72e46a83c43b6c52d5bb, type: 2}
- {fileID: 2100000, guid: 007aa498b3d73ca4e820fedf9019d9b1, type: 2}
- {fileID: 2100000, guid: 87319b05aa0490d44b5346326a5e7b26, type: 2}
- {fileID: 2100000, guid: a3806f99b8c1eb64c9e6d88ff579546b, type: 2}
--- !u!1001 &6975881124170982882
PrefabInstance:
m_ObjectHideFlags: 0

objectReference: {fileID: 0}
m_RemovedComponents: []
m_SourcePrefab: {fileID: 100100000, guid: b0238fb14b0e3834e9e0694092a0dbd4, type: 3}
--- !u!1 &1436265626919189739 stripped
GameObject:
m_CorrespondingSourceObject: {fileID: -927199367670048503, guid: b0238fb14b0e3834e9e0694092a0dbd4,
type: 3}
m_PrefabInstance: {fileID: 6975881124170982882}
m_PrefabAsset: {fileID: 0}

12
Assets/Common/Scripts/ProbePlacement.cs


[SerializeField]
AREnvironmentProbeManager m_ProbeManager;
public AREnvironmentProbeManager probeManager
{
get => m_ProbeManager;
set => m_ProbeManager = value;
}
public ARRaycastManager raycastManager
{
get => m_RaycastManager;
set => m_RaycastManager = value;
}
List<ARRaycastHit> k_Hits = new List<ARRaycastHit>();

2
Assets/Shaders/Materials/CameraGrainMat.mat


m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _NoiseTex:
m_Texture: {fileID: 0}
m_Texture: {fileID: 11700000, guid: 767fc4140c07644c5a3d1e851009fbe1, type: 3}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _OcclusionMap:

2
Assets/UX/Scenes/UXManagerScene.unity


m_Script: {fileID: 11500000, guid: 446fc7fee4cf2ad4daa02222a84869c4, type: 3}
m_Name:
m_EditorClassIdentifier:
m_PlacedPrefab: {fileID: 4661001487440367306, guid: 83a543751b0dd4e5b9690a841c132b70,
m_PlacedPrefab: {fileID: 1436265626919189739, guid: 263614dbc5e22484d92f2c2dba2b03e7,
type: 3}
m_MaxNumberOfObjectsToPlace: 1
--- !u!114 &1335839540

52
Assets/Shaders/Scripts/CameraGrainMultiMaterial.cs


using System;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.XR.ARFoundation;
public class CameraGrainMultiMaterial : MonoBehaviour
{
[SerializeField]
ARCameraManager m_CameraManager;
public ARCameraManager cameraManager
{
get => m_CameraManager;
set => m_CameraManager = value;
}
[SerializeField]
List<Material> m_GrainMaterials;
public List<Material> grainMaterials
{
get => m_GrainMaterials;
set => m_GrainMaterials = value;
}
void OnEnable()
{
if(m_CameraManager == null)
{
m_CameraManager = FindObjectOfType<ARCameraManager>();
}
m_CameraManager.frameReceived += OnReceivedFrame;
}
void OnDisable()
{
m_CameraManager.frameReceived -= OnReceivedFrame;
}
void OnReceivedFrame(ARCameraFrameEventArgs eventArgs)
{
#if UNITY_IOS
for(int i = 0; i < m_GrainMaterials.Count; i++)
{
m_GrainMaterials[i].SetTexture("_NoiseTex", eventArgs.cameraGrainTexture);
m_GrainMaterials[i].SetFloat("_NoiseIntensity", eventArgs.noiseIntensity);
}
#endif
}
}

11
Assets/Shaders/Scripts/CameraGrainMultiMaterial.cs.meta


fileFormatVersion: 2
guid: c3c759edd2c6d49bda80a810122bc4d9
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:

8
Assets/Shaders/Textures.meta


fileFormatVersion: 2
guid: 2fcc4a1eb45eb4d9d9bfb02084cc09fb
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:

10
Assets/Shaders/Textures/GrainTexture.png

之前 之后
宽度: 256  |  高度: 256  |  大小: 1.8 KiB

132
Assets/Shaders/Textures/GrainTexture.png.meta


fileFormatVersion: 2
guid: 623074edba20a4c239bad1bd7ce0293f
TextureImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 11
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
streamingMipmaps: 0
streamingMipmapsPriority: 0
vTOnly: 0
grayScaleToAlpha: 0
generateCubemap: 6
cubemapConvolution: 0
seamlessCubemap: 0
textureFormat: 1
maxTextureSize: 2048
textureSettings:
serializedVersion: 2
filterMode: -1
aniso: -1
mipBias: -100
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}
spritePixelsToUnits: 100
spriteBorder: {x: 0, y: 0, z: 0, w: 0}
spriteGenerateFallbackPhysicsShape: 1
alphaUsage: 1
alphaIsTransparency: 0
spriteTessellationDetail: -1
textureType: 0
textureShape: 8
singleChannelComponent: 0
flipbookRows: 1
flipbookColumns: 1
maxTextureSizeSet: 0
compressionQualitySet: 0
textureFormatSet: 0
ignorePngGamma: 0
applyGammaDecoding: 0
platformSettings:
- serializedVersion: 3
buildTarget: DefaultTexturePlatform
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
- serializedVersion: 3
buildTarget: Standalone
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
- serializedVersion: 3
buildTarget: iPhone
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: 3
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 1
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
- serializedVersion: 3
buildTarget: Android
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
spriteSheet:
serializedVersion: 2
sprites: []
outline: []
physicsShape: []
bones: []
spriteID:
internalID: 0
vertices: []
indices:
edges: []
weights: []
secondaryTextures: []
spritePackingTag:
pSDRemoveMatte: 0
pSDShowRemoveMatteOption: 0
userData:
assetBundleName:
assetBundleVariant:
正在加载...
取消
保存