Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
3c490bdae8 | ||
|
|
36ecac038a | ||
|
|
22df749a0e | ||
|
|
6b1a6b83a4 | ||
|
|
1dc80339d4 | ||
|
|
487e0d72ff | ||
|
|
73069d8242 | ||
|
|
60cd55ab44 | ||
|
|
b3079b959a | ||
|
|
67e0bcfaaf | ||
|
|
2a30d4d8cf | ||
|
|
68ef673342 | ||
|
|
6f296f91c3 | ||
|
|
f4c9326fb9 | ||
|
|
e3746e3e9d | ||
|
|
d9d7ee49d2 | ||
|
|
9f2fd08ee5 | ||
|
|
90934eca22 | ||
|
|
a259a64e80 |
@@ -76,3 +76,7 @@ crashlytics-build.properties
|
||||
/[Aa]ssets/[Ss]treamingAssets/aa.meta
|
||||
/[Aa]ssets/[Ss]treamingAssets/aa/*
|
||||
|
||||
ProjectSettings/Packages/com.unity.probuilder/Settings.json
|
||||
Assets/Editor/x64/Bakery/.uvgblog.txt
|
||||
Assets/Editor/x64/Bakery/.uvgblog.txt
|
||||
Assets/Editor/x64/Bakery/.uvgblog.txt
|
||||
|
||||
Generated
+15
@@ -0,0 +1,15 @@
|
||||
# Default ignored files
|
||||
/shelf/
|
||||
/workspace.xml
|
||||
# Rider ignored files
|
||||
/modules.xml
|
||||
/contentModel.xml
|
||||
/.idea.FORT-BO.iml
|
||||
/projectSettingsUpdater.xml
|
||||
# Ignored default folder with query files
|
||||
/queries/
|
||||
# Datasource local storage ignored files
|
||||
/dataSources/
|
||||
/dataSources.local.xml
|
||||
# Editor-based HTTP Client requests
|
||||
/httpRequests/
|
||||
Generated
+4
@@ -0,0 +1,4 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="Encoding" addBOMForNewFiles="with BOM under Windows, with no BOM otherwise" />
|
||||
</project>
|
||||
+8
@@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="UserContentModel">
|
||||
<attachedFolders />
|
||||
<explicitIncludes />
|
||||
<explicitExcludes />
|
||||
</component>
|
||||
</project>
|
||||
Generated
+6
@@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="VcsDirectoryMappings">
|
||||
<mapping directory="" vcs="Git" />
|
||||
</component>
|
||||
</project>
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"version": "1.0",
|
||||
"components": [
|
||||
"Microsoft.VisualStudio.Workload.ManagedGame"
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: e2f6e48d4285a4647aaf195a5fcf880a
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,7 @@
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
|
||||
[HelpURL("https://geom.io/bakery/wiki/index.php?title=Manual#Bakery_Always_Render")]
|
||||
public class BakeryAlwaysRender : MonoBehaviour {
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
fileFormatVersion: 2
|
||||
guid: e2d6e02e134906942bad71c1434453fa
|
||||
timeCreated: 1561146394
|
||||
licenseType: Store
|
||||
MonoImporter:
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,101 @@
|
||||
using UnityEngine;
|
||||
|
||||
#if UNITY_EDITOR
|
||||
using UnityEditor;
|
||||
#endif
|
||||
|
||||
using System;
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
|
||||
[HelpURL("https://geom.io/bakery/wiki/index.php?title=Manual#Bakery_Direct_Light")]
|
||||
[ExecuteInEditMode]
|
||||
[DisallowMultipleComponent]
|
||||
public class BakeryDirectLight : MonoBehaviour
|
||||
{
|
||||
public Color color = Color.white;
|
||||
public float intensity = 1.0f;
|
||||
public float shadowSpread = 0.01f;//0.05f;
|
||||
public int samples = 16;
|
||||
//public uint bitmask = 1;
|
||||
public int bitmask = 1;
|
||||
public bool bakeToIndirect = false;
|
||||
public bool shadowmask = false;
|
||||
public bool shadowmaskDenoise = false;
|
||||
public float indirectIntensity = 1.0f;
|
||||
public Texture2D cloudShadow;
|
||||
public float cloudShadowTilingX = 0.01f;
|
||||
public float cloudShadowTilingY = 0.01f;
|
||||
public float cloudShadowOffsetX, cloudShadowOffsetY;
|
||||
public bool supersample = false;
|
||||
|
||||
public int UID;
|
||||
|
||||
public static int lightsChanged = 0; // 1 = const, 2 = full
|
||||
|
||||
static GameObject objShownError;
|
||||
|
||||
#if UNITY_EDITOR
|
||||
void OnValidate()
|
||||
{
|
||||
if (lightsChanged == 0) lightsChanged = 1;
|
||||
}
|
||||
void OnEnable()
|
||||
{
|
||||
lightsChanged = 2;
|
||||
}
|
||||
void OnDisable()
|
||||
{
|
||||
lightsChanged = 2;
|
||||
}
|
||||
|
||||
public void Start()
|
||||
{
|
||||
if (EditorApplication.isPlayingOrWillChangePlaymode) return;
|
||||
|
||||
if (gameObject.GetComponent<BakerySkyLight>() != null ||
|
||||
gameObject.GetComponent<BakeryPointLight>() != null ||
|
||||
gameObject.GetComponent<BakeryLightMesh>() != null)
|
||||
{
|
||||
if (objShownError != gameObject)
|
||||
{
|
||||
EditorUtility.DisplayDialog("Bakery", "Can't have more than one Bakery light on one object", "OK");
|
||||
objShownError = gameObject;
|
||||
}
|
||||
else
|
||||
{
|
||||
Debug.LogError("Can't have more than one Bakery light on one object");
|
||||
}
|
||||
DestroyImmediate(this);
|
||||
return;
|
||||
}
|
||||
|
||||
if (UID == 0) UID = Guid.NewGuid().GetHashCode(); // legacy
|
||||
}
|
||||
|
||||
void OnDrawGizmos()
|
||||
{
|
||||
Gizmos.color = Color.yellow;
|
||||
Gizmos.DrawSphere(transform.position, 0.1f);
|
||||
|
||||
//Gizmos.DrawWireSphere(transform.position, 0.5f);
|
||||
}
|
||||
|
||||
void OnDrawGizmosSelected()
|
||||
{
|
||||
Gizmos.color = Color.yellow;
|
||||
var endPoint = transform.position + transform.forward * 2;
|
||||
Gizmos.DrawLine(transform.position, endPoint);
|
||||
|
||||
//Gizmos.color = Color.blue;
|
||||
Gizmos.DrawWireSphere(transform.position, 0.2f);
|
||||
|
||||
Gizmos.DrawLine(endPoint, endPoint + (transform.position + transform.right - endPoint).normalized * 0.5f);
|
||||
Gizmos.DrawLine(endPoint, endPoint + (transform.position - transform.right - endPoint).normalized * 0.5f);
|
||||
Gizmos.DrawLine(endPoint, endPoint + (transform.position + transform.up - endPoint).normalized * 0.5f);
|
||||
Gizmos.DrawLine(endPoint, endPoint + (transform.position - transform.up - endPoint).normalized * 0.5f);
|
||||
}
|
||||
|
||||
#endif
|
||||
}
|
||||
|
||||
@@ -0,0 +1,12 @@
|
||||
fileFormatVersion: 2
|
||||
guid: c74ce2158ae608549902afb4112fd042
|
||||
timeCreated: 1526382158
|
||||
licenseType: Store
|
||||
MonoImporter:
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,22 @@
|
||||
using UnityEngine;
|
||||
|
||||
#if UNITY_EDITOR
|
||||
using UnityEditor;
|
||||
#endif
|
||||
|
||||
using System;
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
|
||||
[HelpURL("https://geom.io/bakery/wiki/index.php?title=Manual#Bakery_Light_Filter")]
|
||||
[DisallowMultipleComponent]
|
||||
public class BakeryLightFilter : MonoBehaviour
|
||||
{
|
||||
public Texture2D texture;
|
||||
|
||||
[HideInInspector]
|
||||
public int lmid = 0;
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -0,0 +1,12 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 38130e0ca8915b349b67c7469b746dc1
|
||||
timeCreated: 1526382158
|
||||
licenseType: Store
|
||||
MonoImporter:
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,82 @@
|
||||
using UnityEngine;
|
||||
|
||||
#if UNITY_EDITOR
|
||||
using UnityEditor;
|
||||
#endif
|
||||
|
||||
using System;
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
|
||||
[HelpURL("https://geom.io/bakery/wiki/index.php?title=Manual#Bakery_Light_Mesh")]
|
||||
[ExecuteInEditMode]
|
||||
[DisallowMultipleComponent]
|
||||
public class BakeryLightMesh : MonoBehaviour
|
||||
{
|
||||
public int UID;
|
||||
|
||||
public Color color = Color.white;
|
||||
public float intensity = 1.0f;
|
||||
public Texture2D texture = null;
|
||||
//public Vector2 texScale = new Vector2(1,1);
|
||||
//public Vector2 texOffset = new Vector2(0,0);
|
||||
public float cutoff = 100;
|
||||
public int samples = 256;
|
||||
public int samples2 = 16;
|
||||
public int samples2_previous = 16;
|
||||
public int bitmask = 1;
|
||||
public bool selfShadow = true;
|
||||
public bool bakeToIndirect = true;
|
||||
public bool shadowmask = false;
|
||||
public float indirectIntensity = 1.0f;
|
||||
public bool shadowmaskFalloff = false;
|
||||
public int maskChannel;
|
||||
|
||||
public int lmid = -2;
|
||||
|
||||
public static int lightsChanged = 0;
|
||||
|
||||
static GameObject objShownError;
|
||||
|
||||
#if UNITY_EDITOR
|
||||
void OnValidate()
|
||||
{
|
||||
if (lightsChanged == 0) lightsChanged = 1;
|
||||
}
|
||||
|
||||
public void Start()
|
||||
{
|
||||
if (EditorApplication.isPlayingOrWillChangePlaymode) return;
|
||||
|
||||
if (gameObject.GetComponent<BakeryDirectLight>() != null ||
|
||||
gameObject.GetComponent<BakeryPointLight>() != null ||
|
||||
gameObject.GetComponent<BakerySkyLight>() != null)
|
||||
{
|
||||
if (objShownError != gameObject)
|
||||
{
|
||||
EditorUtility.DisplayDialog("Bakery", "Can't have more than one Bakery light on one object", "OK");
|
||||
objShownError = gameObject;
|
||||
}
|
||||
else
|
||||
{
|
||||
Debug.LogError("Can't have more than one Bakery light on one object");
|
||||
}
|
||||
DestroyImmediate(this);
|
||||
return;
|
||||
}
|
||||
|
||||
if (UID == 0) UID = Guid.NewGuid().GetHashCode(); // legacy
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
void OnDrawGizmosSelected()
|
||||
{
|
||||
Gizmos.color = Color.yellow;
|
||||
var mr = gameObject.GetComponent<MeshRenderer>();
|
||||
if (mr!=null) Gizmos.DrawWireSphere(mr.bounds.center, cutoff);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -0,0 +1,12 @@
|
||||
fileFormatVersion: 2
|
||||
guid: a28e27cacfc7e70479097f0a63c37217
|
||||
timeCreated: 1526382158
|
||||
licenseType: Store
|
||||
MonoImporter:
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,211 @@
|
||||
using UnityEngine;
|
||||
|
||||
#if UNITY_EDITOR
|
||||
using UnityEditor;
|
||||
#endif
|
||||
|
||||
public struct BakeryLightmapGroupPlain
|
||||
{
|
||||
public string name;
|
||||
public int resolution, id, renderMode, renderDirMode, atlasPacker;
|
||||
public bool vertexBake;
|
||||
public bool containsTerrains;
|
||||
public bool probes;
|
||||
public bool isImplicit;
|
||||
public bool computeSSS;
|
||||
public int sssSamples;
|
||||
public float sssDensity;
|
||||
public float sssR, sssG, sssB;
|
||||
public float fakeShadowBias;
|
||||
public bool transparentSelfShadow;
|
||||
public bool flipNormal;
|
||||
public string parentName;
|
||||
public int sceneLodLevel;
|
||||
public bool autoResolution;
|
||||
public int holeFilling;
|
||||
public int vertexSamplingDensity;
|
||||
//public bool forceBakeWithNormalMaps;
|
||||
};
|
||||
|
||||
[CreateAssetMenu(menuName = "Bakery lightmap group")]
|
||||
public class BakeryLightmapGroup : ScriptableObject
|
||||
{
|
||||
public enum ftLMGroupMode
|
||||
{
|
||||
OriginalUV = 0,
|
||||
PackAtlas = 1,
|
||||
Vertex = 2,
|
||||
};
|
||||
|
||||
public enum RenderMode
|
||||
{
|
||||
FullLighting = 0,
|
||||
Indirect = 1,
|
||||
Shadowmask = 2,
|
||||
Subtractive = 3,
|
||||
AmbientOcclusionOnly = 4,
|
||||
Auto = 1000
|
||||
};
|
||||
|
||||
public enum RenderDirMode
|
||||
{
|
||||
None = 0,
|
||||
BakedNormalMaps = 1,
|
||||
DominantDirection = 2,
|
||||
RNM = 3,
|
||||
SH = 4,
|
||||
ProbeSH = 5,
|
||||
MonoSH = 6,
|
||||
ProbeSHL2 = 7,
|
||||
Auto = 1000
|
||||
};
|
||||
|
||||
public enum AtlasPacker
|
||||
{
|
||||
Default = 0,
|
||||
xatlas = 1,
|
||||
Auto = 1000
|
||||
};
|
||||
|
||||
public enum HoleFilling
|
||||
{
|
||||
Auto = 0,
|
||||
Yes = 1,
|
||||
No = 2
|
||||
};
|
||||
|
||||
[SerializeField, Range(1, 8192)]
|
||||
public int resolution = 512;
|
||||
|
||||
[SerializeField]
|
||||
public int bitmask = 1;
|
||||
|
||||
[SerializeField]
|
||||
public int id = -1;
|
||||
|
||||
public int sortingID = -1;
|
||||
|
||||
[SerializeField]
|
||||
public bool isImplicit = false;
|
||||
|
||||
[SerializeField]
|
||||
public float area = 0.0f;
|
||||
|
||||
[SerializeField]
|
||||
public int totalVertexCount = 0;
|
||||
|
||||
[SerializeField]
|
||||
public int vertexCounter = 0;
|
||||
|
||||
[SerializeField]
|
||||
public int sceneLodLevel = -1;
|
||||
|
||||
[SerializeField]
|
||||
public bool autoResolution = false;
|
||||
|
||||
[SerializeField]
|
||||
public string sceneName;
|
||||
|
||||
[SerializeField]
|
||||
public int tag = -1;
|
||||
|
||||
[SerializeField]
|
||||
public bool containsTerrains;
|
||||
|
||||
[SerializeField]
|
||||
public bool probes;
|
||||
|
||||
[SerializeField]
|
||||
public ftLMGroupMode mode = ftLMGroupMode.PackAtlas;
|
||||
|
||||
[SerializeField]
|
||||
public RenderMode renderMode = RenderMode.Auto;
|
||||
|
||||
[SerializeField]
|
||||
public RenderDirMode renderDirMode = RenderDirMode.Auto;
|
||||
|
||||
[SerializeField]
|
||||
public AtlasPacker atlasPacker = AtlasPacker.Auto;
|
||||
|
||||
[SerializeField]
|
||||
public HoleFilling holeFilling = HoleFilling.Auto;
|
||||
|
||||
[SerializeField]
|
||||
public int vertexSamplingDensity = 0;
|
||||
|
||||
//[SerializeField]
|
||||
//public bool forceBakeWithNormalMaps = false;
|
||||
|
||||
//[SerializeField]
|
||||
//public bool aoIsThickness = false;
|
||||
|
||||
[SerializeField]
|
||||
public bool computeSSS = false;
|
||||
|
||||
[SerializeField]
|
||||
public int sssSamples = 16;
|
||||
|
||||
[SerializeField]
|
||||
public float sssDensity = 10;
|
||||
|
||||
[SerializeField]
|
||||
public Color sssColor = Color.white;
|
||||
|
||||
[SerializeField]
|
||||
public float sssScale = 1.0f;
|
||||
|
||||
[SerializeField]
|
||||
public float fakeShadowBias = 0.0f;
|
||||
|
||||
[SerializeField]
|
||||
public bool transparentSelfShadow = false;
|
||||
|
||||
[SerializeField]
|
||||
public bool flipNormal = false;
|
||||
|
||||
[SerializeField]
|
||||
public string parentName;
|
||||
|
||||
[SerializeField]
|
||||
public string overridePath = "";
|
||||
|
||||
[SerializeField]
|
||||
public bool fixPos3D = false;
|
||||
|
||||
[SerializeField]
|
||||
public Vector3 voxelSize = Vector3.one;
|
||||
|
||||
public int passedFilter;
|
||||
|
||||
public BakeryLightmapGroupPlain GetPlainStruct()
|
||||
{
|
||||
BakeryLightmapGroupPlain str;
|
||||
str.name = name;
|
||||
str.id = id;
|
||||
str.resolution = resolution;
|
||||
str.vertexBake = mode == ftLMGroupMode.Vertex;
|
||||
str.isImplicit = isImplicit;
|
||||
str.renderMode = (int)renderMode;
|
||||
str.renderDirMode = (int)renderDirMode;
|
||||
str.atlasPacker = (int)atlasPacker;
|
||||
str.holeFilling = (int)holeFilling;
|
||||
str.vertexSamplingDensity = vertexSamplingDensity;
|
||||
//str.forceBakeWithNormalMaps = forceBakeWithNormalMaps;
|
||||
str.computeSSS = computeSSS;
|
||||
str.sssSamples = sssSamples;
|
||||
str.sssDensity = sssDensity;
|
||||
str.sssR = sssColor.r * sssScale;
|
||||
str.sssG = sssColor.g * sssScale;
|
||||
str.sssB = sssColor.b * sssScale;
|
||||
str.containsTerrains = containsTerrains;
|
||||
str.probes = probes;
|
||||
str.fakeShadowBias = fakeShadowBias;
|
||||
str.transparentSelfShadow = transparentSelfShadow;
|
||||
str.flipNormal = flipNormal;
|
||||
str.parentName = parentName;
|
||||
str.sceneLodLevel = sceneLodLevel;
|
||||
str.autoResolution = autoResolution;
|
||||
return str;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -0,0 +1,12 @@
|
||||
fileFormatVersion: 2
|
||||
guid: ec0b4dd729a12d046982652f834580a2
|
||||
timeCreated: 1526381368
|
||||
licenseType: Store
|
||||
MonoImporter:
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,11 @@
|
||||
using UnityEngine;
|
||||
|
||||
[HelpURL("https://geom.io/bakery/wiki/index.php?title=Manual#Bakery_Lightmap_Group_Selector")]
|
||||
public class BakeryLightmapGroupSelector : MonoBehaviour
|
||||
{
|
||||
public bool active = true;
|
||||
public Object lmgroupAsset;
|
||||
public bool instanceResolutionOverride = false;
|
||||
public int instanceResolution = 256;
|
||||
}
|
||||
|
||||
@@ -0,0 +1,12 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 0a747f33c53bd3042af4ac90fc2a1fd3
|
||||
timeCreated: 1526383988
|
||||
licenseType: Store
|
||||
MonoImporter:
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,136 @@
|
||||
#if UNITY_EDITOR
|
||||
using UnityEditor;
|
||||
#endif
|
||||
using UnityEngine;
|
||||
|
||||
// Disable 'obsolete' warnings
|
||||
#pragma warning disable 0618
|
||||
|
||||
[HelpURL("https://geom.io/bakery/wiki/index.php?title=Manual#Bakery_Lightmapped_Prefab")]
|
||||
[DisallowMultipleComponent]
|
||||
public class BakeryLightmappedPrefab : MonoBehaviour
|
||||
{
|
||||
#if UNITY_EDITOR
|
||||
public bool enableBaking = true;
|
||||
public bool receiveLightmaps = true;
|
||||
public bool ignoreWarnings = false;
|
||||
public string errorMessage;
|
||||
|
||||
public bool IsValid()
|
||||
{
|
||||
errorMessage = "";
|
||||
|
||||
if (!enableBaking)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
if (ignoreWarnings) return true;
|
||||
|
||||
bool isPartOfPrefab = PrefabUtility.GetPrefabType(gameObject) == PrefabType.PrefabInstance;
|
||||
if (!isPartOfPrefab)
|
||||
{
|
||||
errorMessage = "this GameObject is not a prefab";
|
||||
return false;
|
||||
}
|
||||
|
||||
bool prefabIsRoot = PrefabUtility.FindPrefabRoot(gameObject) == gameObject;
|
||||
if (!prefabIsRoot)
|
||||
{
|
||||
errorMessage = "this GameObject is not a root prefab object";
|
||||
return false;
|
||||
}
|
||||
|
||||
var transforms = GetComponentsInChildren<Transform>();
|
||||
for(int i=0; i<transforms.Length; i++)
|
||||
{
|
||||
if (PrefabUtility.FindPrefabRoot(transforms[i].gameObject) != gameObject)
|
||||
{
|
||||
errorMessage = "prefab contains unapplied object (" + transforms[i].name + ")";
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
var prefabRootObj = PrefabUtility.GetPrefabObject(gameObject);
|
||||
//var prefabRootObj2 = PrefabUtility.FindPrefabRoot(gameObject);
|
||||
|
||||
var mods = PrefabUtility.GetPropertyModifications(gameObject);
|
||||
if (mods != null)
|
||||
{
|
||||
for(int i=0; i<mods.Length; i++)
|
||||
{
|
||||
if (mods[i] == null) continue;
|
||||
#if UNITY_2018_3_OR_NEWER
|
||||
if (PrefabUtility.IsDefaultOverride(mods[i])) continue;
|
||||
#endif
|
||||
if (mods[i].propertyPath == "m_RootOrder") continue;
|
||||
if (mods[i].propertyPath == "errorMessage") continue;
|
||||
if (mods[i].propertyPath == "enableBaking") continue;
|
||||
if (mods[i].propertyPath == "enableBaking") continue;
|
||||
if (mods[i].propertyPath.Contains("GlobalObjectIdHash")) continue;
|
||||
if (mods[i].target != null && mods[i].target.name == gameObject.name)
|
||||
{
|
||||
if (mods[i].propertyPath.Contains("m_LocalPosition")) continue;
|
||||
if (mods[i].propertyPath.Contains("m_LocalRotation")) continue;
|
||||
if (mods[i].propertyPath.Contains("m_LocalScale")) continue;
|
||||
}
|
||||
|
||||
errorMessage = "prefab contains unapplied data (" + mods[i].target+"."+mods[i].propertyPath + ")";
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
var comps = gameObject.GetComponents<Component>();
|
||||
var comps2 = gameObject.GetComponentsInChildren<Component>();
|
||||
|
||||
for(int t=0; t<2; t++)
|
||||
{
|
||||
var comps3 = t == 0 ? comps : comps2;
|
||||
for(int c=0; c<comps3.Length; c++)
|
||||
{
|
||||
var prefabObj = PrefabUtility.GetPrefabObject(comps3[c]);
|
||||
if (prefabObj != prefabRootObj)
|
||||
{
|
||||
errorMessage = "prefab contains unapplied component (" + comps3[c] + ")";
|
||||
return false;
|
||||
}
|
||||
|
||||
/*bool isRoot = comps3[c].gameObject == gameObject;
|
||||
|
||||
var mods = PrefabUtility.GetPropertyModifications(comps3[c]);
|
||||
if (mods == null) continue;
|
||||
for(int i=0; i<mods.Length; i++)
|
||||
{
|
||||
if (mods[i].propertyPath == "m_RootOrder") continue;
|
||||
if (isRoot)
|
||||
{
|
||||
if (mods[i].propertyPath == "errorMessage") continue;
|
||||
if (mods[i].propertyPath == "enableBaking") continue;
|
||||
if (mods[i].propertyPath.Contains("m_LocalPosition")) continue;
|
||||
if (mods[i].propertyPath.Contains("m_LocalRotation")) continue;
|
||||
if (mods[i].propertyPath.Contains("m_LocalScale")) continue;
|
||||
}
|
||||
else
|
||||
{
|
||||
if (mods[i].propertyPath.Contains("m_LocalPosition"))
|
||||
{
|
||||
var dist = (comps3[c].transform.position - (PrefabUtility.GetPrefabParent(comps3[c].gameObject) as GameObject).transform.position).sqrMagnitude;
|
||||
Debug.LogError(dist);
|
||||
if (dist < 0.001f) continue;
|
||||
}
|
||||
else if (mods[i].propertyPath.Contains("m_LocalRotation"))
|
||||
{
|
||||
continue;
|
||||
}
|
||||
}
|
||||
errorMessage = "Error: prefab contains unapplied data (" + mods[i].target+"."+mods[i].propertyPath + ")";
|
||||
return false;
|
||||
}*/
|
||||
}
|
||||
}
|
||||
|
||||
return true;
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
@@ -0,0 +1,12 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 6090ef81e51c0ad4da5a1a37e6cf65cf
|
||||
timeCreated: 1541703042
|
||||
licenseType: Store
|
||||
MonoImporter:
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,74 @@
|
||||
#ifndef BAKERY_META
|
||||
#define BAKERY_META
|
||||
|
||||
Texture2D bestFitNormalMap;
|
||||
float _IsPerPixel;
|
||||
|
||||
struct BakeryMetaInput
|
||||
{
|
||||
float2 uv0 : TEXCOORD0;
|
||||
float2 uv1 : TEXCOORD1;
|
||||
float3 normal : NORMAL;
|
||||
#ifndef _TERRAIN_NORMAL_MAP
|
||||
float4 tangent : TANGENT;
|
||||
#endif
|
||||
};
|
||||
|
||||
struct v2f_bakeryMeta
|
||||
{
|
||||
float4 pos : SV_POSITION;
|
||||
float2 uv : TEXCOORD0;
|
||||
float3 normal : TEXCOORD1;
|
||||
float4 tangent : TEXCOORD2;
|
||||
float3 binormal : TEXCOORD3;
|
||||
};
|
||||
|
||||
v2f_bakeryMeta vert_bakerymt (BakeryMetaInput v)
|
||||
{
|
||||
v2f_bakeryMeta o;
|
||||
o.pos = float4(((v.uv1.xy * unity_LightmapST.xy + unity_LightmapST.zw)*2-1) * float2(1,-1), 0.5, 1);
|
||||
o.uv = v.uv0;
|
||||
o.normal = normalize(mul((float3x3)unity_ObjectToWorld, v.normal).xyz);
|
||||
|
||||
#ifdef _TERRAIN_NORMAL_MAP
|
||||
o.tangent.xyz = cross(o.normal, float3(0,0,1));
|
||||
o.binormal = cross(o.normal, o.tangent.xyz) * -1;
|
||||
o.tangent.w = -1;
|
||||
#else
|
||||
o.tangent.xyz = normalize(mul((float3x3)unity_ObjectToWorld, v.tangent.xyz).xyz);
|
||||
o.binormal = cross(o.normal, o.tangent.xyz) * v.tangent.w;
|
||||
o.tangent.w = v.tangent.w;
|
||||
#endif
|
||||
|
||||
return o;
|
||||
}
|
||||
|
||||
float3 EncodeNormalBestFit(float3 n)
|
||||
{
|
||||
float3 nU = abs(n);
|
||||
float maxNAbs = max(nU.z, max(nU.x, nU.y));
|
||||
float2 TC = nU.z<maxNAbs? (nU.y<maxNAbs? nU.yz : nU.xz) : nU.xy;
|
||||
//if (TC.x != TC.y)
|
||||
//{
|
||||
TC = TC.x<TC.y? TC.yx : TC.xy;
|
||||
TC.y /= TC.x;
|
||||
|
||||
n /= maxNAbs;
|
||||
float fittingScale = bestFitNormalMap.Load(int3(TC.x*1023, TC.y*1023, 0)).a;
|
||||
n *= fittingScale;
|
||||
//}
|
||||
return n*0.5+0.5;
|
||||
}
|
||||
|
||||
float3 TransformNormalMapToWorld(v2f_bakeryMeta i, float3 tangentNormalMap)
|
||||
{
|
||||
float3 b = i.binormal;
|
||||
if (_IsPerPixel > 0.0f) b = cross(i.normal, i.tangent.xyz) * i.tangent.w;
|
||||
|
||||
float3x3 TBN = float3x3(normalize(i.tangent.xyz), normalize(b), normalize(i.normal));
|
||||
return mul(tangentNormalMap, TBN);
|
||||
}
|
||||
|
||||
#define BakeryEncodeNormal EncodeNormalBestFit
|
||||
|
||||
#endif
|
||||
@@ -0,0 +1,9 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 1d6fa63b3a54ade469dc0fa038f0c81b
|
||||
timeCreated: 1538849880
|
||||
licenseType: Store
|
||||
ShaderImporter:
|
||||
defaultTextures: []
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,7 @@
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
|
||||
[HelpURL("https://geom.io/bakery/wiki/index.php?title=Manual#Bakery_Pack_As_Single_Square")]
|
||||
public class BakeryPackAsSingleSquare : MonoBehaviour {
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
fileFormatVersion: 2
|
||||
guid: cf72c611dfa77174e811af15d6ba69da
|
||||
timeCreated: 1580818526
|
||||
licenseType: Store
|
||||
MonoImporter:
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,189 @@
|
||||
using UnityEngine;
|
||||
|
||||
#if UNITY_EDITOR
|
||||
using UnityEditor;
|
||||
#endif
|
||||
|
||||
using System;
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
|
||||
[HelpURL("https://geom.io/bakery/wiki/index.php?title=Manual#Bakery_Point_Light")]
|
||||
[ExecuteInEditMode]
|
||||
[DisallowMultipleComponent]
|
||||
public class BakeryPointLight : MonoBehaviour
|
||||
{
|
||||
public enum ftLightProjectionMode
|
||||
{
|
||||
Omni = 0,
|
||||
Cookie = 1,
|
||||
Cubemap = 2,
|
||||
IES = 3,
|
||||
Cone = 4
|
||||
};
|
||||
|
||||
public enum Direction
|
||||
{
|
||||
NegativeY = 0,
|
||||
PositiveZ = 1
|
||||
};
|
||||
|
||||
public int UID;
|
||||
public Color color = Color.white;
|
||||
public float intensity = 1.0f;
|
||||
public float shadowSpread = 0.05f;
|
||||
public float cutoff = 10.0f;
|
||||
public bool realisticFalloff = false;
|
||||
public bool legacySampling = true;
|
||||
public int samples = 8;
|
||||
public ftLightProjectionMode projMode;
|
||||
public Texture2D cookie;
|
||||
public float angle = 30.0f;
|
||||
public float innerAngle = 0;
|
||||
public Cubemap cubemap;
|
||||
public UnityEngine.Object iesFile;
|
||||
public int bitmask = 1;
|
||||
public bool bakeToIndirect = false;
|
||||
public bool shadowmask = false;
|
||||
public bool shadowmaskFalloff = false;
|
||||
public float indirectIntensity = 1.0f;
|
||||
public float falloffMinRadius = 1.0f;
|
||||
public int shadowmaskGroupID = 0;
|
||||
public bool correctCookieDistortion = false;
|
||||
public Direction directionMode = Direction.NegativeY;
|
||||
public int maskChannel;
|
||||
|
||||
const float GIZMO_MAXSIZE = 0.1f;
|
||||
const float GIZMO_SCALE = 0.01f;
|
||||
|
||||
public static int lightsChanged = 0; // 1 = const, 2 = full
|
||||
|
||||
static GameObject objShownError;
|
||||
|
||||
#if UNITY_EDITOR
|
||||
float screenRadius = GIZMO_MAXSIZE;
|
||||
|
||||
void OnValidate()
|
||||
{
|
||||
if (lightsChanged == 0) lightsChanged = 1;
|
||||
}
|
||||
void OnEnable()
|
||||
{
|
||||
lightsChanged = 2;
|
||||
}
|
||||
void OnDisable()
|
||||
{
|
||||
lightsChanged = 2;
|
||||
}
|
||||
|
||||
public void Start()
|
||||
{
|
||||
if (EditorApplication.isPlayingOrWillChangePlaymode) return;
|
||||
|
||||
if (gameObject.GetComponent<BakeryDirectLight>() != null ||
|
||||
gameObject.GetComponent<BakerySkyLight>() != null ||
|
||||
gameObject.GetComponent<BakeryLightMesh>() != null)
|
||||
{
|
||||
if (objShownError != gameObject)
|
||||
{
|
||||
EditorUtility.DisplayDialog("Bakery", "Can't have more than one Bakery light on one object", "OK");
|
||||
objShownError = gameObject;
|
||||
}
|
||||
else
|
||||
{
|
||||
Debug.LogError("Can't have more than one Bakery light on one object");
|
||||
}
|
||||
DestroyImmediate(this);
|
||||
return;
|
||||
}
|
||||
|
||||
if (UID == 0) UID = Guid.NewGuid().GetHashCode(); // legacy
|
||||
}
|
||||
|
||||
void OnDrawGizmos()
|
||||
{
|
||||
Gizmos.color = color;
|
||||
var curCam = Camera.current;
|
||||
if (curCam != null)
|
||||
{
|
||||
screenRadius = Mathf.Min((transform.position - curCam.transform.position).magnitude * GIZMO_SCALE, GIZMO_MAXSIZE);
|
||||
}
|
||||
Gizmos.DrawSphere(transform.position, screenRadius);
|
||||
}
|
||||
|
||||
void DrawArrow(Vector3 a, Vector3 b)
|
||||
{
|
||||
//const float len = 0.125f;
|
||||
|
||||
b = a + b * (shadowSpread + 0.05f);
|
||||
Gizmos.DrawLine(a, b);
|
||||
}
|
||||
|
||||
void OnDrawGizmosSelected()
|
||||
{
|
||||
Gizmos.color = color;//Color.yellow;
|
||||
Gizmos.DrawWireSphere(transform.position, shadowSpread);
|
||||
|
||||
Gizmos.color = new Color(color.r, color.g, color.b, 0.25f);//Color.gray;
|
||||
if (projMode != ftLightProjectionMode.Cookie && projMode != ftLightProjectionMode.Cone) Gizmos.DrawWireSphere(transform.position, cutoff);
|
||||
|
||||
if (projMode != 0)
|
||||
{
|
||||
Gizmos.color = color;//Color.yellow;
|
||||
Vector3 endPoint;
|
||||
if (projMode == ftLightProjectionMode.Cookie || projMode == ftLightProjectionMode.Cone)
|
||||
{
|
||||
endPoint = transform.forward * 2;
|
||||
Gizmos.DrawRay(transform.position, endPoint);
|
||||
|
||||
float angle2 = (180 - angle) * Mathf.Deg2Rad * 0.5f;
|
||||
//float x = Mathf.Cos(angle2);
|
||||
//float radius = x * cutoff;
|
||||
|
||||
float x = 1 / Mathf.Sin(angle2);
|
||||
x = Mathf.Sqrt(x * x - 1);
|
||||
float radius = x * cutoff;
|
||||
|
||||
const int segments = 16;
|
||||
for(int i=0; i<segments; i++)
|
||||
{
|
||||
float p1 = i / (float)segments;
|
||||
float p2 = (i+1) / (float)segments;
|
||||
|
||||
float x1 = Mathf.Cos(p1 * Mathf.PI*2);
|
||||
float y1 = Mathf.Sin(p1 * Mathf.PI*2);
|
||||
|
||||
float x2 = Mathf.Cos(p2 * Mathf.PI*2);
|
||||
float y2 = Mathf.Sin(p2 * Mathf.PI*2);
|
||||
|
||||
Vector3 A = transform.position + transform.forward * cutoff + transform.right * x1 * radius + transform.up * y1 * radius;
|
||||
Vector3 B = transform.position + transform.forward * cutoff + transform.right * x2 * radius + transform.up * y2 * radius;
|
||||
Gizmos.DrawLine(A, B);
|
||||
|
||||
if (i % 4 == 0) Gizmos.DrawLine(transform.position, A);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
if (projMode == ftLightProjectionMode.IES && directionMode == Direction.PositiveZ)
|
||||
{
|
||||
endPoint = transform.forward * 2;
|
||||
}
|
||||
else
|
||||
{
|
||||
endPoint = -transform.up * 2;
|
||||
}
|
||||
Gizmos.DrawRay(transform.position, endPoint);
|
||||
}
|
||||
endPoint += transform.position;
|
||||
Gizmos.DrawLine(endPoint, endPoint + (transform.position + transform.right - endPoint).normalized * 0.5f);
|
||||
Gizmos.DrawLine(endPoint, endPoint + (transform.position - transform.right - endPoint).normalized * 0.5f);
|
||||
Gizmos.DrawLine(endPoint, endPoint + (transform.position + transform.up - endPoint).normalized * 0.5f);
|
||||
Gizmos.DrawLine(endPoint, endPoint + (transform.position - transform.up - endPoint).normalized * 0.5f);
|
||||
}
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -0,0 +1,12 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 57f24a4aaa0761b45ba25e7e5108e2c7
|
||||
timeCreated: 1526382158
|
||||
licenseType: Store
|
||||
MonoImporter:
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,156 @@
|
||||
#if UNITY_EDITOR
|
||||
|
||||
using UnityEditor;
|
||||
using UnityEngine;
|
||||
|
||||
public class BakeryProjectSettings : ScriptableObject
|
||||
{
|
||||
// Affects texture import settings for lightmaps
|
||||
[SerializeField]
|
||||
public bool mipmapLightmaps = false;
|
||||
|
||||
// Use PNG instead of TGA for shadowmasks, directions and L1 maps?
|
||||
// 'Asset' converts to Unity's own format. It is possible to limit the mipmap count here.
|
||||
public enum FileFormat
|
||||
{
|
||||
TGA = 0,
|
||||
PNG = 1,
|
||||
Asset = 2
|
||||
}
|
||||
[SerializeField]
|
||||
public FileFormat format8bit = FileFormat.TGA;
|
||||
|
||||
// Use .hdr files or Unity assets for color/RNM/L0 lightmaps
|
||||
public enum FileFormatHDR
|
||||
{
|
||||
HDR = 0,
|
||||
Asset = 1
|
||||
}
|
||||
|
||||
public enum Rounding
|
||||
{
|
||||
ToSmaller = 0,
|
||||
ToLarger = 1
|
||||
}
|
||||
|
||||
[SerializeField]
|
||||
public FileFormatHDR formatHDR = FileFormatHDR.HDR;
|
||||
|
||||
// Compress lightmaps?
|
||||
public enum Compression
|
||||
{
|
||||
CompressButAllowOverridingAsset = 0, // default behaviour
|
||||
ForceCompress = 1,
|
||||
ForceNoCompress = 2
|
||||
}
|
||||
[SerializeField]
|
||||
public Compression lightmapCompression = Compression.CompressButAllowOverridingAsset;
|
||||
|
||||
// Max mipmap count when format8bit or formatHDR are set to Asset
|
||||
[SerializeField]
|
||||
public int maxAssetMip = 100;
|
||||
|
||||
// Use high quality compression for directional and SH L1 maps? (on desktop, high = BC7, not high = DXT1)
|
||||
[SerializeField]
|
||||
public bool dirHighQuality = true;
|
||||
|
||||
// Padding values for atlas packers
|
||||
[SerializeField]
|
||||
public int texelPaddingForDefaultAtlasPacker = 3;
|
||||
[SerializeField]
|
||||
public int texelPaddingForXatlasAtlasPacker = 1;
|
||||
|
||||
// Scales resolution for alpha Meta Pass maps
|
||||
[SerializeField]
|
||||
public int alphaMetaPassResolutionMultiplier = 2;
|
||||
|
||||
// Render mode for all volumes in the scene. Defaults to Auto, which uses global scene render mode.
|
||||
[SerializeField]
|
||||
public int volumeRenderMode = 1000;//BakeryLightmapGroup.RenderMode.Auto;
|
||||
|
||||
// Should previously rendered Bakery lightmaps be deleted before the new bake?
|
||||
// Turned off by default because I'm scared of deleting anything
|
||||
[SerializeField]
|
||||
public bool deletePreviousLightmapsBeforeBake = false;
|
||||
|
||||
// Print information about the bake process to console?
|
||||
[System.FlagsAttribute]
|
||||
public enum LogLevel
|
||||
{
|
||||
Nothing = 0,
|
||||
Info = 1, // print to Debug.Log
|
||||
Warning = 2 // print to Debug.LogWarning
|
||||
}
|
||||
[SerializeField]
|
||||
public int logLevel = (int)(LogLevel.Info | LogLevel.Warning);
|
||||
|
||||
// Make it work more similar to original Unity behaviour
|
||||
[SerializeField]
|
||||
public bool alternativeScaleInLightmap = false;
|
||||
|
||||
// How texels are rounded
|
||||
[SerializeField]
|
||||
public Rounding texelRoundingBehaviour = Rounding.ToSmaller;
|
||||
|
||||
// Another approach to maintain better texel uniformity, suggested by Jan
|
||||
[SerializeField]
|
||||
public bool alternativeGroupPacking = false;
|
||||
|
||||
// Make xatlas align charts to 4x4 block boundaries to make texture compression happy
|
||||
[SerializeField]
|
||||
public bool alignToTextureBlocksWithXatlas = true;
|
||||
|
||||
// Should we adjust sample positions to prevent incorrect shadowing on very low-poly meshes with smooth normals?
|
||||
[SerializeField]
|
||||
public bool generateSmoothPos = true;
|
||||
|
||||
[SerializeField]
|
||||
public bool perTriangleSmoothPos = true;
|
||||
|
||||
// Use renderer.receiveGI
|
||||
[SerializeField]
|
||||
public bool takeReceiveGIIntoAccount = true;
|
||||
|
||||
// Remove ringing in Legacy light probes?
|
||||
[SerializeField]
|
||||
public bool removeRinging = false;
|
||||
|
||||
// Remove directional/point light ringing in Legacy light probes?
|
||||
[SerializeField]
|
||||
public bool removeDirectRinging = true;
|
||||
|
||||
// Deringing parameter for L2 light probes / APVs
|
||||
[SerializeField]
|
||||
public int deringL2MaxLaplacian = 0;
|
||||
|
||||
// Render ref probes automatically after the lightmap render?
|
||||
[SerializeField]
|
||||
public bool autoRenderRefProbes = false;
|
||||
|
||||
// Use the old volume position adjustment algorithm?
|
||||
[SerializeField]
|
||||
public bool legacyFixPos3D = false;
|
||||
|
||||
// Use new fast LOD tracing technique?
|
||||
[SerializeField]
|
||||
public bool optimizedLODs = true;
|
||||
|
||||
// Enable "streaming" option on the texture importer?
|
||||
[SerializeField]
|
||||
public bool streamingMipmaps = false;
|
||||
|
||||
// Set the "streaming priority" on the texture importer
|
||||
[SerializeField]
|
||||
public int streamingPriority = 0;
|
||||
|
||||
[SerializeField]
|
||||
public TextureImporterFormat forceSpecificColorFormat = (TextureImporterFormat)(-1);
|
||||
|
||||
[SerializeField]
|
||||
public TextureImporterFormat forceSpecificDirFormat = (TextureImporterFormat)(-1);
|
||||
|
||||
[SerializeField]
|
||||
public TextureImporterFormat forceSpecificMaskFormat = (TextureImporterFormat)(-1);
|
||||
}
|
||||
|
||||
#endif
|
||||
@@ -0,0 +1,12 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 05ce0574111032a418688d5d3961cb09
|
||||
timeCreated: 1622045898
|
||||
licenseType: Store
|
||||
MonoImporter:
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"name": "BakeryRuntimeAssembly"
|
||||
}
|
||||
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: a1653399f63795746b1857281d1e400d
|
||||
timeCreated: 1551814785
|
||||
licenseType: Store
|
||||
DefaultImporter:
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,38 @@
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
|
||||
[HelpURL("https://geom.io/bakery/wiki/index.php?title=Partial_scene_baking")]
|
||||
public class BakerySector : MonoBehaviour
|
||||
{
|
||||
public enum CaptureMode
|
||||
{
|
||||
None = -1,
|
||||
CaptureInPlace = 0,
|
||||
CaptureToAsset = 1,
|
||||
LoadCaptured = 2
|
||||
}
|
||||
|
||||
public CaptureMode captureMode = CaptureMode.CaptureInPlace;
|
||||
public string captureAssetName = "";
|
||||
public BakerySectorCapture captureAsset;
|
||||
public bool allowUVPaddingAdjustment = false;
|
||||
public List<Transform> tforms = new List<Transform>();
|
||||
public List<Transform> cpoints = new List<Transform>();
|
||||
|
||||
#if UNITY_EDITOR
|
||||
public List<Renderer> previewDisabledRenderers;
|
||||
public List<GameObject> previewTempObjects;
|
||||
public bool previewEnabled = false;
|
||||
public bool bakeChildLightProbeGroups = false;
|
||||
#endif
|
||||
|
||||
void OnDrawGizmosSelected()
|
||||
{
|
||||
Gizmos.color = Color.green;
|
||||
for(int i=0; i<cpoints.Count; i++)
|
||||
{
|
||||
if (cpoints[i] != null) Gizmos.DrawWireSphere(cpoints[i].position, 1.0f);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
fileFormatVersion: 2
|
||||
guid: d10ab396b89a06942afcc1005cd4e1f2
|
||||
timeCreated: 1589618132
|
||||
licenseType: Store
|
||||
MonoImporter:
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,27 @@
|
||||
using UnityEngine;
|
||||
using System.Collections.Generic;
|
||||
|
||||
public class BakerySectorCapture : ScriptableObject
|
||||
{
|
||||
#if UNITY_EDITOR
|
||||
[SerializeField]
|
||||
public Vector3 sectorPos;
|
||||
|
||||
[SerializeField]
|
||||
public Quaternion sectorRot;
|
||||
|
||||
[SerializeField]
|
||||
public List<Mesh> meshes;
|
||||
|
||||
[SerializeField]
|
||||
public List<Vector3> positions;
|
||||
|
||||
[SerializeField]
|
||||
public List<Texture2D> textures;
|
||||
|
||||
public List<Renderer> outsideRenderers;
|
||||
public bool write = false;
|
||||
|
||||
#endif
|
||||
}
|
||||
|
||||
@@ -0,0 +1,12 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 6f1a86d43dd48934fb3a04c088307681
|
||||
timeCreated: 1526381368
|
||||
licenseType: Store
|
||||
MonoImporter:
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,7 @@
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
|
||||
[HelpURL("https://geom.io/bakery/wiki/index.php?title=Manual#Bakery_Shared_LOD_UV")]
|
||||
public class BakerySharedLodUv : MonoBehaviour{
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
fileFormatVersion: 2
|
||||
guid: d0f69bc078114144aac4fad044334647
|
||||
timeCreated: 1722075030
|
||||
licenseType: Store
|
||||
MonoImporter:
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,113 @@
|
||||
using UnityEngine;
|
||||
|
||||
#if UNITY_EDITOR
|
||||
using UnityEditor;
|
||||
#endif
|
||||
|
||||
using System;
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
|
||||
[HelpURL("https://geom.io/bakery/wiki/index.php?title=Manual#Bakery_Sky_Light")]
|
||||
[ExecuteInEditMode]
|
||||
[DisallowMultipleComponent]
|
||||
public class BakerySkyLight : MonoBehaviour
|
||||
{
|
||||
public string texName = "sky.dds";
|
||||
public Color color = Color.white;
|
||||
public float intensity = 1.0f;
|
||||
public int samples = 32;
|
||||
public bool hemispherical = false;
|
||||
public int bitmask = 1;
|
||||
public bool bakeToIndirect = true;
|
||||
public float indirectIntensity = 1.0f;
|
||||
public bool tangentSH = false;
|
||||
public bool correctRotation = false;
|
||||
|
||||
public Cubemap cubemap;
|
||||
|
||||
public int UID;
|
||||
|
||||
public static int lightsChanged = 0; // 1 = const, 2 = full
|
||||
|
||||
static GameObject objShownError;
|
||||
|
||||
#if UNITY_EDITOR
|
||||
void OnValidate()
|
||||
{
|
||||
if (lightsChanged == 0) lightsChanged = 1;
|
||||
}
|
||||
void OnEnable()
|
||||
{
|
||||
lightsChanged = 2;
|
||||
}
|
||||
void OnDisable()
|
||||
{
|
||||
lightsChanged = 2;
|
||||
}
|
||||
|
||||
public void Start()
|
||||
{
|
||||
if (EditorApplication.isPlayingOrWillChangePlaymode) return;
|
||||
|
||||
if (gameObject.GetComponent<BakeryDirectLight>() != null ||
|
||||
gameObject.GetComponent<BakeryPointLight>() != null ||
|
||||
gameObject.GetComponent<BakeryLightMesh>() != null)
|
||||
{
|
||||
if (objShownError != gameObject)
|
||||
{
|
||||
EditorUtility.DisplayDialog("Bakery", "Can't have more than one Bakery light on one object", "OK");
|
||||
objShownError = gameObject;
|
||||
}
|
||||
else
|
||||
{
|
||||
Debug.LogError("Can't have more than one Bakery light on one object");
|
||||
}
|
||||
DestroyImmediate(this);
|
||||
return;
|
||||
}
|
||||
|
||||
if (UID == 0) UID = Guid.NewGuid().GetHashCode(); // legacy
|
||||
}
|
||||
|
||||
void OnDrawGizmos()
|
||||
{
|
||||
Gizmos.color = new Color(49/255.0f, 91/255.0f, 191/255.0f);
|
||||
Gizmos.DrawSphere(transform.position, 0.1f);
|
||||
}
|
||||
|
||||
void OnDrawGizmosSelected()
|
||||
{
|
||||
Gizmos.color = new Color(49/255.0f, 91/255.0f, 191/255.0f);
|
||||
Vector3 origin = transform.position;
|
||||
const int segments = 16;
|
||||
for(int i=0; i<segments; i++)
|
||||
{
|
||||
float p1 = i / (float)segments;
|
||||
float p2 = (i+1) / (float)segments;
|
||||
|
||||
float x1 = Mathf.Cos(p1 * Mathf.PI*2);
|
||||
float y1 = Mathf.Sin(p1 * Mathf.PI*2);
|
||||
|
||||
float x2 = Mathf.Cos(p2 * Mathf.PI*2);
|
||||
float y2 = Mathf.Sin(p2 * Mathf.PI*2);
|
||||
|
||||
Gizmos.DrawLine(origin + new Vector3(x1,0,y1), origin + new Vector3(x2,0,y2));
|
||||
|
||||
if (hemispherical)
|
||||
{
|
||||
x1 = Mathf.Cos(p1 * Mathf.PI);
|
||||
y1 = Mathf.Sin(p1 * Mathf.PI);
|
||||
|
||||
x2 = Mathf.Cos(p2 * Mathf.PI);
|
||||
y2 = Mathf.Sin(p2 * Mathf.PI);
|
||||
}
|
||||
|
||||
Gizmos.DrawLine(origin + new Vector3(x1,y1,0), origin + new Vector3(x2,y2,0));
|
||||
Gizmos.DrawLine(origin + new Vector3(0,y1,x1), origin + new Vector3(0,y2,x2));
|
||||
}
|
||||
}
|
||||
|
||||
#endif
|
||||
}
|
||||
|
||||
@@ -0,0 +1,12 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 306a56f30ff21b5439963fc745cfe9cc
|
||||
timeCreated: 1526382158
|
||||
licenseType: Store
|
||||
MonoImporter:
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,426 @@
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
#if UNITY_EDITOR
|
||||
using UnityEditor;
|
||||
using UnityEditor.IMGUI.Controls;
|
||||
#endif
|
||||
|
||||
[HelpURL("https://geom.io/bakery/wiki/index.php?title=Manual#Bakery_Volume")]
|
||||
[ExecuteInEditMode]
|
||||
public class BakeryVolume : MonoBehaviour
|
||||
{
|
||||
public enum Encoding
|
||||
{
|
||||
// HDR L1 SH, half-float:
|
||||
// Tex0 = L0, L1z.r
|
||||
// Tex1 = L1x, L1z.g
|
||||
// Tex2 = L1y, L1z.b
|
||||
Half4,
|
||||
|
||||
// LDR L1 SH, 8-bit. Components are stored the same way as in Half4,
|
||||
// but L1 must be unpacked following way:
|
||||
// L1n = (L1n * 2 - 1) * L0 * 0.5 + 0.5
|
||||
RGBA8,
|
||||
|
||||
// LDR L1 SH with monochrome directional component (= single color and direction), 8-bit.
|
||||
// Tex0 = L0 (alpha unused)
|
||||
// Tex1 = L1xyz (alpha unused)
|
||||
RGBA8Mono
|
||||
}
|
||||
|
||||
public enum ShadowmaskEncoding
|
||||
{
|
||||
RGBA8,
|
||||
A8
|
||||
}
|
||||
|
||||
public bool enableBaking = true;
|
||||
public Bounds bounds = new Bounds(Vector3.zero, Vector3.one);
|
||||
public bool adaptiveRes = true;
|
||||
public float voxelsPerUnit = 0.5f;
|
||||
public int resolutionX = 16;
|
||||
public int resolutionY = 16;
|
||||
public int resolutionZ = 16;
|
||||
public Encoding encoding = Encoding.Half4;
|
||||
public ShadowmaskEncoding shadowmaskEncoding = ShadowmaskEncoding.RGBA8;
|
||||
public bool firstLightIsAlwaysAlpha = false;
|
||||
public bool denoise = false;
|
||||
public bool isGlobal = false;
|
||||
public Texture3D bakedTexture0, bakedTexture1, bakedTexture2, bakedTexture3, bakedMask;
|
||||
public bool supportRotationAfterBake;
|
||||
public bool rotateAroundY;
|
||||
public bool _rotateAroundXYZ;
|
||||
|
||||
public int multiVolumePriority = 0;
|
||||
|
||||
public static BakeryVolume globalVolume;
|
||||
|
||||
public static bool showAll = false;
|
||||
|
||||
#if UNITY_EDITOR
|
||||
// Visualization
|
||||
static int probesPreviewCount = 1;
|
||||
static int probesPreviewCountCached = -1;
|
||||
static Material probesPreviewMaterial;
|
||||
static ComputeBuffer probesPreviewPositionBuffer;
|
||||
static ComputeBuffer probesPreviewArgsBuffer;
|
||||
static uint[] args = new uint[5] { 0, 0, 0, 0, 0 };
|
||||
static Vector3[] probesPreviewPositions;
|
||||
static Vector3 probesPreviewResolution;
|
||||
|
||||
public static bool showIndirectOnly = false;
|
||||
public static bool showProbesPreview = false;
|
||||
public static float probesPreviewMul = 1.0f;
|
||||
public static float probesPreviewSize = 0.15f;
|
||||
public static bool showBakedTexture = true;
|
||||
static Mesh probePreviewMesh; // shared mesh
|
||||
static bool callbackSet = false;
|
||||
#endif
|
||||
|
||||
/*private void OnDrawGizmosSelected()
|
||||
{
|
||||
if (showProbesPreview) return;
|
||||
Gizmos.color = new Color(0.4f, 1f, 0.0f, 0.15f);
|
||||
Gizmos.DrawCube( bounds.center , -bounds.size);
|
||||
Gizmos.color = new Color(1f, 0.7f, 0.2f, 0.22f);
|
||||
Gizmos.DrawCube( bounds.center , bounds.size);
|
||||
}*/
|
||||
|
||||
Transform tform;
|
||||
|
||||
public Vector3 GetMin()
|
||||
{
|
||||
if (rotateAroundY)
|
||||
{
|
||||
var sc = GetRotationY();
|
||||
var p = bounds.min - bounds.center;
|
||||
return new Vector3(p.x*sc.y + p.z*sc.x,
|
||||
p.y,
|
||||
p.x*-sc.x + p.z*sc.y) + bounds.center;
|
||||
}
|
||||
return bounds.min;
|
||||
}
|
||||
|
||||
public Vector3 GetMax()
|
||||
{
|
||||
if (rotateAroundY)
|
||||
{
|
||||
var sc = GetRotationY();
|
||||
var p = bounds.max - bounds.center;
|
||||
return new Vector3(p.x*sc.y + p.z*sc.x,
|
||||
p.y,
|
||||
p.x*-sc.x + p.z*sc.y) + bounds.center;
|
||||
}
|
||||
return bounds.max;
|
||||
}
|
||||
|
||||
Vector3 TransformPoint(Vector3 p, Vector3 center, Vector2 sc)
|
||||
{
|
||||
p -= center;
|
||||
return new Vector3(p.x*sc.y + p.z*sc.x,
|
||||
p.y,
|
||||
p.x*-sc.x + p.z*sc.y) + center;
|
||||
}
|
||||
|
||||
public Vector4 GetWorldXZMinMax()
|
||||
{
|
||||
var bmin = bounds.min;
|
||||
var bmax = bounds.max;
|
||||
if (rotateAroundY)
|
||||
{
|
||||
var sc = GetRotationY();
|
||||
var center = bounds.center;
|
||||
var p00 = bounds.min;
|
||||
var p10 = new Vector3(bounds.max.x, 0, bounds.min.z);
|
||||
var p11 = bounds.max;
|
||||
var p01 = new Vector3(bounds.min.x, 0, bounds.max.z);
|
||||
|
||||
p00 = TransformPoint(p00, center, sc);
|
||||
p10 = TransformPoint(p10, center, sc);
|
||||
p11 = TransformPoint(p11, center, sc);
|
||||
p01 = TransformPoint(p01, center, sc);
|
||||
|
||||
float minx = Mathf.Min(Mathf.Min(Mathf.Min(p00.x, p10.x), p11.x), p01.x);
|
||||
float minz = Mathf.Min(Mathf.Min(Mathf.Min(p00.z, p10.z), p11.z), p01.z);
|
||||
|
||||
float maxx = Mathf.Max(Mathf.Max(Mathf.Max(p00.x, p10.x), p11.x), p01.x);
|
||||
float maxz = Mathf.Max(Mathf.Max(Mathf.Max(p00.z, p10.z), p11.z), p01.z);
|
||||
|
||||
return new Vector4(minx, minz, maxx, maxz);
|
||||
}
|
||||
return new Vector4(bmin.x, bmin.z, bmax.x, bmax.z);
|
||||
}
|
||||
|
||||
public Vector3 GetMaxXMinZ()
|
||||
{
|
||||
if (rotateAroundY)
|
||||
{
|
||||
var sc = GetRotationY();
|
||||
var p = new Vector3(bounds.max.x, 0, bounds.min.z) - bounds.center;
|
||||
return new Vector3(p.x*sc.y + p.z*sc.x,
|
||||
p.y,
|
||||
p.x*-sc.x + p.z*sc.y) + bounds.center;
|
||||
}
|
||||
return bounds.max;
|
||||
}
|
||||
|
||||
public Vector3 GetInvSize()
|
||||
{
|
||||
var b = bounds;
|
||||
return new Vector3(1.0f/b.size.x, 1.0f/b.size.y, 1.0f/b.size.z);;
|
||||
}
|
||||
|
||||
public Matrix4x4 GetMatrix()
|
||||
{
|
||||
if (tform == null) tform = transform;
|
||||
return Matrix4x4.TRS(tform.position, tform.rotation, Vector3.one).inverse;
|
||||
}
|
||||
|
||||
public Vector2 GetRotationY()
|
||||
{
|
||||
if (!rotateAroundY) return new Vector2(0,1);
|
||||
if (tform == null) tform = transform;
|
||||
float a = tform.eulerAngles.y * Mathf.Deg2Rad;
|
||||
return new Vector2(Mathf.Sin(a), Mathf.Cos(a));
|
||||
}
|
||||
|
||||
public void SetGlobalParams()
|
||||
{
|
||||
Shader.SetGlobalTexture("_Volume0", bakedTexture0);
|
||||
Shader.SetGlobalTexture("_Volume1", bakedTexture1);
|
||||
Shader.SetGlobalTexture("_Volume2", bakedTexture2);
|
||||
if (bakedTexture3 != null) Shader.SetGlobalTexture("_Volume3", bakedTexture3);
|
||||
Shader.SetGlobalTexture("_VolumeMask", bakedMask);
|
||||
Shader.SetGlobalVector("_GlobalVolumeMin", GetMin());
|
||||
Shader.SetGlobalVector("_GlobalVolumeInvSize", GetInvSize());
|
||||
if (supportRotationAfterBake) Shader.SetGlobalMatrix("_GlobalVolumeMatrix", GetMatrix());
|
||||
if (rotateAroundY) Shader.SetGlobalVector("_GlobalVolumeRY", GetRotationY());
|
||||
if (bakedTexture0 != null) Shader.SetGlobalVector("_GlobalVolumeVoxelSize", new Vector3(1.0f/bakedTexture0.width, 1.0f/bakedTexture0.height, 1.0f/bakedTexture0.depth));
|
||||
}
|
||||
|
||||
public void UpdateBounds()
|
||||
{
|
||||
var pos = transform.position;
|
||||
var size = bounds.size;
|
||||
bounds = new Bounds(pos, size);
|
||||
}
|
||||
|
||||
public void OnEnable()
|
||||
{
|
||||
if (isGlobal)
|
||||
{
|
||||
globalVolume = this;
|
||||
SetGlobalParams();
|
||||
}
|
||||
}
|
||||
|
||||
#if UNITY_EDITOR
|
||||
static void ProbePreviewUpdate()
|
||||
{
|
||||
UnityEditor.SceneView.RepaintAll();
|
||||
}
|
||||
|
||||
private void Update()
|
||||
{
|
||||
if (!showProbesPreview && callbackSet)
|
||||
{
|
||||
EditorApplication.update -= ProbePreviewUpdate;
|
||||
callbackSet = false;
|
||||
probesPreviewCountCached = -1;
|
||||
}
|
||||
else if (showProbesPreview && !callbackSet)
|
||||
{
|
||||
EditorApplication.update -= ProbePreviewUpdate;
|
||||
EditorApplication.update += ProbePreviewUpdate;
|
||||
callbackSet = true;
|
||||
}
|
||||
|
||||
if (Selection.activeObject != gameObject || !showProbesPreview)
|
||||
{
|
||||
// Reset buffers
|
||||
probesPreviewCountCached = -1;
|
||||
return;
|
||||
}
|
||||
|
||||
if (probePreviewMesh == null)
|
||||
{
|
||||
probePreviewMesh = GenerateSphereMesh();
|
||||
}
|
||||
|
||||
var bakedTexPreview = showBakedTexture && bakedTexture0 != null;
|
||||
if (bakedTexPreview)
|
||||
{
|
||||
probesPreviewResolution = new Vector3(bakedTexture0.width, bakedTexture0.height, bakedTexture0.depth);
|
||||
}
|
||||
else
|
||||
{
|
||||
probesPreviewResolution = new Vector3(resolutionX, resolutionY, resolutionZ);
|
||||
}
|
||||
|
||||
probesPreviewCount = (int)(probesPreviewResolution.x * probesPreviewResolution.y * probesPreviewResolution.z);
|
||||
|
||||
if (probesPreviewCountCached != probesPreviewCount || probesPreviewMaterial == null)
|
||||
{
|
||||
ProbesPreviewCreateResources();
|
||||
probesPreviewCountCached = probesPreviewCount;
|
||||
}
|
||||
|
||||
var probesSize = probesPreviewSize / Mathf.Max(Mathf.Max(probesPreviewResolution.x / bounds.size.x,
|
||||
probesPreviewResolution.y / bounds.size.y),
|
||||
probesPreviewResolution.z / bounds.size.z);
|
||||
|
||||
probesPreviewMaterial.SetFloat("_ProbeSize", probesSize);
|
||||
probesPreviewMaterial.SetFloat("_ProbeMul", probesPreviewMul);
|
||||
probesPreviewMaterial.SetVector("_GridPosition", bounds.center);
|
||||
probesPreviewMaterial.SetVector("_GridSize", bounds.size);
|
||||
probesPreviewMaterial.SetTexture("_VolumePreview0", bakedTexture0);
|
||||
probesPreviewMaterial.SetTexture("_VolumePreview1", bakedTexture1);
|
||||
probesPreviewMaterial.SetTexture("_VolumePreview2", bakedTexture2);
|
||||
probesPreviewMaterial.SetTexture("_VolumePreview3", bakedTexture3);
|
||||
probesPreviewMaterial.SetTexture("_VolumePreviewMask", bakedMask);
|
||||
|
||||
float bakedMaskState = -1;
|
||||
if (bakedMask != null)
|
||||
bakedMaskState = shadowmaskEncoding == ShadowmaskEncoding.RGBA8 ? 1 : 2;
|
||||
if (showIndirectOnly)
|
||||
bakedMaskState = 0;
|
||||
|
||||
probesPreviewMaterial.SetFloat("_ShadowMask", bakedMaskState);
|
||||
probesPreviewMaterial.SetFloat("_Encoding", (int)encoding);
|
||||
probesPreviewMaterial.SetFloat("_EmptyProbes", bakedTexPreview ? 0 : 1);
|
||||
probesPreviewMaterial.SetBuffer("positionBuffer", probesPreviewPositionBuffer);
|
||||
// bool isMobilePlatform = EditorUserBuildSettings.activeBuildTarget == BuildTarget.Android ||
|
||||
// EditorUserBuildSettings.activeBuildTarget == BuildTarget.iOS;
|
||||
// if(isMobilePlatform)
|
||||
// probesPreviewMaterial.EnableKeyword("BAKERY_COMPRESSED_VOLUME_RGBM");
|
||||
// else
|
||||
// probesPreviewMaterial.DisableKeyword("BAKERY_COMPRESSED_VOLUME_RGBM");
|
||||
|
||||
Graphics.DrawMeshInstancedIndirect(probePreviewMesh, 0, probesPreviewMaterial, bounds, probesPreviewArgsBuffer);
|
||||
}
|
||||
|
||||
private void ProbesPreviewCreateResources()
|
||||
{
|
||||
if (probesPreviewMaterial == null)
|
||||
{
|
||||
probesPreviewMaterial = new Material(Shader.Find("Hidden/ftVolumePreview"));
|
||||
}
|
||||
|
||||
// Indirect args
|
||||
if (probesPreviewArgsBuffer != null) probesPreviewArgsBuffer.Release();
|
||||
probesPreviewArgsBuffer = new ComputeBuffer(1, args.Length * sizeof(uint), ComputeBufferType.IndirectArguments);
|
||||
args[0] = (uint)probePreviewMesh.GetIndexCount(0);
|
||||
args[1] = (uint)probesPreviewCount;
|
||||
args[2] = 0;//(uint)probePreviewMesh.GetIndexStart(0);
|
||||
args[3] = 0;//(uint)probePreviewMesh.GetBaseVertex(0);
|
||||
|
||||
probesPreviewArgsBuffer.SetData(args);
|
||||
|
||||
// Positions
|
||||
if (probesPreviewPositionBuffer != null) probesPreviewPositionBuffer.Release();
|
||||
probesPreviewPositionBuffer = new ComputeBuffer(probesPreviewCount, 12);
|
||||
|
||||
probesPreviewPositions = new Vector3[probesPreviewCount];
|
||||
int index = 0;
|
||||
for (int x = 0; x < probesPreviewResolution.x; x++)
|
||||
{
|
||||
for (int y = 0; y < probesPreviewResolution.y; y++)
|
||||
{
|
||||
for (int z = 0; z < probesPreviewResolution.z; z++)
|
||||
{
|
||||
probesPreviewPositions[index] = new Vector3((x + 0.5f) / (float)probesPreviewResolution.x - 0.5f,
|
||||
(y + 0.5f) / (float)probesPreviewResolution.y - 0.5f,
|
||||
(z + 0.5f) / (float)probesPreviewResolution.z - 0.5f);
|
||||
index++;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
probesPreviewPositionBuffer.SetData(probesPreviewPositions);
|
||||
}
|
||||
|
||||
void OnDestroy()
|
||||
{
|
||||
if (probesPreviewPositionBuffer != null) probesPreviewPositionBuffer.Release();
|
||||
probesPreviewPositionBuffer = null;
|
||||
|
||||
if (probesPreviewArgsBuffer != null) probesPreviewArgsBuffer.Release();
|
||||
probesPreviewArgsBuffer = null;
|
||||
}
|
||||
|
||||
private static Mesh GenerateSphereMesh(int stacks = 4, int slices = 6, float radius = 0.5f)
|
||||
{
|
||||
int vertexCount = (stacks + 1) * (slices + 1);
|
||||
Vector3[] vertices = new Vector3[vertexCount];
|
||||
Vector3[] normal = new Vector3[vertexCount];
|
||||
List<int> indices = new List<int>();
|
||||
Mesh mesh = new Mesh();
|
||||
|
||||
int index = 0;
|
||||
for (int stack = 0; stack <= stacks; stack++)
|
||||
{
|
||||
float thetaV = Mathf.PI * ((float)stack / (float)stacks);
|
||||
float r = radius * Mathf.Sin(thetaV);
|
||||
float y = radius * Mathf.Cos(thetaV);
|
||||
for (int slice = 0; slice <= slices; slice++)
|
||||
{
|
||||
float thetaH = 2.0f * Mathf.PI * ((float)slice / (float)slices);
|
||||
float x = r * Mathf.Cos(thetaH);
|
||||
float z = r * Mathf.Sin(thetaH);
|
||||
vertices[index] = new Vector3(x, y, z);
|
||||
|
||||
index++;
|
||||
}
|
||||
}
|
||||
|
||||
for (int stack = 0; stack < stacks; stack++)
|
||||
{
|
||||
for (int slice = 0; slice < slices; slice++)
|
||||
{
|
||||
int count = slice + ((slices + 1) * stack);
|
||||
|
||||
indices.Add(count);
|
||||
indices.Add(count + 1);
|
||||
indices.Add(count + slices + 2);
|
||||
|
||||
indices.Add(count);
|
||||
indices.Add(count + slices + 2);
|
||||
indices.Add(count + slices + 1);
|
||||
}
|
||||
}
|
||||
|
||||
for (int i = 0; i < vertices.Length; i++)
|
||||
{
|
||||
normal[i] = vertices[i].normalized;
|
||||
}
|
||||
|
||||
mesh.vertices = vertices;
|
||||
mesh.normals = normal;
|
||||
mesh.triangles = indices.ToArray();
|
||||
//mesh.Optimize();
|
||||
MeshUtility.Optimize(mesh);
|
||||
mesh.RecalculateBounds();
|
||||
|
||||
return mesh;
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
void OnDrawGizmos()
|
||||
{
|
||||
if (!showAll) return;
|
||||
|
||||
Gizmos.color = new Color(1, 1, 1, 0.35f);
|
||||
|
||||
var tform = transform;
|
||||
if (rotateAroundY)
|
||||
{
|
||||
var e = tform.eulerAngles;
|
||||
var r = Quaternion.Euler(0, e.y, 0);
|
||||
Gizmos.matrix = Matrix4x4.TRS(r * -tform.position + tform.position, r, Vector3.one);
|
||||
}
|
||||
|
||||
Gizmos.DrawWireCube(tform.position, bounds.size);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,12 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 17ce3c1d3490b7143a67ebdc73cab6c1
|
||||
timeCreated: 1589618132
|
||||
licenseType: Store
|
||||
MonoImporter:
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 5901328f65389b444aeb64ae86c8d276
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
Binary file not shown.
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 8decd953e91247a4ab47e5df390a258d
|
||||
timeCreated: 1585646705
|
||||
licenseType: Store
|
||||
DefaultImporter:
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
Binary file not shown.
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: d2aec06f3f96cab4b822ed687e9e5ad4
|
||||
timeCreated: 1531146949
|
||||
licenseType: Store
|
||||
DefaultImporter:
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
Binary file not shown.
@@ -0,0 +1,100 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 04afea73344b7d049b5b7ac5ae315dd5
|
||||
timeCreated: 1539193964
|
||||
licenseType: Store
|
||||
TextureImporter:
|
||||
fileIDToRecycleName: {}
|
||||
serializedVersion: 4
|
||||
mipmaps:
|
||||
mipMapMode: 0
|
||||
enableMipMap: 0
|
||||
sRGBTexture: 0
|
||||
linearTexture: 0
|
||||
fadeOut: 0
|
||||
borderMipMap: 0
|
||||
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:
|
||||
filterMode: -1
|
||||
aniso: -1
|
||||
mipBias: -1
|
||||
wrapMode: -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
|
||||
textureFormat: -1
|
||||
textureCompression: 0
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 0
|
||||
- buildTarget: Standalone
|
||||
maxTextureSize: 2048
|
||||
textureFormat: -1
|
||||
textureCompression: 0
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 0
|
||||
- buildTarget: iPhone
|
||||
maxTextureSize: 2048
|
||||
textureFormat: -1
|
||||
textureCompression: 0
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 0
|
||||
- buildTarget: Android
|
||||
maxTextureSize: 2048
|
||||
textureFormat: -1
|
||||
textureCompression: 0
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 0
|
||||
- buildTarget: WebGL
|
||||
maxTextureSize: 2048
|
||||
textureFormat: -1
|
||||
textureCompression: 0
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 0
|
||||
spriteSheet:
|
||||
serializedVersion: 2
|
||||
sprites: []
|
||||
outline: []
|
||||
spritePackingTag:
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
Binary file not shown.
@@ -0,0 +1,9 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 8b4edc58204bf354c9dd12ceacc42350
|
||||
timeCreated: 1534495245
|
||||
licenseType: Store
|
||||
NativeFormatImporter:
|
||||
mainObjectFileID: -1
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 0915c00564ada5c4c85f12b9e1350729
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,47 @@
|
||||
%YAML 1.1
|
||||
%TAG !u! tag:unity3d.com,2011:
|
||||
--- !u!114 &11400000
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 0}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: ec0b4dd729a12d046982652f834580a2, type: 3}
|
||||
m_Name: LMGroup_Plane_MonoSH
|
||||
m_EditorClassIdentifier:
|
||||
resolution: 256
|
||||
bitmask: 32
|
||||
id: 3
|
||||
sortingID: 0
|
||||
isImplicit: 0
|
||||
area: 0
|
||||
totalVertexCount: 0
|
||||
vertexCounter: 0
|
||||
sceneLodLevel: -1
|
||||
autoResolution: 0
|
||||
sceneName:
|
||||
tag: -1
|
||||
containsTerrains: 0
|
||||
probes: 0
|
||||
mode: 0
|
||||
renderMode: 1000
|
||||
renderDirMode: 6
|
||||
atlasPacker: 1000
|
||||
holeFilling: 0
|
||||
vertexSamplingDensity: 0
|
||||
computeSSS: 0
|
||||
sssSamples: 16
|
||||
sssDensity: 10
|
||||
sssColor: {r: 1, g: 1, b: 1, a: 1}
|
||||
sssScale: 1
|
||||
fakeShadowBias: 0
|
||||
transparentSelfShadow: 0
|
||||
flipNormal: 0
|
||||
parentName:
|
||||
overridePath:
|
||||
fixPos3D: 0
|
||||
voxelSize: {x: 1, y: 1, z: 1}
|
||||
passedFilter: 1
|
||||
@@ -0,0 +1,9 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 4426f602406e44b43b0e6855c0f9f48a
|
||||
timeCreated: 1539192740
|
||||
licenseType: Store
|
||||
NativeFormatImporter:
|
||||
mainObjectFileID: 11400000
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,47 @@
|
||||
%YAML 1.1
|
||||
%TAG !u! tag:unity3d.com,2011:
|
||||
--- !u!114 &11400000
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 0}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: ec0b4dd729a12d046982652f834580a2, type: 3}
|
||||
m_Name: LMGroup_Plane_RNM
|
||||
m_EditorClassIdentifier:
|
||||
resolution: 256
|
||||
bitmask: 2
|
||||
id: 5
|
||||
sortingID: 2
|
||||
isImplicit: 0
|
||||
area: 0
|
||||
totalVertexCount: 0
|
||||
vertexCounter: 0
|
||||
sceneLodLevel: -1
|
||||
autoResolution: 0
|
||||
sceneName:
|
||||
tag: -1
|
||||
containsTerrains: 0
|
||||
probes: 0
|
||||
mode: 0
|
||||
renderMode: 1000
|
||||
renderDirMode: 3
|
||||
atlasPacker: 1000
|
||||
holeFilling: 0
|
||||
vertexSamplingDensity: 0
|
||||
computeSSS: 0
|
||||
sssSamples: 16
|
||||
sssDensity: 10
|
||||
sssColor: {r: 1, g: 1, b: 1, a: 1}
|
||||
sssScale: 1
|
||||
fakeShadowBias: 0
|
||||
transparentSelfShadow: 0
|
||||
flipNormal: 0
|
||||
parentName:
|
||||
overridePath:
|
||||
fixPos3D: 0
|
||||
voxelSize: {x: 1, y: 1, z: 1}
|
||||
passedFilter: 1
|
||||
@@ -0,0 +1,9 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 1db5e7e6e40450946b3d699e4672bd76
|
||||
timeCreated: 1539192763
|
||||
licenseType: Store
|
||||
NativeFormatImporter:
|
||||
mainObjectFileID: 11400000
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,47 @@
|
||||
%YAML 1.1
|
||||
%TAG !u! tag:unity3d.com,2011:
|
||||
--- !u!114 &11400000
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 0}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: ec0b4dd729a12d046982652f834580a2, type: 3}
|
||||
m_Name: LMGroup_Plane_SH
|
||||
m_EditorClassIdentifier:
|
||||
resolution: 256
|
||||
bitmask: 4
|
||||
id: 1
|
||||
sortingID: 4
|
||||
isImplicit: 0
|
||||
area: 0
|
||||
totalVertexCount: 0
|
||||
vertexCounter: 0
|
||||
sceneLodLevel: -1
|
||||
autoResolution: 0
|
||||
sceneName:
|
||||
tag: -1
|
||||
containsTerrains: 0
|
||||
probes: 0
|
||||
mode: 0
|
||||
renderMode: 1000
|
||||
renderDirMode: 4
|
||||
atlasPacker: 1000
|
||||
holeFilling: 0
|
||||
vertexSamplingDensity: 0
|
||||
computeSSS: 0
|
||||
sssSamples: 16
|
||||
sssDensity: 10
|
||||
sssColor: {r: 1, g: 1, b: 1, a: 1}
|
||||
sssScale: 1
|
||||
fakeShadowBias: 0
|
||||
transparentSelfShadow: 0
|
||||
flipNormal: 0
|
||||
parentName:
|
||||
overridePath:
|
||||
fixPos3D: 0
|
||||
voxelSize: {x: 1, y: 1, z: 1}
|
||||
passedFilter: 1
|
||||
@@ -0,0 +1,9 @@
|
||||
fileFormatVersion: 2
|
||||
guid: c1cbe7e9c942fa34dae76215e78921b8
|
||||
timeCreated: 1539192770
|
||||
licenseType: Store
|
||||
NativeFormatImporter:
|
||||
mainObjectFileID: 11400000
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,47 @@
|
||||
%YAML 1.1
|
||||
%TAG !u! tag:unity3d.com,2011:
|
||||
--- !u!114 &11400000
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 0}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: ec0b4dd729a12d046982652f834580a2, type: 3}
|
||||
m_Name: LMGroup_Plane_baked_normal
|
||||
m_EditorClassIdentifier:
|
||||
resolution: 256
|
||||
bitmask: 16
|
||||
id: 4
|
||||
sortingID: 1
|
||||
isImplicit: 0
|
||||
area: 0
|
||||
totalVertexCount: 0
|
||||
vertexCounter: 0
|
||||
sceneLodLevel: -1
|
||||
autoResolution: 0
|
||||
sceneName:
|
||||
tag: -1
|
||||
containsTerrains: 0
|
||||
probes: 0
|
||||
mode: 0
|
||||
renderMode: 1000
|
||||
renderDirMode: 1
|
||||
atlasPacker: 1000
|
||||
holeFilling: 0
|
||||
vertexSamplingDensity: 0
|
||||
computeSSS: 0
|
||||
sssSamples: 16
|
||||
sssDensity: 10
|
||||
sssColor: {r: 1, g: 1, b: 1, a: 1}
|
||||
sssScale: 1
|
||||
fakeShadowBias: 0
|
||||
transparentSelfShadow: 0
|
||||
flipNormal: 0
|
||||
parentName:
|
||||
overridePath:
|
||||
fixPos3D: 0
|
||||
voxelSize: {x: 1, y: 1, z: 1}
|
||||
passedFilter: 1
|
||||
@@ -0,0 +1,9 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 2e80b3aefa89d2a439a1e3b99c251999
|
||||
timeCreated: 1539192740
|
||||
licenseType: Store
|
||||
NativeFormatImporter:
|
||||
mainObjectFileID: 11400000
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,47 @@
|
||||
%YAML 1.1
|
||||
%TAG !u! tag:unity3d.com,2011:
|
||||
--- !u!114 &11400000
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 0}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: ec0b4dd729a12d046982652f834580a2, type: 3}
|
||||
m_Name: LMGroup_Plane_directional
|
||||
m_EditorClassIdentifier:
|
||||
resolution: 256
|
||||
bitmask: 8
|
||||
id: 0
|
||||
sortingID: 3
|
||||
isImplicit: 0
|
||||
area: 0
|
||||
totalVertexCount: 0
|
||||
vertexCounter: 0
|
||||
sceneLodLevel: -1
|
||||
autoResolution: 0
|
||||
sceneName:
|
||||
tag: -1
|
||||
containsTerrains: 0
|
||||
probes: 0
|
||||
mode: 0
|
||||
renderMode: 1000
|
||||
renderDirMode: 2
|
||||
atlasPacker: 1000
|
||||
holeFilling: 0
|
||||
vertexSamplingDensity: 0
|
||||
computeSSS: 0
|
||||
sssSamples: 16
|
||||
sssDensity: 10
|
||||
sssColor: {r: 1, g: 1, b: 1, a: 1}
|
||||
sssScale: 1
|
||||
fakeShadowBias: 0
|
||||
transparentSelfShadow: 0
|
||||
flipNormal: 0
|
||||
parentName:
|
||||
overridePath:
|
||||
fixPos3D: 0
|
||||
voxelSize: {x: 1, y: 1, z: 1}
|
||||
passedFilter: 1
|
||||
@@ -0,0 +1,9 @@
|
||||
fileFormatVersion: 2
|
||||
guid: dbc6caa18f605f1468abd0792a17aee0
|
||||
timeCreated: 1539192753
|
||||
licenseType: Store
|
||||
NativeFormatImporter:
|
||||
mainObjectFileID: 11400000
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,47 @@
|
||||
%YAML 1.1
|
||||
%TAG !u! tag:unity3d.com,2011:
|
||||
--- !u!114 &11400000
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 0}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: ec0b4dd729a12d046982652f834580a2, type: 3}
|
||||
m_Name: LMGroup_Sphere_VertexDir
|
||||
m_EditorClassIdentifier:
|
||||
resolution: 512
|
||||
bitmask: 1
|
||||
id: 2
|
||||
sortingID: 0
|
||||
isImplicit: 0
|
||||
area: 0
|
||||
totalVertexCount: 515
|
||||
vertexCounter: 515
|
||||
sceneLodLevel: -1
|
||||
autoResolution: 0
|
||||
sceneName:
|
||||
tag: -1
|
||||
containsTerrains: 0
|
||||
probes: 0
|
||||
mode: 2
|
||||
renderMode: 1000
|
||||
renderDirMode: 2
|
||||
atlasPacker: 1000
|
||||
holeFilling: 0
|
||||
vertexSamplingDensity: 0
|
||||
computeSSS: 0
|
||||
sssSamples: 16
|
||||
sssDensity: 10
|
||||
sssColor: {r: 1, g: 1, b: 1, a: 1}
|
||||
sssScale: 1
|
||||
fakeShadowBias: 0
|
||||
transparentSelfShadow: 0
|
||||
flipNormal: 0
|
||||
parentName:
|
||||
overridePath:
|
||||
fixPos3D: 0
|
||||
voxelSize: {x: 1, y: 1, z: 1}
|
||||
passedFilter: 0
|
||||
@@ -0,0 +1,9 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 5ff254110c9010243a127ea7f4efd84c
|
||||
timeCreated: 1538517419
|
||||
licenseType: Store
|
||||
NativeFormatImporter:
|
||||
mainObjectFileID: 11400000
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,47 @@
|
||||
%YAML 1.1
|
||||
%TAG !u! tag:unity3d.com,2011:
|
||||
--- !u!114 &11400000
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 0}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: ec0b4dd729a12d046982652f834580a2, type: 3}
|
||||
m_Name: LMGroup_Sphere_VertexLM
|
||||
m_EditorClassIdentifier:
|
||||
resolution: 512
|
||||
bitmask: 1
|
||||
id: 2
|
||||
sortingID: 0
|
||||
isImplicit: 0
|
||||
area: 0
|
||||
totalVertexCount: 515
|
||||
vertexCounter: 515
|
||||
sceneLodLevel: -1
|
||||
autoResolution: 0
|
||||
sceneName:
|
||||
tag: -1
|
||||
containsTerrains: 0
|
||||
probes: 0
|
||||
mode: 2
|
||||
renderMode: 1000
|
||||
renderDirMode: 1000
|
||||
atlasPacker: 1000
|
||||
holeFilling: 0
|
||||
vertexSamplingDensity: 0
|
||||
computeSSS: 0
|
||||
sssSamples: 16
|
||||
sssDensity: 10
|
||||
sssColor: {r: 1, g: 1, b: 1, a: 1}
|
||||
sssScale: 1
|
||||
fakeShadowBias: 0
|
||||
transparentSelfShadow: 0
|
||||
flipNormal: 0
|
||||
parentName:
|
||||
overridePath:
|
||||
fixPos3D: 0
|
||||
voxelSize: {x: 1, y: 1, z: 1}
|
||||
passedFilter: 0
|
||||
@@ -0,0 +1,9 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 68d9da02c481a774c951d06f44521064
|
||||
timeCreated: 1533631075
|
||||
licenseType: Store
|
||||
NativeFormatImporter:
|
||||
mainObjectFileID: 11400000
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,47 @@
|
||||
%YAML 1.1
|
||||
%TAG !u! tag:unity3d.com,2011:
|
||||
--- !u!114 &11400000
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 0}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: ec0b4dd729a12d046982652f834580a2, type: 3}
|
||||
m_Name: LMGroup_Sphere_VertexMonoSH
|
||||
m_EditorClassIdentifier:
|
||||
resolution: 512
|
||||
bitmask: 1
|
||||
id: 1
|
||||
sortingID: 0
|
||||
isImplicit: 0
|
||||
area: 0
|
||||
totalVertexCount: 515
|
||||
vertexCounter: 515
|
||||
sceneLodLevel: -1
|
||||
autoResolution: 0
|
||||
sceneName:
|
||||
tag: -1
|
||||
containsTerrains: 0
|
||||
probes: 0
|
||||
mode: 2
|
||||
renderMode: 1000
|
||||
renderDirMode: 6
|
||||
atlasPacker: 1000
|
||||
holeFilling: 0
|
||||
vertexSamplingDensity: 0
|
||||
computeSSS: 0
|
||||
sssSamples: 16
|
||||
sssDensity: 10
|
||||
sssColor: {r: 1, g: 1, b: 1, a: 1}
|
||||
sssScale: 1
|
||||
fakeShadowBias: 0
|
||||
transparentSelfShadow: 0
|
||||
flipNormal: 0
|
||||
parentName:
|
||||
overridePath:
|
||||
fixPos3D: 0
|
||||
voxelSize: {x: 1, y: 1, z: 1}
|
||||
passedFilter: 2
|
||||
@@ -0,0 +1,9 @@
|
||||
fileFormatVersion: 2
|
||||
guid: ff54c4144971dbf4997659cfe4b495f7
|
||||
timeCreated: 1538517419
|
||||
licenseType: Store
|
||||
NativeFormatImporter:
|
||||
mainObjectFileID: 11400000
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,47 @@
|
||||
%YAML 1.1
|
||||
%TAG !u! tag:unity3d.com,2011:
|
||||
--- !u!114 &11400000
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 0}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: ec0b4dd729a12d046982652f834580a2, type: 3}
|
||||
m_Name: LMGroup_Sphere_VertexSH
|
||||
m_EditorClassIdentifier:
|
||||
resolution: 512
|
||||
bitmask: 1
|
||||
id: 1
|
||||
sortingID: 0
|
||||
isImplicit: 0
|
||||
area: 0
|
||||
totalVertexCount: 515
|
||||
vertexCounter: 515
|
||||
sceneLodLevel: -1
|
||||
autoResolution: 0
|
||||
sceneName:
|
||||
tag: -1
|
||||
containsTerrains: 0
|
||||
probes: 0
|
||||
mode: 2
|
||||
renderMode: 1000
|
||||
renderDirMode: 4
|
||||
atlasPacker: 1000
|
||||
holeFilling: 0
|
||||
vertexSamplingDensity: 0
|
||||
computeSSS: 0
|
||||
sssSamples: 16
|
||||
sssDensity: 10
|
||||
sssColor: {r: 1, g: 1, b: 1, a: 1}
|
||||
sssScale: 1
|
||||
fakeShadowBias: 0
|
||||
transparentSelfShadow: 0
|
||||
flipNormal: 0
|
||||
parentName:
|
||||
overridePath:
|
||||
fixPos3D: 0
|
||||
voxelSize: {x: 1, y: 1, z: 1}
|
||||
passedFilter: 3
|
||||
@@ -0,0 +1,9 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 2f32081c71e7f6245a10b3791f33b76d
|
||||
timeCreated: 1538517419
|
||||
licenseType: Store
|
||||
NativeFormatImporter:
|
||||
mainObjectFileID: 11400000
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,47 @@
|
||||
%YAML 1.1
|
||||
%TAG !u! tag:unity3d.com,2011:
|
||||
--- !u!114 &11400000
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 0}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: ec0b4dd729a12d046982652f834580a2, type: 3}
|
||||
m_Name: LMGroup_exampleSSS
|
||||
m_EditorClassIdentifier:
|
||||
resolution: 512
|
||||
bitmask: 1
|
||||
id: 2
|
||||
sortingID: 0
|
||||
isImplicit: 0
|
||||
area: 0
|
||||
totalVertexCount: 0
|
||||
vertexCounter: 0
|
||||
sceneLodLevel: -1
|
||||
autoResolution: 0
|
||||
sceneName: example_translucency
|
||||
tag: -1
|
||||
containsTerrains: 0
|
||||
probes: 0
|
||||
mode: 1
|
||||
renderMode: 1000
|
||||
renderDirMode: 1000
|
||||
atlasPacker: 1000
|
||||
holeFilling: 0
|
||||
vertexSamplingDensity: 0
|
||||
computeSSS: 1
|
||||
sssSamples: 16
|
||||
sssDensity: 5
|
||||
sssColor: {r: 0.7411765, g: 0.1764706, b: 0.07450981, a: 1}
|
||||
sssScale: 1
|
||||
fakeShadowBias: 0
|
||||
transparentSelfShadow: 0
|
||||
flipNormal: 0
|
||||
parentName:
|
||||
overridePath:
|
||||
fixPos3D: 0
|
||||
voxelSize: {x: 1, y: 1, z: 1}
|
||||
passedFilter: 1
|
||||
@@ -0,0 +1,9 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 6ae4c8f1f2578e04385e62102de2869d
|
||||
timeCreated: 1637674399
|
||||
licenseType: Store
|
||||
NativeFormatImporter:
|
||||
mainObjectFileID: 11400000
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,47 @@
|
||||
%YAML 1.1
|
||||
%TAG !u! tag:unity3d.com,2011:
|
||||
--- !u!114 &11400000
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 0}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: ec0b4dd729a12d046982652f834580a2, type: 3}
|
||||
m_Name: LMGroup_example_bush_day
|
||||
m_EditorClassIdentifier:
|
||||
resolution: 512
|
||||
bitmask: 1
|
||||
id: 1
|
||||
sortingID: 0
|
||||
isImplicit: 0
|
||||
area: 0
|
||||
totalVertexCount: 0
|
||||
vertexCounter: 0
|
||||
sceneLodLevel: -1
|
||||
autoResolution: 0
|
||||
sceneName:
|
||||
tag: -1
|
||||
containsTerrains: 0
|
||||
probes: 0
|
||||
mode: 1
|
||||
renderMode: 1000
|
||||
renderDirMode: 1000
|
||||
atlasPacker: 0
|
||||
holeFilling: 0
|
||||
vertexSamplingDensity: 0
|
||||
computeSSS: 0
|
||||
sssSamples: 16
|
||||
sssDensity: 10
|
||||
sssColor: {r: 1, g: 1, b: 1, a: 1}
|
||||
sssScale: 1
|
||||
fakeShadowBias: 0
|
||||
transparentSelfShadow: 0
|
||||
flipNormal: 0
|
||||
parentName:
|
||||
overridePath:
|
||||
fixPos3D: 0
|
||||
voxelSize: {x: 1, y: 1, z: 1}
|
||||
passedFilter: 2
|
||||
@@ -0,0 +1,9 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 42b3be1b051b68e46a4290619f2a6416
|
||||
timeCreated: 1527703670
|
||||
licenseType: Store
|
||||
NativeFormatImporter:
|
||||
mainObjectFileID: 11400000
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,47 @@
|
||||
%YAML 1.1
|
||||
%TAG !u! tag:unity3d.com,2011:
|
||||
--- !u!114 &11400000
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 0}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: ec0b4dd729a12d046982652f834580a2, type: 3}
|
||||
m_Name: LMGroup_example_bush_evening
|
||||
m_EditorClassIdentifier:
|
||||
resolution: 512
|
||||
bitmask: 1
|
||||
id: 1
|
||||
sortingID: 0
|
||||
isImplicit: 0
|
||||
area: 0
|
||||
totalVertexCount: 0
|
||||
vertexCounter: 0
|
||||
sceneLodLevel: -1
|
||||
autoResolution: 0
|
||||
sceneName:
|
||||
tag: -1
|
||||
containsTerrains: 0
|
||||
probes: 0
|
||||
mode: 1
|
||||
renderMode: 1000
|
||||
renderDirMode: 1000
|
||||
atlasPacker: 0
|
||||
holeFilling: 0
|
||||
vertexSamplingDensity: 0
|
||||
computeSSS: 0
|
||||
sssSamples: 16
|
||||
sssDensity: 10
|
||||
sssColor: {r: 1, g: 1, b: 1, a: 1}
|
||||
sssScale: 1
|
||||
fakeShadowBias: 0
|
||||
transparentSelfShadow: 0
|
||||
flipNormal: 0
|
||||
parentName:
|
||||
overridePath:
|
||||
fixPos3D: 0
|
||||
voxelSize: {x: 1, y: 1, z: 1}
|
||||
passedFilter: 0
|
||||
@@ -0,0 +1,9 @@
|
||||
fileFormatVersion: 2
|
||||
guid: bba7c5432b0e0f446b6835ece1441e47
|
||||
timeCreated: 1531248744
|
||||
licenseType: Store
|
||||
NativeFormatImporter:
|
||||
mainObjectFileID: 11400000
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 75090b27760f3c24cb7295b37715bf3e
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,83 @@
|
||||
IESNA:LM-63-1995
|
||||
[ISSUEDATE] 07-16-2008
|
||||
[TEST] S0710292-R1
|
||||
[MANUFAC] QSSI
|
||||
[LUMCAT] KH40A-Type III
|
||||
[LUMINAIRE] KH40 with Adjustable Reflector in Type III position
|
||||
[LAMP] 400W Venture Uni-Form Pulse Start Lamp, Rated at 41,000 Lumens
|
||||
[SKTPOSITION] Horizontal Socket Position 5, Street Side Lamp Holder
|
||||
TILT=NONE
|
||||
1 41000 1.27 35 35 1 1 1.25 1.25 0
|
||||
1 1 433.62
|
||||
0 5 10 15 20 25 30 35 40 45 50 55 60 62.5 65 67.5 70 72.5 75 77.5 80 82.5 85 87.5 90 95 105 115 125 135 145 155 165 175 180
|
||||
0 5 15 25 35 45 47.5 50 52.5 55 57.5 60 62.5 65 67.5 70 72.5 75 77.5 80 82.5 85 87.5 90 92.5 95 105 115 125 135 145 155 165 175 180
|
||||
7417.00 7382.00 7263.00 7121.00 6990.00 6758.00 6434.00 6118.00 5692.00 4547.00 3496.00 4195.00 4796.00 5633.00 5783.00 5751.00
|
||||
4859.00 3975.00 2344.00 1366.00 160.00 72.00 39.00 24.00 21.00 20.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
|
||||
7417.00 7405.00 7283.00 7135.00 7003.00 6820.00 6491.00 6141.00 5694.00 4606.00 3541.00 4075.00 4778.00 5313.00 5496.00 5075.00
|
||||
4280.00 3598.00 1962.00 1151.00 141.00 67.00 40.00 23.00 21.00 19.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
|
||||
7417.00 7383.00 7267.00 7116.00 6985.00 6824.00 6642.00 6130.00 5292.00 4304.00 3494.00 3652.00 4934.00 5076.00 4892.00 4279.00
|
||||
2986.00 2173.00 1626.00 732.00 190.00 67.00 42.00 23.00 21.00 19.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
|
||||
7417.00 7338.00 7186.00 7004.00 6792.00 6636.00 6374.00 5738.00 4946.00 4762.00 4024.00 3997.00 5536.00 5402.00 5123.00 4709.00
|
||||
3693.00 2178.00 1438.00 685.00 161.00 72.00 39.00 23.00 20.00 19.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
|
||||
7417.00 7324.00 7066.00 6717.00 6486.00 6325.00 5900.00 5379.00 5421.00 4917.00 4550.00 4575.00 5901.00 8328.00 7841.00 6686.00
|
||||
5417.00 2837.00 1896.00 1123.00 177.00 71.00 41.00 24.00 21.00 20.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
|
||||
7417.00 7284.00 6859.00 6523.00 6335.00 6048.00 5654.00 5112.00 5736.00 5706.00 5144.00 5769.00 10385.00 10952.00 10744.00 9057.00
|
||||
6083.00 3307.00 2350.00 1042.00 167.00 76.00 41.00 26.00 22.00 21.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
|
||||
7417.00 7272.00 6802.00 6505.00 6253.00 5947.00 5546.00 5083.00 5713.00 5777.00 5236.00 7030.00 10955.00 11004.00 11331.00 9180.00
|
||||
5616.00 3669.00 2326.00 700.00 150.00 76.00 42.00 26.00 23.00 21.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
|
||||
7417.00 7271.00 6780.00 6512.00 6255.00 5925.00 5422.00 5108.00 5698.00 5856.00 5267.00 7787.00 11280.00 11056.00 11588.00 8604.00
|
||||
5357.00 4075.00 2388.00 624.00 150.00 77.00 44.00 26.00 23.00 21.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
|
||||
7417.00 7283.00 6781.00 6529.00 6229.00 5824.00 5318.00 5151.00 5653.00 5917.00 5389.00 7867.00 11388.00 11116.00 10907.00 7978.00
|
||||
5353.00 4324.00 2291.00 595.00 163.00 89.00 43.00 26.00 23.00 21.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
|
||||
7417.00 7252.00 6706.00 6496.00 6161.00 5735.00 5214.00 5111.00 5586.00 5951.00 5500.00 8022.00 11522.00 11494.00 9242.00 7462.00
|
||||
5174.00 4516.00 2094.00 594.00 191.00 87.00 43.00 26.00 23.00 21.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
|
||||
7417.00 7224.00 6669.00 6459.00 6086.00 5610.00 5150.00 5099.00 5499.00 5899.00 5565.00 7933.00 11560.00 11858.00 8529.00 7029.00
|
||||
4917.00 4292.00 2027.00 619.00 209.00 88.00 42.00 26.00 23.00 21.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
|
||||
7417.00 7219.00 6654.00 6449.00 6073.00 5494.00 5090.00 5076.00 5442.00 5831.00 5637.00 7786.00 11528.00 11335.00 8436.00 6553.00
|
||||
4715.00 3972.00 1899.00 626.00 241.00 94.00 42.00 26.00 22.00 21.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
|
||||
7417.00 7225.00 6658.00 6469.00 6030.00 5441.00 5046.00 5116.00 5435.00 5771.00 5787.00 7685.00 11568.00 10502.00 8333.00 6219.00
|
||||
4476.00 3582.00 1644.00 641.00 253.00 90.00 43.00 26.00 22.00 21.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
|
||||
7417.00 7287.00 6700.00 6520.00 6031.00 5380.00 5032.00 5191.00 5403.00 5729.00 5891.00 7489.00 11227.00 9688.00 8036.00 5924.00
|
||||
4353.00 3030.00 1294.00 604.00 257.00 87.00 49.00 26.00 22.00 21.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
|
||||
7417.00 7238.00 6625.00 6449.00 5934.00 5232.00 4936.00 5183.00 5393.00 5653.00 5980.00 7355.00 10352.00 8867.00 7433.00 5389.00
|
||||
4232.00 2454.00 1000.00 488.00 280.00 78.00 45.00 26.00 22.00 21.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
|
||||
7417.00 7215.00 6607.00 6445.00 5862.00 5161.00 4900.00 5195.00 5390.00 5590.00 6054.00 7236.00 9281.00 8026.00 6696.00 5128.00
|
||||
4013.00 2035.00 778.00 409.00 215.00 79.00 41.00 25.00 22.00 21.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
|
||||
7417.00 7202.00 6596.00 6417.00 5833.00 5078.00 4804.00 5214.00 5410.00 5505.00 6057.00 7124.00 8613.00 7409.00 6003.00 5068.00
|
||||
4005.00 1857.00 568.00 257.00 131.00 69.00 38.00 25.00 22.00 20.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
|
||||
7417.00 7198.00 6559.00 6398.00 5781.00 5001.00 4741.00 5227.00 5452.00 5376.00 6037.00 6982.00 7652.00 6384.00 5441.00 4949.00
|
||||
4260.00 1950.00 441.00 169.00 109.00 64.00 35.00 25.00 22.00 20.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
|
||||
7417.00 7209.00 6581.00 6423.00 5768.00 4945.00 4717.00 5255.00 5458.00 5273.00 6009.00 6841.00 6818.00 5427.00 5345.00 5378.00
|
||||
5257.00 2594.00 517.00 194.00 158.00 67.00 34.00 25.00 22.00 20.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
|
||||
7417.00 7249.00 6627.00 6441.00 5774.00 4912.00 4687.00 5213.00 5383.00 5201.00 5955.00 6672.00 6098.00 5163.00 5212.00 5595.00
|
||||
5994.00 3246.00 995.00 262.00 147.00 74.00 36.00 25.00 22.00 21.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
|
||||
7417.00 7220.00 6574.00 6416.00 5722.00 4852.00 4628.00 5136.00 5255.00 5090.00 5723.00 6408.00 5524.00 5543.00 5326.00 5697.00
|
||||
5900.00 2620.00 1258.00 332.00 134.00 72.00 33.00 24.00 22.00 21.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
|
||||
7417.00 7204.00 6563.00 6422.00 5659.00 4808.00 4586.00 5061.00 5175.00 5011.00 5620.00 6185.00 5303.00 5609.00 5550.00 6641.00
|
||||
6023.00 2144.00 1230.00 275.00 129.00 70.00 33.00 24.00 21.00 21.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
|
||||
7417.00 7213.00 6587.00 6404.00 5652.00 4780.00 4572.00 4995.00 5118.00 4963.00 5582.00 5940.00 5607.00 5486.00 5667.00 7137.00
|
||||
5903.00 2045.00 900.00 218.00 113.00 66.00 34.00 24.00 21.00 21.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
|
||||
7417.00 7206.00 6542.00 6407.00 5637.00 4739.00 4549.00 4938.00 5067.00 4970.00 5547.00 5724.00 5658.00 5314.00 6006.00 7655.00
|
||||
5363.00 1908.00 642.00 179.00 91.00 58.00 32.00 24.00 21.00 21.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
|
||||
7417.00 7217.00 6564.00 6406.00 5634.00 4719.00 4566.00 4855.00 5050.00 5103.00 5396.00 5597.00 5391.00 5163.00 6692.00 8064.00
|
||||
5238.00 1781.00 490.00 167.00 95.00 53.00 31.00 24.00 22.00 21.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
|
||||
7417.00 7286.00 6641.00 6476.00 5639.00 4713.00 4554.00 4773.00 5052.00 5127.00 5168.00 5272.00 5191.00 5129.00 7315.00 7707.00
|
||||
5151.00 1457.00 411.00 163.00 91.00 54.00 31.00 24.00 22.00 21.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
|
||||
7417.00 7243.00 6589.00 6437.00 5748.00 4721.00 4489.00 4610.00 5047.00 4800.00 4975.00 5468.00 5017.00 5275.00 5262.00 4489.00
|
||||
3129.00 839.00 279.00 151.00 101.00 90.00 30.00 23.00 22.00 22.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
|
||||
7417.00 7268.00 6633.00 6416.00 5949.00 4866.00 4390.00 4377.00 4763.00 4275.00 4100.00 4194.00 3792.00 3797.00 3409.00 3078.00
|
||||
2472.00 738.00 230.00 137.00 129.00 69.00 28.00 22.00 22.00 23.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
|
||||
7417.00 7292.00 6733.00 6404.00 6097.00 5175.00 4364.00 4151.00 4142.00 3841.00 3661.00 3526.00 3221.00 3089.00 2900.00 2676.00
|
||||
2374.00 1206.00 314.00 138.00 77.00 54.00 26.00 22.00 22.00 23.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
|
||||
7417.00 7297.00 6902.00 6409.00 6182.00 5542.00 4511.00 4002.00 3796.00 3539.00 3411.00 3264.00 2961.00 2817.00 2632.00 2439.00
|
||||
2127.00 1415.00 388.00 129.00 157.00 47.00 25.00 21.00 21.00 22.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
|
||||
7417.00 7310.00 7105.00 6591.00 6171.00 5732.00 4813.00 4065.00 3605.00 3299.00 3404.00 3190.00 2840.00 2596.00 2425.00 2177.00
|
||||
1837.00 994.00 356.00 153.00 78.00 42.00 24.00 21.00 21.00 21.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
|
||||
7417.00 7332.00 7219.00 6927.00 6432.00 5846.00 5194.00 4422.00 3788.00 3171.00 3017.00 2873.00 2689.00 2478.00 2121.00 1807.00
|
||||
1441.00 740.00 332.00 169.00 93.00 49.00 24.00 20.00 20.00 20.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
|
||||
7417.00 7319.00 7224.00 7077.00 6815.00 6270.00 5499.00 4735.00 3994.00 3098.00 2739.00 2489.00 2235.00 1983.00 1672.00 1383.00
|
||||
1057.00 553.00 272.00 168.00 89.00 44.00 23.00 20.00 19.00 20.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
|
||||
7417.00 7337.00 7218.00 7041.00 6856.00 6402.00 5656.00 4670.00 3658.00 2889.00 2547.00 2219.00 1898.00 1632.00 1349.00 1086.00
|
||||
792.00 492.00 283.00 213.00 136.00 56.00 23.00 19.00 19.00 20.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
|
||||
7417.00 7348.00 7218.00 7033.00 6787.00 6357.00 5609.00 4578.00 3463.00 2809.00 2508.00 2217.00 1920.00 1583.00 1285.00 987.00
|
||||
694.00 490.00 238.00 142.00 86.00 44.00 22.00 19.00 20.00 20.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00 0.00
|
||||
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 1363d7983ee08c244a2eb4bf0ced6b2f
|
||||
timeCreated: 1525777314
|
||||
licenseType: Store
|
||||
DefaultImporter:
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,85 @@
|
||||
%YAML 1.1
|
||||
%TAG !u! tag:unity3d.com,2011:
|
||||
--- !u!21 &2100000
|
||||
Material:
|
||||
serializedVersion: 8
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_Name: ColoredAreaLight
|
||||
m_Shader: {fileID: 4800000, guid: 44078aff4de957844a86ead7ad169295, type: 3}
|
||||
m_Parent: {fileID: 0}
|
||||
m_ModifiedSerializedProperties: 0
|
||||
m_ValidKeywords: []
|
||||
m_InvalidKeywords: []
|
||||
m_LightmapFlags: 4
|
||||
m_EnableInstancingVariants: 0
|
||||
m_DoubleSidedGI: 0
|
||||
m_CustomRenderQueue: -1
|
||||
stringTagMap: {}
|
||||
disabledShaderPasses: []
|
||||
m_LockedProperties:
|
||||
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: 2800000, guid: 27264baeb532294478c4f3ae30b0df84, 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}
|
||||
- _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_Ints: []
|
||||
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
|
||||
- intensity: 1
|
||||
m_Colors:
|
||||
- _Color: {r: 1, g: 1, b: 1, a: 1}
|
||||
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
|
||||
m_BuildTextureStacks: []
|
||||
m_AllowLocking: 1
|
||||
@@ -0,0 +1,9 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 8a70376bc1b9e0441b35fe9defeedd89
|
||||
timeCreated: 1528373791
|
||||
licenseType: Store
|
||||
NativeFormatImporter:
|
||||
mainObjectFileID: 2100000
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 21684b726f1f26147b9fc0900d88112e
|
||||
folderAsset: yes
|
||||
DefaultImporter:
|
||||
externalObjects: {}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,136 @@
|
||||
%YAML 1.1
|
||||
%TAG !u! tag:unity3d.com,2011:
|
||||
--- !u!114 &-9004736136702983752
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 11
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 0}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: d0353a89b1f911e48b9e16bdc9f2e058, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
version: 10
|
||||
--- !u!21 &2100000
|
||||
Material:
|
||||
serializedVersion: 8
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_Name: 01 - Default
|
||||
m_Shader: {fileID: 4800000, guid: 933532a4fcc9baf4fa0491de14d08ed7, type: 3}
|
||||
m_Parent: {fileID: 0}
|
||||
m_ModifiedSerializedProperties: 0
|
||||
m_ValidKeywords: []
|
||||
m_InvalidKeywords: []
|
||||
m_LightmapFlags: 4
|
||||
m_EnableInstancingVariants: 0
|
||||
m_DoubleSidedGI: 0
|
||||
m_CustomRenderQueue: -1
|
||||
stringTagMap:
|
||||
RenderType: Opaque
|
||||
disabledShaderPasses:
|
||||
- MOTIONVECTORS
|
||||
m_LockedProperties:
|
||||
m_SavedProperties:
|
||||
serializedVersion: 3
|
||||
m_TexEnvs:
|
||||
- _BaseMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _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}
|
||||
- unity_Lightmaps:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- unity_LightmapsInd:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- unity_ShadowMasks:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
m_Ints: []
|
||||
m_Floats:
|
||||
- _AddPrecomputedVelocity: 0
|
||||
- _AlphaClip: 0
|
||||
- _AlphaToMask: 0
|
||||
- _Blend: 0
|
||||
- _BlendModePreserveSpecular: 1
|
||||
- _BumpScale: 1
|
||||
- _ClearCoatMask: 0
|
||||
- _ClearCoatSmoothness: 0
|
||||
- _Cull: 2
|
||||
- _Cutoff: 0.5
|
||||
- _DetailAlbedoMapScale: 1
|
||||
- _DetailNormalMapScale: 1
|
||||
- _DstBlend: 0
|
||||
- _DstBlendAlpha: 0
|
||||
- _EnvironmentReflections: 1
|
||||
- _GlossMapScale: 0
|
||||
- _Glossiness: 0
|
||||
- _GlossyReflections: 0
|
||||
- _Metallic: 0
|
||||
- _OcclusionStrength: 1
|
||||
- _Parallax: 0.005
|
||||
- _QueueOffset: 0
|
||||
- _ReceiveShadows: 1
|
||||
- _Smoothness: 0.5
|
||||
- _SmoothnessTextureChannel: 0
|
||||
- _SpecularHighlights: 1
|
||||
- _SrcBlend: 1
|
||||
- _SrcBlendAlpha: 1
|
||||
- _Surface: 0
|
||||
- _WorkflowMode: 1
|
||||
- _ZWrite: 1
|
||||
m_Colors:
|
||||
- _BaseColor: {r: 0.5882353, g: 0.5882353, b: 0.5882353, a: 1}
|
||||
- _Color: {r: 0.5882353, g: 0.5882353, b: 0.5882353, a: 1}
|
||||
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
|
||||
- _SpecColor: {r: 0.19999996, g: 0.19999996, b: 0.19999996, a: 1}
|
||||
m_BuildTextureStacks: []
|
||||
m_AllowLocking: 1
|
||||
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: e83ce42512e1a044e8ec8af94efb60cc
|
||||
NativeFormatImporter:
|
||||
externalObjects: {}
|
||||
mainObjectFileID: 2100000
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,136 @@
|
||||
%YAML 1.1
|
||||
%TAG !u! tag:unity3d.com,2011:
|
||||
--- !u!21 &2100000
|
||||
Material:
|
||||
serializedVersion: 8
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_Name: Light
|
||||
m_Shader: {fileID: 4800000, guid: 933532a4fcc9baf4fa0491de14d08ed7, type: 3}
|
||||
m_Parent: {fileID: 0}
|
||||
m_ModifiedSerializedProperties: 0
|
||||
m_ValidKeywords: []
|
||||
m_InvalidKeywords: []
|
||||
m_LightmapFlags: 4
|
||||
m_EnableInstancingVariants: 0
|
||||
m_DoubleSidedGI: 0
|
||||
m_CustomRenderQueue: -1
|
||||
stringTagMap:
|
||||
RenderType: Opaque
|
||||
disabledShaderPasses:
|
||||
- MOTIONVECTORS
|
||||
m_LockedProperties:
|
||||
m_SavedProperties:
|
||||
serializedVersion: 3
|
||||
m_TexEnvs:
|
||||
- _BaseMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _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}
|
||||
- unity_Lightmaps:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- unity_LightmapsInd:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- unity_ShadowMasks:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
m_Ints: []
|
||||
m_Floats:
|
||||
- _AddPrecomputedVelocity: 0
|
||||
- _AlphaClip: 0
|
||||
- _AlphaToMask: 0
|
||||
- _Blend: 0
|
||||
- _BlendModePreserveSpecular: 1
|
||||
- _BumpScale: 1
|
||||
- _ClearCoatMask: 0
|
||||
- _ClearCoatSmoothness: 0
|
||||
- _Cull: 2
|
||||
- _Cutoff: 0.5
|
||||
- _DetailAlbedoMapScale: 1
|
||||
- _DetailNormalMapScale: 1
|
||||
- _DstBlend: 0
|
||||
- _DstBlendAlpha: 0
|
||||
- _EnvironmentReflections: 1
|
||||
- _GlossMapScale: 0
|
||||
- _Glossiness: 0
|
||||
- _GlossyReflections: 0
|
||||
- _Metallic: 0
|
||||
- _OcclusionStrength: 1
|
||||
- _Parallax: 0.005
|
||||
- _QueueOffset: 0
|
||||
- _ReceiveShadows: 1
|
||||
- _Smoothness: 0.5
|
||||
- _SmoothnessTextureChannel: 0
|
||||
- _SpecularHighlights: 1
|
||||
- _SrcBlend: 1
|
||||
- _SrcBlendAlpha: 1
|
||||
- _Surface: 0
|
||||
- _WorkflowMode: 1
|
||||
- _ZWrite: 1
|
||||
m_Colors:
|
||||
- _BaseColor: {r: 0.5882353, g: 0.5882353, b: 0.5882353, a: 1}
|
||||
- _Color: {r: 0.5882353, g: 0.5882353, b: 0.5882353, a: 1}
|
||||
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
|
||||
- _SpecColor: {r: 0.19999996, g: 0.19999996, b: 0.19999996, a: 1}
|
||||
m_BuildTextureStacks: []
|
||||
m_AllowLocking: 1
|
||||
--- !u!114 &6594377651741522167
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 11
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 0}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: d0353a89b1f911e48b9e16bdc9f2e058, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
version: 10
|
||||
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: c2de7b4cc21256e459e169de4e1c6137
|
||||
NativeFormatImporter:
|
||||
externalObjects: {}
|
||||
mainObjectFileID: 2100000
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,136 @@
|
||||
%YAML 1.1
|
||||
%TAG !u! tag:unity3d.com,2011:
|
||||
--- !u!21 &2100000
|
||||
Material:
|
||||
serializedVersion: 8
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_Name: ftlogo
|
||||
m_Shader: {fileID: 4800000, guid: 933532a4fcc9baf4fa0491de14d08ed7, type: 3}
|
||||
m_Parent: {fileID: 0}
|
||||
m_ModifiedSerializedProperties: 0
|
||||
m_ValidKeywords: []
|
||||
m_InvalidKeywords: []
|
||||
m_LightmapFlags: 4
|
||||
m_EnableInstancingVariants: 0
|
||||
m_DoubleSidedGI: 0
|
||||
m_CustomRenderQueue: -1
|
||||
stringTagMap:
|
||||
RenderType: Opaque
|
||||
disabledShaderPasses:
|
||||
- MOTIONVECTORS
|
||||
m_LockedProperties:
|
||||
m_SavedProperties:
|
||||
serializedVersion: 3
|
||||
m_TexEnvs:
|
||||
- _BaseMap:
|
||||
m_Texture: {fileID: 2800000, guid: c2c83f67e20a2a541961a1e8baa44b41, type: 3}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _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: 2800000, guid: c2c83f67e20a2a541961a1e8baa44b41, 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}
|
||||
- _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}
|
||||
- unity_Lightmaps:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- unity_LightmapsInd:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- unity_ShadowMasks:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
m_Ints: []
|
||||
m_Floats:
|
||||
- _AddPrecomputedVelocity: 0
|
||||
- _AlphaClip: 0
|
||||
- _AlphaToMask: 0
|
||||
- _Blend: 0
|
||||
- _BlendModePreserveSpecular: 1
|
||||
- _BumpScale: 1
|
||||
- _ClearCoatMask: 0
|
||||
- _ClearCoatSmoothness: 0
|
||||
- _Cull: 2
|
||||
- _Cutoff: 0.5
|
||||
- _DetailAlbedoMapScale: 1
|
||||
- _DetailNormalMapScale: 1
|
||||
- _DstBlend: 0
|
||||
- _DstBlendAlpha: 0
|
||||
- _EnvironmentReflections: 1
|
||||
- _GlossMapScale: 0
|
||||
- _Glossiness: 0
|
||||
- _GlossyReflections: 0
|
||||
- _Metallic: 0
|
||||
- _OcclusionStrength: 1
|
||||
- _Parallax: 0.005
|
||||
- _QueueOffset: 0
|
||||
- _ReceiveShadows: 1
|
||||
- _Smoothness: 0.5
|
||||
- _SmoothnessTextureChannel: 0
|
||||
- _SpecularHighlights: 1
|
||||
- _SrcBlend: 1
|
||||
- _SrcBlendAlpha: 1
|
||||
- _Surface: 0
|
||||
- _WorkflowMode: 1
|
||||
- _ZWrite: 1
|
||||
m_Colors:
|
||||
- _BaseColor: {r: 0.5882353, g: 0.5882353, b: 0.5882353, a: 1}
|
||||
- _Color: {r: 0.5882353, g: 0.5882353, b: 0.5882353, a: 1}
|
||||
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
|
||||
- _SpecColor: {r: 0.19999996, g: 0.19999996, b: 0.19999996, a: 1}
|
||||
m_BuildTextureStacks: []
|
||||
m_AllowLocking: 1
|
||||
--- !u!114 &1726999049769249714
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 11
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 0}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: d0353a89b1f911e48b9e16bdc9f2e058, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
version: 10
|
||||
@@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 5ad3e6fb0ce5b4943a1e29b0750dc2e0
|
||||
NativeFormatImporter:
|
||||
externalObjects: {}
|
||||
mainObjectFileID: 2100000
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,91 @@
|
||||
%YAML 1.1
|
||||
%TAG !u! tag:unity3d.com,2011:
|
||||
--- !u!21 &2100000
|
||||
Material:
|
||||
serializedVersion: 8
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_Name: SkyboxNormal
|
||||
m_Shader: {fileID: 103, guid: 0000000000000000f000000000000000, type: 0}
|
||||
m_Parent: {fileID: 0}
|
||||
m_ModifiedSerializedProperties: 0
|
||||
m_ValidKeywords: []
|
||||
m_InvalidKeywords: []
|
||||
m_LightmapFlags: 4
|
||||
m_EnableInstancingVariants: 0
|
||||
m_DoubleSidedGI: 0
|
||||
m_CustomRenderQueue: -1
|
||||
stringTagMap: {}
|
||||
disabledShaderPasses: []
|
||||
m_LockedProperties:
|
||||
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: 6e19027493120c045b35339747708734, type: 3}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
m_Ints: []
|
||||
m_Floats:
|
||||
- _BumpScale: 1
|
||||
- _Cutoff: 0.5
|
||||
- _DetailNormalMapScale: 1
|
||||
- _DstBlend: 0
|
||||
- _Exposure: 0.6855006
|
||||
- _GlossMapScale: 1
|
||||
- _Glossiness: 0.5
|
||||
- _GlossyReflections: 1
|
||||
- _Metallic: 0
|
||||
- _Mode: 0
|
||||
- _OcclusionStrength: 1
|
||||
- _Parallax: 0.02
|
||||
- _Rotation: 0
|
||||
- _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: 1, g: 1, b: 1, a: 1}
|
||||
m_BuildTextureStacks: []
|
||||
m_AllowLocking: 1
|
||||
@@ -0,0 +1,9 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 00352451ae390a14891893758f3ed8bc
|
||||
timeCreated: 1533301123
|
||||
licenseType: Store
|
||||
NativeFormatImporter:
|
||||
mainObjectFileID: 2100000
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
Binary file not shown.
@@ -0,0 +1,100 @@
|
||||
fileFormatVersion: 2
|
||||
guid: f7cb3bf80f9eec2429456177b478a2ed
|
||||
timeCreated: 1647161130
|
||||
licenseType: Free
|
||||
TextureImporter:
|
||||
fileIDToRecycleName: {}
|
||||
serializedVersion: 4
|
||||
mipmaps:
|
||||
mipMapMode: 0
|
||||
enableMipMap: 1
|
||||
sRGBTexture: 0
|
||||
linearTexture: 0
|
||||
fadeOut: 0
|
||||
borderMipMap: 0
|
||||
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:
|
||||
filterMode: 2
|
||||
aniso: 8
|
||||
mipBias: -1
|
||||
wrapMode: -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: 1
|
||||
textureShape: 1
|
||||
maxTextureSizeSet: 0
|
||||
compressionQualitySet: 0
|
||||
textureFormatSet: 0
|
||||
platformSettings:
|
||||
- buildTarget: DefaultTexturePlatform
|
||||
maxTextureSize: 2048
|
||||
textureFormat: -1
|
||||
textureCompression: 1
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 0
|
||||
- buildTarget: Standalone
|
||||
maxTextureSize: 2048
|
||||
textureFormat: -1
|
||||
textureCompression: 1
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 0
|
||||
- buildTarget: iPhone
|
||||
maxTextureSize: 2048
|
||||
textureFormat: -1
|
||||
textureCompression: 1
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 0
|
||||
- buildTarget: Android
|
||||
maxTextureSize: 2048
|
||||
textureFormat: -1
|
||||
textureCompression: 1
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 0
|
||||
- buildTarget: WebGL
|
||||
maxTextureSize: 2048
|
||||
textureFormat: -1
|
||||
textureCompression: 1
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 0
|
||||
spriteSheet:
|
||||
serializedVersion: 2
|
||||
sprites: []
|
||||
outline: []
|
||||
spritePackingTag:
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,139 @@
|
||||
%YAML 1.1
|
||||
%TAG !u! tag:unity3d.com,2011:
|
||||
--- !u!114 &-2888676695623659951
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 11
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 0}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: d0353a89b1f911e48b9e16bdc9f2e058, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
version: 10
|
||||
--- !u!21 &2100000
|
||||
Material:
|
||||
serializedVersion: 8
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_Name: UnityEmissive 1
|
||||
m_Shader: {fileID: 4800000, guid: 933532a4fcc9baf4fa0491de14d08ed7, type: 3}
|
||||
m_Parent: {fileID: 0}
|
||||
m_ModifiedSerializedProperties: 0
|
||||
m_ValidKeywords:
|
||||
- _EMISSION
|
||||
m_InvalidKeywords: []
|
||||
m_LightmapFlags: 2
|
||||
m_EnableInstancingVariants: 0
|
||||
m_DoubleSidedGI: 0
|
||||
m_CustomRenderQueue: -1
|
||||
stringTagMap:
|
||||
RenderType: Opaque
|
||||
disabledShaderPasses:
|
||||
- MOTIONVECTORS
|
||||
m_LockedProperties:
|
||||
m_SavedProperties:
|
||||
serializedVersion: 3
|
||||
m_TexEnvs:
|
||||
- _BaseMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _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: 2800000, guid: 27264baeb532294478c4f3ae30b0df84, type: 3}
|
||||
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}
|
||||
- unity_Lightmaps:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- unity_LightmapsInd:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- unity_ShadowMasks:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
m_Ints: []
|
||||
m_Floats:
|
||||
- _AddPrecomputedVelocity: 0
|
||||
- _AlphaClip: 0
|
||||
- _AlphaToMask: 0
|
||||
- _Blend: 0
|
||||
- _BlendModePreserveSpecular: 1
|
||||
- _BumpScale: 1
|
||||
- _ClearCoatMask: 0
|
||||
- _ClearCoatSmoothness: 0
|
||||
- _Cull: 2
|
||||
- _Cutoff: 0.5
|
||||
- _DetailAlbedoMapScale: 1
|
||||
- _DetailNormalMapScale: 1
|
||||
- _DstBlend: 0
|
||||
- _DstBlendAlpha: 0
|
||||
- _EnvironmentReflections: 1
|
||||
- _GlossMapScale: 1
|
||||
- _Glossiness: 0.5
|
||||
- _GlossyReflections: 1
|
||||
- _Metallic: 0
|
||||
- _Mode: 0
|
||||
- _OcclusionStrength: 1
|
||||
- _Parallax: 0.02
|
||||
- _QueueOffset: 0
|
||||
- _ReceiveShadows: 1
|
||||
- _Smoothness: 0.5
|
||||
- _SmoothnessTextureChannel: 0
|
||||
- _SpecularHighlights: 1
|
||||
- _SrcBlend: 1
|
||||
- _SrcBlendAlpha: 1
|
||||
- _Surface: 0
|
||||
- _UVSec: 0
|
||||
- _WorkflowMode: 1
|
||||
- _ZWrite: 1
|
||||
m_Colors:
|
||||
- _BaseColor: {r: 0, g: 0, b: 0, a: 1}
|
||||
- _Color: {r: 1, g: 1, b: 1, a: 1}
|
||||
- _EmissionColor: {r: 2, g: 2, b: 2, a: 1}
|
||||
- _SpecColor: {r: 0.19999996, g: 0.19999996, b: 0.19999996, a: 1}
|
||||
m_BuildTextureStacks: []
|
||||
m_AllowLocking: 1
|
||||
@@ -0,0 +1,9 @@
|
||||
fileFormatVersion: 2
|
||||
guid: c6ab0e02b07f90745a55a90f91d015dd
|
||||
timeCreated: 1528395473
|
||||
licenseType: Store
|
||||
NativeFormatImporter:
|
||||
mainObjectFileID: 2100000
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,140 @@
|
||||
%YAML 1.1
|
||||
%TAG !u! tag:unity3d.com,2011:
|
||||
--- !u!21 &2100000
|
||||
Material:
|
||||
serializedVersion: 8
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_Name: black
|
||||
m_Shader: {fileID: 4800000, guid: 933532a4fcc9baf4fa0491de14d08ed7, type: 3}
|
||||
m_Parent: {fileID: 0}
|
||||
m_ModifiedSerializedProperties: 0
|
||||
m_ValidKeywords:
|
||||
- _SPECULARHIGHLIGHTS_OFF
|
||||
m_InvalidKeywords:
|
||||
- _GLOSSYREFLECTIONS_OFF
|
||||
m_LightmapFlags: 4
|
||||
m_EnableInstancingVariants: 0
|
||||
m_DoubleSidedGI: 0
|
||||
m_CustomRenderQueue: -1
|
||||
stringTagMap:
|
||||
RenderType: Opaque
|
||||
disabledShaderPasses:
|
||||
- MOTIONVECTORS
|
||||
m_LockedProperties:
|
||||
m_SavedProperties:
|
||||
serializedVersion: 3
|
||||
m_TexEnvs:
|
||||
- _BaseMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _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}
|
||||
- unity_Lightmaps:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- unity_LightmapsInd:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- unity_ShadowMasks:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
m_Ints: []
|
||||
m_Floats:
|
||||
- _AddPrecomputedVelocity: 0
|
||||
- _AlphaClip: 0
|
||||
- _AlphaToMask: 0
|
||||
- _Blend: 0
|
||||
- _BlendModePreserveSpecular: 1
|
||||
- _BumpScale: 1
|
||||
- _ClearCoatMask: 0
|
||||
- _ClearCoatSmoothness: 0
|
||||
- _Cull: 2
|
||||
- _Cutoff: 0.5
|
||||
- _DetailAlbedoMapScale: 1
|
||||
- _DetailNormalMapScale: 1
|
||||
- _DstBlend: 0
|
||||
- _DstBlendAlpha: 0
|
||||
- _EnvironmentReflections: 0
|
||||
- _GlossMapScale: 1
|
||||
- _Glossiness: 0
|
||||
- _GlossyReflections: 0
|
||||
- _Metallic: 0
|
||||
- _Mode: 0
|
||||
- _OcclusionStrength: 1
|
||||
- _Parallax: 0.02
|
||||
- _QueueOffset: 0
|
||||
- _ReceiveShadows: 1
|
||||
- _Smoothness: 0
|
||||
- _SmoothnessTextureChannel: 0
|
||||
- _SpecularHighlights: 0
|
||||
- _SrcBlend: 1
|
||||
- _SrcBlendAlpha: 1
|
||||
- _Surface: 0
|
||||
- _UVSec: 0
|
||||
- _WorkflowMode: 1
|
||||
- _ZWrite: 1
|
||||
m_Colors:
|
||||
- _BaseColor: {r: 0, g: 0, b: 0, a: 1}
|
||||
- _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}
|
||||
m_BuildTextureStacks: []
|
||||
m_AllowLocking: 1
|
||||
--- !u!114 &7535583782538699788
|
||||
MonoBehaviour:
|
||||
m_ObjectHideFlags: 11
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_GameObject: {fileID: 0}
|
||||
m_Enabled: 1
|
||||
m_EditorHideFlags: 0
|
||||
m_Script: {fileID: 11500000, guid: d0353a89b1f911e48b9e16bdc9f2e058, type: 3}
|
||||
m_Name:
|
||||
m_EditorClassIdentifier:
|
||||
version: 10
|
||||
@@ -0,0 +1,9 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 44e7a0ee9bdff9a4191a7c9bb85ec152
|
||||
timeCreated: 1524507237
|
||||
licenseType: Store
|
||||
NativeFormatImporter:
|
||||
mainObjectFileID: 2100000
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
Binary file not shown.
@@ -0,0 +1,83 @@
|
||||
fileFormatVersion: 2
|
||||
guid: bcdd26277893b174fa61569de95af21b
|
||||
timeCreated: 1621508910
|
||||
licenseType: Store
|
||||
ModelImporter:
|
||||
serializedVersion: 19
|
||||
fileIDToRecycleName:
|
||||
100000: //RootNode
|
||||
400000: //RootNode
|
||||
2300000: //RootNode
|
||||
3300000: //RootNode
|
||||
4300000: level1
|
||||
9500000: //RootNode
|
||||
materials:
|
||||
importMaterials: 1
|
||||
materialName: 0
|
||||
materialSearch: 1
|
||||
animations:
|
||||
legacyGenerateAnimations: 4
|
||||
bakeSimulation: 0
|
||||
resampleCurves: 1
|
||||
optimizeGameObjects: 0
|
||||
motionNodeName:
|
||||
rigImportErrors:
|
||||
rigImportWarnings:
|
||||
animationImportErrors:
|
||||
animationImportWarnings:
|
||||
animationRetargetingWarnings:
|
||||
animationDoRetargetingWarnings: 0
|
||||
animationCompression: 1
|
||||
animationRotationError: 0.5
|
||||
animationPositionError: 0.5
|
||||
animationScaleError: 0.5
|
||||
animationWrapMode: 0
|
||||
extraExposedTransformPaths: []
|
||||
clipAnimations: []
|
||||
isReadable: 1
|
||||
meshes:
|
||||
lODScreenPercentages: []
|
||||
globalScale: 1
|
||||
meshCompression: 0
|
||||
addColliders: 0
|
||||
importBlendShapes: 1
|
||||
swapUVChannels: 0
|
||||
generateSecondaryUV: 1
|
||||
useFileUnits: 1
|
||||
optimizeMeshForGPU: 1
|
||||
keepQuads: 0
|
||||
weldVertices: 1
|
||||
secondaryUVAngleDistortion: 8
|
||||
secondaryUVAreaDistortion: 15.000001
|
||||
secondaryUVHardAngle: 88
|
||||
secondaryUVPackMargin: 4
|
||||
useFileScale: 1
|
||||
tangentSpace:
|
||||
normalSmoothAngle: 60
|
||||
normalImportMode: 1
|
||||
tangentImportMode: 3
|
||||
importAnimation: 0
|
||||
copyAvatar: 0
|
||||
humanDescription:
|
||||
serializedVersion: 2
|
||||
human: []
|
||||
skeleton: []
|
||||
armTwist: 0.5
|
||||
foreArmTwist: 0.5
|
||||
upperLegTwist: 0.5
|
||||
legTwist: 0.5
|
||||
armStretch: 0.05
|
||||
legStretch: 0.05
|
||||
feetSpacing: 0
|
||||
rootMotionBoneName:
|
||||
rootMotionBoneRotation: {x: 0, y: 0, z: 0, w: 1}
|
||||
hasTranslationDoF: 0
|
||||
hasExtraRoot: 0
|
||||
skeletonHasParents: 1
|
||||
lastHumanDescriptionAvatarSource: {instanceID: 0}
|
||||
animationType: 0
|
||||
humanoidOversampling: 1
|
||||
additionalBone: 0
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
Binary file not shown.
@@ -0,0 +1,100 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 33de03197b5d3a64880bb93f783c1f77
|
||||
timeCreated: 1578080697
|
||||
licenseType: Store
|
||||
TextureImporter:
|
||||
fileIDToRecycleName: {}
|
||||
serializedVersion: 4
|
||||
mipmaps:
|
||||
mipMapMode: 0
|
||||
enableMipMap: 1
|
||||
sRGBTexture: 1
|
||||
linearTexture: 0
|
||||
fadeOut: 0
|
||||
borderMipMap: 0
|
||||
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:
|
||||
filterMode: 2
|
||||
aniso: -1
|
||||
mipBias: -1
|
||||
wrapMode: 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: 512
|
||||
textureFormat: -1
|
||||
textureCompression: 0
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 0
|
||||
- buildTarget: Standalone
|
||||
maxTextureSize: 512
|
||||
textureFormat: -1
|
||||
textureCompression: 0
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 0
|
||||
- buildTarget: iPhone
|
||||
maxTextureSize: 512
|
||||
textureFormat: -1
|
||||
textureCompression: 1
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 0
|
||||
- buildTarget: Android
|
||||
maxTextureSize: 512
|
||||
textureFormat: -1
|
||||
textureCompression: 1
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 0
|
||||
- buildTarget: WebGL
|
||||
maxTextureSize: 512
|
||||
textureFormat: -1
|
||||
textureCompression: 1
|
||||
compressionQuality: 50
|
||||
crunchedCompression: 0
|
||||
allowsAlphaSplitting: 0
|
||||
overridden: 0
|
||||
spriteSheet:
|
||||
serializedVersion: 2
|
||||
sprites: []
|
||||
outline: []
|
||||
spritePackingTag:
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
@@ -0,0 +1,88 @@
|
||||
%YAML 1.1
|
||||
%TAG !u! tag:unity3d.com,2011:
|
||||
--- !u!21 &2100000
|
||||
Material:
|
||||
serializedVersion: 8
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_Name: colored_transparency_b
|
||||
m_Shader: {fileID: 4800000, guid: 53d71be01129e38489027706eb676fde, type: 3}
|
||||
m_Parent: {fileID: 0}
|
||||
m_ModifiedSerializedProperties: 0
|
||||
m_ValidKeywords: []
|
||||
m_InvalidKeywords: []
|
||||
m_LightmapFlags: 4
|
||||
m_EnableInstancingVariants: 0
|
||||
m_DoubleSidedGI: 0
|
||||
m_CustomRenderQueue: -1
|
||||
stringTagMap: {}
|
||||
disabledShaderPasses: []
|
||||
m_LockedProperties:
|
||||
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: 2800000, guid: deeb5b4c78027a14fa1d877052d92d1d, 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}
|
||||
- _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}
|
||||
- _TransparencyLM:
|
||||
m_Texture: {fileID: 2800000, guid: deeb5b4c78027a14fa1d877052d92d1d, type: 3}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
m_Ints: []
|
||||
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}
|
||||
m_BuildTextureStacks: []
|
||||
m_AllowLocking: 1
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user