Add Bakery back
This commit is contained in:
parent
e501bba0a2
commit
f52d15f233
9
Assets/Bakery.meta
Normal file
9
Assets/Bakery.meta
Normal file
@ -0,0 +1,9 @@
|
||||
fileFormatVersion: 2
|
||||
guid: ef503d75f14abe345b5bedf4d40fa2dd
|
||||
folderAsset: yes
|
||||
timeCreated: 1606240228
|
||||
licenseType: Store
|
||||
DefaultImporter:
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
6
Assets/Bakery/BakeryAlwaysRender.cs
Normal file
6
Assets/Bakery/BakeryAlwaysRender.cs
Normal file
@ -0,0 +1,6 @@
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
|
||||
public class BakeryAlwaysRender : MonoBehaviour {
|
||||
}
|
12
Assets/Bakery/BakeryAlwaysRender.cs.meta
Normal file
12
Assets/Bakery/BakeryAlwaysRender.cs.meta
Normal file
@ -0,0 +1,12 @@
|
||||
fileFormatVersion: 2
|
||||
guid: e2d6e02e134906942bad71c1434453fa
|
||||
timeCreated: 1561146394
|
||||
licenseType: Store
|
||||
MonoImporter:
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
107
Assets/Bakery/BakeryDirectLight.cs
Normal file
107
Assets/Bakery/BakeryDirectLight.cs
Normal file
@ -0,0 +1,107 @@
|
||||
using UnityEngine;
|
||||
|
||||
#if UNITY_EDITOR
|
||||
using UnityEditor;
|
||||
#endif
|
||||
|
||||
using System;
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
|
||||
[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 int UID;
|
||||
|
||||
public static int lightsChanged = 0; // 1 = const, 2 = full
|
||||
|
||||
#if UNITY_EDITOR
|
||||
void OnValidate()
|
||||
{
|
||||
if (lightsChanged == 0) lightsChanged = 1;
|
||||
}
|
||||
void OnEnable()
|
||||
{
|
||||
lightsChanged = 2;
|
||||
}
|
||||
void OnDisable()
|
||||
{
|
||||
lightsChanged = 2;
|
||||
}
|
||||
|
||||
public void Start()
|
||||
{
|
||||
if (gameObject.GetComponent<BakerySkyLight>() != null ||
|
||||
gameObject.GetComponent<BakeryPointLight>() != null ||
|
||||
gameObject.GetComponent<BakeryLightMesh>() != null)
|
||||
{
|
||||
EditorUtility.DisplayDialog("Bakery", "Can't have more than one Bakery light on one object", "OK");
|
||||
DestroyImmediate(this);
|
||||
return;
|
||||
}
|
||||
|
||||
if (EditorApplication.isPlayingOrWillChangePlaymode) return;
|
||||
if (UID == 0) UID = Guid.NewGuid().GetHashCode();
|
||||
ftUniqueIDRegistry.Register(UID, gameObject.GetInstanceID());
|
||||
}
|
||||
|
||||
void OnDestroy()
|
||||
{
|
||||
if (UID == 0) return;
|
||||
if (EditorApplication.isPlayingOrWillChangePlaymode) return;
|
||||
ftUniqueIDRegistry.Deregister(UID);
|
||||
}
|
||||
|
||||
void Update()
|
||||
{
|
||||
if (EditorApplication.isPlayingOrWillChangePlaymode) return;
|
||||
if (!ftUniqueIDRegistry.Mapping.ContainsKey(UID)) ftUniqueIDRegistry.Register(UID, gameObject.GetInstanceID());
|
||||
if (gameObject.GetInstanceID() != ftUniqueIDRegistry.GetInstanceId(UID))
|
||||
{
|
||||
UID = Guid.NewGuid().GetHashCode();
|
||||
ftUniqueIDRegistry.Register(UID, gameObject.GetInstanceID());
|
||||
}
|
||||
}
|
||||
|
||||
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
|
||||
}
|
||||
|
12
Assets/Bakery/BakeryDirectLight.cs.meta
Normal file
12
Assets/Bakery/BakeryDirectLight.cs.meta
Normal file
@ -0,0 +1,12 @@
|
||||
fileFormatVersion: 2
|
||||
guid: c74ce2158ae608549902afb4112fd042
|
||||
timeCreated: 1526382158
|
||||
licenseType: Store
|
||||
MonoImporter:
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
83
Assets/Bakery/BakeryLightMesh.cs
Normal file
83
Assets/Bakery/BakeryLightMesh.cs
Normal file
@ -0,0 +1,83 @@
|
||||
using UnityEngine;
|
||||
|
||||
#if UNITY_EDITOR
|
||||
using UnityEditor;
|
||||
#endif
|
||||
|
||||
using System;
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
|
||||
[ExecuteInEditMode]
|
||||
[DisallowMultipleComponent]
|
||||
public class BakeryLightMesh : MonoBehaviour
|
||||
{
|
||||
public int UID;
|
||||
|
||||
public Color color = Color.white;
|
||||
public float intensity = 1.0f;
|
||||
public Texture2D texture = null;
|
||||
public float cutoff = 100;
|
||||
public int samples = 256;
|
||||
public int samples2 = 16;
|
||||
public int bitmask = 1;
|
||||
public bool selfShadow = true;
|
||||
public bool bakeToIndirect = true;
|
||||
public float indirectIntensity = 1.0f;
|
||||
|
||||
public int lmid = -2;
|
||||
|
||||
public static int lightsChanged = 0;
|
||||
|
||||
#if UNITY_EDITOR
|
||||
void OnValidate()
|
||||
{
|
||||
if (lightsChanged == 0) lightsChanged = 1;
|
||||
}
|
||||
|
||||
public void Start()
|
||||
{
|
||||
if (gameObject.GetComponent<BakeryDirectLight>() != null ||
|
||||
gameObject.GetComponent<BakeryPointLight>() != null ||
|
||||
gameObject.GetComponent<BakerySkyLight>() != null)
|
||||
{
|
||||
EditorUtility.DisplayDialog("Bakery", "Can't have more than one Bakery light on one object", "OK");
|
||||
DestroyImmediate(this);
|
||||
return;
|
||||
}
|
||||
|
||||
if (EditorApplication.isPlayingOrWillChangePlaymode) return;
|
||||
|
||||
if (UID == 0) UID = Guid.NewGuid().GetHashCode();
|
||||
ftUniqueIDRegistry.Register(UID, gameObject.GetInstanceID());
|
||||
}
|
||||
|
||||
void OnDestroy()
|
||||
{
|
||||
if (UID == 0) return;
|
||||
if (EditorApplication.isPlayingOrWillChangePlaymode) return;
|
||||
ftUniqueIDRegistry.Deregister(UID);
|
||||
}
|
||||
|
||||
void Update()
|
||||
{
|
||||
if (EditorApplication.isPlayingOrWillChangePlaymode) return;
|
||||
if (!ftUniqueIDRegistry.Mapping.ContainsKey(UID)) ftUniqueIDRegistry.Register(UID, gameObject.GetInstanceID());
|
||||
if (gameObject.GetInstanceID() != ftUniqueIDRegistry.GetInstanceId(UID))
|
||||
{
|
||||
UID = Guid.NewGuid().GetHashCode();
|
||||
ftUniqueIDRegistry.Register(UID, gameObject.GetInstanceID());
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
void OnDrawGizmosSelected()
|
||||
{
|
||||
Gizmos.color = Color.yellow;
|
||||
var mr = gameObject.GetComponent<MeshRenderer>();
|
||||
if (mr!=null) Gizmos.DrawWireSphere(mr.bounds.center, cutoff);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
12
Assets/Bakery/BakeryLightMesh.cs.meta
Normal file
12
Assets/Bakery/BakeryLightMesh.cs.meta
Normal file
@ -0,0 +1,12 @@
|
||||
fileFormatVersion: 2
|
||||
guid: a28e27cacfc7e70479097f0a63c37217
|
||||
timeCreated: 1526382158
|
||||
licenseType: Store
|
||||
MonoImporter:
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
174
Assets/Bakery/BakeryLightmapGroup.cs
Normal file
174
Assets/Bakery/BakeryLightmapGroup.cs
Normal file
@ -0,0 +1,174 @@
|
||||
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;
|
||||
};
|
||||
|
||||
[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,
|
||||
Auto = 1000
|
||||
};
|
||||
|
||||
public enum AtlasPacker
|
||||
{
|
||||
Default = 0,
|
||||
xatlas = 1,
|
||||
Auto = 1000
|
||||
};
|
||||
|
||||
[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 string sceneName;
|
||||
|
||||
[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 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 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 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.computeSSS = computeSSS;
|
||||
str.sssSamples = sssSamples;
|
||||
str.sssDensity = sssDensity;
|
||||
str.sssR = sssColor.r;
|
||||
str.sssG = sssColor.g;
|
||||
str.sssB = sssColor.b;
|
||||
str.containsTerrains = containsTerrains;
|
||||
str.probes = probes;
|
||||
str.fakeShadowBias = fakeShadowBias;
|
||||
str.transparentSelfShadow = transparentSelfShadow;
|
||||
str.flipNormal = flipNormal;
|
||||
str.parentName = parentName;
|
||||
str.sceneLodLevel = sceneLodLevel;
|
||||
return str;
|
||||
}
|
||||
}
|
||||
|
12
Assets/Bakery/BakeryLightmapGroup.cs.meta
Normal file
12
Assets/Bakery/BakeryLightmapGroup.cs.meta
Normal file
@ -0,0 +1,12 @@
|
||||
fileFormatVersion: 2
|
||||
guid: ec0b4dd729a12d046982652f834580a2
|
||||
timeCreated: 1526381368
|
||||
licenseType: Store
|
||||
MonoImporter:
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
9
Assets/Bakery/BakeryLightmapGroupSelector.cs
Normal file
9
Assets/Bakery/BakeryLightmapGroupSelector.cs
Normal file
@ -0,0 +1,9 @@
|
||||
using UnityEngine;
|
||||
|
||||
public class BakeryLightmapGroupSelector : MonoBehaviour
|
||||
{
|
||||
public Object lmgroupAsset;
|
||||
public bool instanceResolutionOverride = false;
|
||||
public int instanceResolution = 256;
|
||||
}
|
||||
|
12
Assets/Bakery/BakeryLightmapGroupSelector.cs.meta
Normal file
12
Assets/Bakery/BakeryLightmapGroupSelector.cs.meta
Normal file
@ -0,0 +1,12 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 0a747f33c53bd3042af4ac90fc2a1fd3
|
||||
timeCreated: 1526383988
|
||||
licenseType: Store
|
||||
MonoImporter:
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
130
Assets/Bakery/BakeryLightmappedPrefab.cs
Normal file
130
Assets/Bakery/BakeryLightmappedPrefab.cs
Normal file
@ -0,0 +1,130 @@
|
||||
#if UNITY_EDITOR
|
||||
using UnityEditor;
|
||||
#endif
|
||||
using UnityEngine;
|
||||
|
||||
// Disable 'obsolete' warnings
|
||||
#pragma warning disable 0618
|
||||
|
||||
[DisallowMultipleComponent]
|
||||
public class BakeryLightmappedPrefab : MonoBehaviour
|
||||
{
|
||||
#if UNITY_EDITOR
|
||||
public bool enableBaking = true;
|
||||
public string errorMessage;
|
||||
|
||||
public bool IsValid()
|
||||
{
|
||||
errorMessage = "";
|
||||
|
||||
if (!enableBaking)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
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.IndexOf("idremap") >= 0) 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
|
||||
}
|
||||
|
12
Assets/Bakery/BakeryLightmappedPrefab.cs.meta
Normal file
12
Assets/Bakery/BakeryLightmappedPrefab.cs.meta
Normal file
@ -0,0 +1,12 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 6090ef81e51c0ad4da5a1a37e6cf65cf
|
||||
timeCreated: 1541703042
|
||||
licenseType: Store
|
||||
MonoImporter:
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
68
Assets/Bakery/BakeryMetaPass.cginc
Normal file
68
Assets/Bakery/BakeryMetaPass.cginc
Normal file
@ -0,0 +1,68 @@
|
||||
#ifndef BAKERY_META
|
||||
#define BAKERY_META
|
||||
|
||||
Texture2D bestFitNormalMap;
|
||||
|
||||
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;
|
||||
float3 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 = cross(o.normal, float3(0,0,1));
|
||||
o.binormal = cross(o.normal, o.tangent) * -1;
|
||||
#else
|
||||
o.tangent = normalize(mul((float3x3)unity_ObjectToWorld, v.tangent.xyz).xyz);
|
||||
o.binormal = cross(o.normal, o.tangent) * 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)
|
||||
{
|
||||
float3x3 TBN = float3x3(normalize(i.tangent), normalize(i.binormal), normalize(i.normal));
|
||||
return mul(tangentNormalMap, TBN);
|
||||
}
|
||||
|
||||
#define BakeryEncodeNormal EncodeNormalBestFit
|
||||
|
||||
#endif
|
9
Assets/Bakery/BakeryMetaPass.cginc.meta
Normal file
9
Assets/Bakery/BakeryMetaPass.cginc.meta
Normal file
@ -0,0 +1,9 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 1d6fa63b3a54ade469dc0fa038f0c81b
|
||||
timeCreated: 1538849880
|
||||
licenseType: Store
|
||||
ShaderImporter:
|
||||
defaultTextures: []
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
6
Assets/Bakery/BakeryPackAsSingleSquare.cs
Normal file
6
Assets/Bakery/BakeryPackAsSingleSquare.cs
Normal file
@ -0,0 +1,6 @@
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
|
||||
public class BakeryPackAsSingleSquare : MonoBehaviour {
|
||||
}
|
12
Assets/Bakery/BakeryPackAsSingleSquare.cs.meta
Normal file
12
Assets/Bakery/BakeryPackAsSingleSquare.cs.meta
Normal file
@ -0,0 +1,12 @@
|
||||
fileFormatVersion: 2
|
||||
guid: cf72c611dfa77174e811af15d6ba69da
|
||||
timeCreated: 1580818526
|
||||
licenseType: Store
|
||||
MonoImporter:
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
177
Assets/Bakery/BakeryPointLight.cs
Normal file
177
Assets/Bakery/BakeryPointLight.cs
Normal file
@ -0,0 +1,177 @@
|
||||
using UnityEngine;
|
||||
|
||||
#if UNITY_EDITOR
|
||||
using UnityEditor;
|
||||
#endif
|
||||
|
||||
using System;
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
|
||||
[ExecuteInEditMode]
|
||||
[DisallowMultipleComponent]
|
||||
public class BakeryPointLight : MonoBehaviour
|
||||
{
|
||||
public enum ftLightProjectionMode
|
||||
{
|
||||
Omni = 0,
|
||||
Cookie = 1,
|
||||
Cubemap = 2,
|
||||
IES = 3,
|
||||
Cone = 4
|
||||
};
|
||||
|
||||
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 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 float indirectIntensity = 1.0f;
|
||||
public float falloffMinRadius = 1.0f;
|
||||
public int shadowmaskGroupID = 0;
|
||||
|
||||
const float GIZMO_MAXSIZE = 0.1f;
|
||||
const float GIZMO_SCALE = 0.01f;
|
||||
float screenRadius = GIZMO_MAXSIZE;
|
||||
|
||||
public static int lightsChanged = 0; // 1 = const, 2 = full
|
||||
|
||||
#if UNITY_EDITOR
|
||||
void OnValidate()
|
||||
{
|
||||
if (lightsChanged == 0) lightsChanged = 1;
|
||||
}
|
||||
void OnEnable()
|
||||
{
|
||||
lightsChanged = 2;
|
||||
}
|
||||
void OnDisable()
|
||||
{
|
||||
lightsChanged = 2;
|
||||
}
|
||||
|
||||
public void Start()
|
||||
{
|
||||
if (gameObject.GetComponent<BakeryDirectLight>() != null ||
|
||||
gameObject.GetComponent<BakerySkyLight>() != null ||
|
||||
gameObject.GetComponent<BakeryLightMesh>() != null)
|
||||
{
|
||||
EditorUtility.DisplayDialog("Bakery", "Can't have more than one Bakery light on one object", "OK");
|
||||
DestroyImmediate(this);
|
||||
return;
|
||||
}
|
||||
|
||||
if (EditorApplication.isPlayingOrWillChangePlaymode) return;
|
||||
if (UID == 0) UID = Guid.NewGuid().GetHashCode();
|
||||
ftUniqueIDRegistry.Register(UID, gameObject.GetInstanceID());
|
||||
}
|
||||
|
||||
void OnDestroy()
|
||||
{
|
||||
if (UID == 0) return;
|
||||
if (EditorApplication.isPlayingOrWillChangePlaymode) return;
|
||||
ftUniqueIDRegistry.Deregister(UID);
|
||||
}
|
||||
|
||||
void Update()
|
||||
{
|
||||
if (EditorApplication.isPlayingOrWillChangePlaymode) return;
|
||||
if (!ftUniqueIDRegistry.Mapping.ContainsKey(UID)) ftUniqueIDRegistry.Register(UID, gameObject.GetInstanceID());
|
||||
if (gameObject.GetInstanceID() != ftUniqueIDRegistry.GetInstanceId(UID))
|
||||
{
|
||||
UID = Guid.NewGuid().GetHashCode();
|
||||
ftUniqueIDRegistry.Register(UID, gameObject.GetInstanceID());
|
||||
}
|
||||
}
|
||||
|
||||
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
|
||||
{
|
||||
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
|
||||
}
|
||||
|
||||
|
||||
|
12
Assets/Bakery/BakeryPointLight.cs.meta
Normal file
12
Assets/Bakery/BakeryPointLight.cs.meta
Normal file
@ -0,0 +1,12 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 57f24a4aaa0761b45ba25e7e5108e2c7
|
||||
timeCreated: 1526382158
|
||||
licenseType: Store
|
||||
MonoImporter:
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
3
Assets/Bakery/BakeryRuntimeAssembly.asmdef
Normal file
3
Assets/Bakery/BakeryRuntimeAssembly.asmdef
Normal file
@ -0,0 +1,3 @@
|
||||
{
|
||||
"name": "BakeryRuntimeAssembly"
|
||||
}
|
8
Assets/Bakery/BakeryRuntimeAssembly.asmdef.meta
Normal file
8
Assets/Bakery/BakeryRuntimeAssembly.asmdef.meta
Normal file
@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: a1653399f63795746b1857281d1e400d
|
||||
timeCreated: 1551814785
|
||||
licenseType: Store
|
||||
DefaultImporter:
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
120
Assets/Bakery/BakerySkyLight.cs
Normal file
120
Assets/Bakery/BakerySkyLight.cs
Normal file
@ -0,0 +1,120 @@
|
||||
using UnityEngine;
|
||||
|
||||
#if UNITY_EDITOR
|
||||
using UnityEditor;
|
||||
#endif
|
||||
|
||||
using System;
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
|
||||
[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
|
||||
|
||||
#if UNITY_EDITOR
|
||||
void OnValidate()
|
||||
{
|
||||
if (lightsChanged == 0) lightsChanged = 1;
|
||||
}
|
||||
void OnEnable()
|
||||
{
|
||||
lightsChanged = 2;
|
||||
}
|
||||
void OnDisable()
|
||||
{
|
||||
lightsChanged = 2;
|
||||
}
|
||||
|
||||
public void Start()
|
||||
{
|
||||
if (gameObject.GetComponent<BakeryDirectLight>() != null ||
|
||||
gameObject.GetComponent<BakeryPointLight>() != null ||
|
||||
gameObject.GetComponent<BakeryLightMesh>() != null)
|
||||
{
|
||||
EditorUtility.DisplayDialog("Bakery", "Can't have more than one Bakery light on one object", "OK");
|
||||
DestroyImmediate(this);
|
||||
return;
|
||||
}
|
||||
|
||||
if (EditorApplication.isPlayingOrWillChangePlaymode) return;
|
||||
if (UID == 0) UID = Guid.NewGuid().GetHashCode();
|
||||
ftUniqueIDRegistry.Register(UID, gameObject.GetInstanceID());
|
||||
}
|
||||
|
||||
void OnDestroy()
|
||||
{
|
||||
if (UID == 0) return;
|
||||
if (EditorApplication.isPlayingOrWillChangePlaymode) return;
|
||||
ftUniqueIDRegistry.Deregister(UID);
|
||||
}
|
||||
|
||||
void Update()
|
||||
{
|
||||
if (EditorApplication.isPlayingOrWillChangePlaymode) return;
|
||||
if (!ftUniqueIDRegistry.Mapping.ContainsKey(UID)) ftUniqueIDRegistry.Register(UID, gameObject.GetInstanceID());
|
||||
if (gameObject.GetInstanceID() != ftUniqueIDRegistry.GetInstanceId(UID))
|
||||
{
|
||||
UID = Guid.NewGuid().GetHashCode();
|
||||
ftUniqueIDRegistry.Register(UID, gameObject.GetInstanceID());
|
||||
}
|
||||
}
|
||||
|
||||
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
|
||||
}
|
||||
|
12
Assets/Bakery/BakerySkyLight.cs.meta
Normal file
12
Assets/Bakery/BakerySkyLight.cs.meta
Normal file
@ -0,0 +1,12 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 306a56f30ff21b5439963fc745cfe9cc
|
||||
timeCreated: 1526382158
|
||||
licenseType: Store
|
||||
MonoImporter:
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
260
Assets/Bakery/BakeryVolume.cs
Normal file
260
Assets/Bakery/BakeryVolume.cs
Normal file
@ -0,0 +1,260 @@
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
#if UNITY_EDITOR
|
||||
using UnityEditor;
|
||||
using UnityEditor.IMGUI.Controls;
|
||||
#endif
|
||||
|
||||
[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 denoise = false;
|
||||
public bool isGlobal = false;
|
||||
public Texture3D bakedTexture0, bakedTexture1, bakedTexture2, bakedMask;
|
||||
|
||||
public static BakeryVolume globalVolume;
|
||||
|
||||
//public bool adjustSamples = true;
|
||||
|
||||
public Vector3 GetMin()
|
||||
{
|
||||
return bounds.min;
|
||||
}
|
||||
|
||||
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 void SetGlobalParams()
|
||||
{
|
||||
Shader.SetGlobalTexture("_Volume0", bakedTexture0);
|
||||
Shader.SetGlobalTexture("_Volume1", bakedTexture1);
|
||||
Shader.SetGlobalTexture("_Volume2", bakedTexture2);
|
||||
Shader.SetGlobalTexture("_VolumeMask", bakedMask);
|
||||
var b = bounds;
|
||||
var bmin = b.min;
|
||||
var bis = new Vector3(1.0f/b.size.x, 1.0f/b.size.y, 1.0f/b.size.z);;
|
||||
Shader.SetGlobalVector("_GlobalVolumeMin", bmin);
|
||||
Shader.SetGlobalVector("_GlobalVolumeInvSize", bis);
|
||||
}
|
||||
|
||||
public void UpdateBounds()
|
||||
{
|
||||
var pos = transform.position;
|
||||
var size = bounds.size;
|
||||
bounds = new Bounds(pos, size);
|
||||
}
|
||||
|
||||
public void Awake()
|
||||
{
|
||||
if (isGlobal)
|
||||
{
|
||||
globalVolume = this;
|
||||
SetGlobalParams();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#if UNITY_EDITOR
|
||||
[CustomEditor(typeof(BakeryVolume))]
|
||||
public class BakeryVolumeInspector : Editor
|
||||
{
|
||||
BoxBoundsHandle boundsHandle = new BoxBoundsHandle(typeof(BakeryVolumeInspector).GetHashCode());
|
||||
|
||||
SerializedProperty ftraceAdaptiveRes, ftraceResX, ftraceResY, ftraceResZ, ftraceVoxelsPerUnit, ftraceAdjustSamples, ftraceEnableBaking, ftraceEncoding, ftraceShadowmaskEncoding, ftraceDenoise, ftraceGlobal;
|
||||
|
||||
bool showExperimental = false;
|
||||
|
||||
void OnEnable()
|
||||
{
|
||||
ftraceAdaptiveRes = serializedObject.FindProperty("adaptiveRes");
|
||||
ftraceVoxelsPerUnit = serializedObject.FindProperty("voxelsPerUnit");
|
||||
ftraceResX = serializedObject.FindProperty("resolutionX");
|
||||
ftraceResY = serializedObject.FindProperty("resolutionY");
|
||||
ftraceResZ = serializedObject.FindProperty("resolutionZ");
|
||||
ftraceEnableBaking = serializedObject.FindProperty("enableBaking");
|
||||
ftraceEncoding = serializedObject.FindProperty("encoding");
|
||||
ftraceShadowmaskEncoding = serializedObject.FindProperty("shadowmaskEncoding");
|
||||
ftraceDenoise = serializedObject.FindProperty("denoise");
|
||||
ftraceGlobal = serializedObject.FindProperty("isGlobal");
|
||||
//ftraceAdjustSamples = serializedObject.FindProperty("adjustSamples");
|
||||
}
|
||||
|
||||
string F(float f)
|
||||
{
|
||||
// Unity keeps using comma for float printing on some systems since ~2018, even if system-wide decimal symbol is "."
|
||||
return (f + "").Replace(",", ".");
|
||||
}
|
||||
|
||||
public override void OnInspectorGUI()
|
||||
{
|
||||
serializedObject.Update();
|
||||
var vol = target as BakeryVolume;
|
||||
|
||||
EditorGUILayout.PropertyField(ftraceEnableBaking, new GUIContent("Enable baking", "Should the volume be (re)computed? Disable to prevent overwriting existing data."));
|
||||
bool wasGlobal = ftraceGlobal.boolValue;
|
||||
EditorGUILayout.PropertyField(ftraceGlobal, new GUIContent("Global", "Automatically assign this volume to all volume-compatible shaders, unless they have overrides."));
|
||||
if (!wasGlobal && ftraceGlobal.boolValue)
|
||||
{
|
||||
(target as BakeryVolume).SetGlobalParams();
|
||||
}
|
||||
EditorGUILayout.PropertyField(ftraceDenoise, new GUIContent("Denoise", "Apply denoising after baking the volume."));
|
||||
EditorGUILayout.Space();
|
||||
|
||||
EditorGUILayout.PropertyField(ftraceAdaptiveRes, new GUIContent("Adaptive resolution", "Calculate voxel resolution based on size?"));
|
||||
if (ftraceAdaptiveRes.boolValue)
|
||||
{
|
||||
EditorGUILayout.PropertyField(ftraceVoxelsPerUnit, new GUIContent("Voxels per unit"));
|
||||
|
||||
GUI.enabled = false;
|
||||
var size = vol.bounds.size;
|
||||
ftraceResX.intValue = System.Math.Max((int)(size.x * vol.voxelsPerUnit), 1);
|
||||
ftraceResY.intValue = System.Math.Max((int)(size.y * vol.voxelsPerUnit), 1);
|
||||
ftraceResZ.intValue = System.Math.Max((int)(size.z * vol.voxelsPerUnit), 1);
|
||||
}
|
||||
EditorGUILayout.PropertyField(ftraceResX, new GUIContent("Resolution X"));
|
||||
EditorGUILayout.PropertyField(ftraceResY, new GUIContent("Resolution Y"));
|
||||
EditorGUILayout.PropertyField(ftraceResZ, new GUIContent("Resolution Z"));
|
||||
GUI.enabled = true;
|
||||
|
||||
//EditorGUILayout.PropertyField(ftraceAdjustSamples, new GUIContent("Adjust sample positions", "Fixes light leaking from inside surfaces"));
|
||||
|
||||
EditorGUILayout.Space();
|
||||
|
||||
showExperimental = EditorGUILayout.Foldout(showExperimental, "Experimental", EditorStyles.foldout);
|
||||
if (showExperimental)
|
||||
{
|
||||
EditorGUILayout.PropertyField(ftraceEncoding, new GUIContent("Encoding"));
|
||||
EditorGUILayout.PropertyField(ftraceShadowmaskEncoding, new GUIContent("Shadowmask Encoding"));
|
||||
}
|
||||
|
||||
EditorGUILayout.Space();
|
||||
|
||||
if (vol.bakedTexture0 == null)
|
||||
{
|
||||
EditorGUILayout.LabelField("Baked texture: none");
|
||||
}
|
||||
else
|
||||
{
|
||||
EditorGUILayout.LabelField("Baked texture: " + vol.bakedTexture0.name);
|
||||
}
|
||||
|
||||
EditorGUILayout.Space();
|
||||
|
||||
var wrapObj = EditorGUILayout.ObjectField("Wrap to object", null, typeof(GameObject), true) as GameObject;
|
||||
if (wrapObj != null)
|
||||
{
|
||||
var mrs = wrapObj.GetComponentsInChildren<MeshRenderer>() as MeshRenderer[];
|
||||
if (mrs.Length > 0)
|
||||
{
|
||||
var b = mrs[0].bounds;
|
||||
for(int i=1; i<mrs.Length; i++)
|
||||
{
|
||||
b.Encapsulate(mrs[i].bounds);
|
||||
}
|
||||
Undo.RecordObject(vol, "Change Bounds");
|
||||
vol.transform.position = b.center;
|
||||
vol.bounds = b;
|
||||
Debug.Log("Bounds set");
|
||||
}
|
||||
else
|
||||
{
|
||||
Debug.LogError("No mesh renderers to wrap to");
|
||||
}
|
||||
}
|
||||
|
||||
var boxCol = vol.GetComponent<BoxCollider>();
|
||||
if (boxCol != null)
|
||||
{
|
||||
if (GUILayout.Button("Set from box collider"))
|
||||
{
|
||||
Undo.RecordObject(vol, "Change Bounds");
|
||||
vol.bounds = boxCol.bounds;
|
||||
}
|
||||
if (GUILayout.Button("Set to box collider"))
|
||||
{
|
||||
boxCol.center = Vector3.zero;
|
||||
boxCol.size = vol.bounds.size;
|
||||
}
|
||||
}
|
||||
|
||||
var bmin = vol.bounds.min;
|
||||
var bmax = vol.bounds.max;
|
||||
var bsize = vol.bounds.size;
|
||||
EditorGUILayout.LabelField("Min: " + bmin.x+", "+bmin.y+", "+bmin.z);
|
||||
EditorGUILayout.LabelField("Max: " + bmax.x+", "+bmax.y+", "+bmax.z);
|
||||
|
||||
if (GUILayout.Button("Copy bounds to clipboard"))
|
||||
{
|
||||
GUIUtility.systemCopyBuffer = "float3 bmin = float3(" + F(bmin.x)+", "+F(bmin.y)+", "+F(bmin.z) + "); float3 bmax = float3(" + F(bmax.x)+", "+F(bmax.y)+", "+F(bmax.z) + "); float3 binvsize = float3(" + F(1.0f/bsize.x)+", "+F(1.0f/bsize.y)+", "+F(1.0f/bsize.z) + ");";
|
||||
}
|
||||
|
||||
serializedObject.ApplyModifiedProperties();
|
||||
}
|
||||
|
||||
protected virtual void OnSceneGUI()
|
||||
{
|
||||
var vol = (BakeryVolume)target;
|
||||
|
||||
boundsHandle.center = vol.transform.position;
|
||||
boundsHandle.size = vol.bounds.size;
|
||||
|
||||
EditorGUI.BeginChangeCheck();
|
||||
boundsHandle.DrawHandle();
|
||||
if (EditorGUI.EndChangeCheck())
|
||||
{
|
||||
Undo.RecordObject(vol, "Change Bounds");
|
||||
|
||||
Bounds newBounds = new Bounds();
|
||||
newBounds.center = boundsHandle.center;
|
||||
newBounds.size = boundsHandle.size;
|
||||
vol.bounds = newBounds;
|
||||
vol.transform.position = boundsHandle.center;
|
||||
}
|
||||
else if ((vol.bounds.center - boundsHandle.center).sqrMagnitude > 0.0001f)
|
||||
{
|
||||
Bounds newBounds = new Bounds();
|
||||
newBounds.center = boundsHandle.center;
|
||||
newBounds.size = boundsHandle.size;
|
||||
vol.bounds = newBounds;
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif
|
12
Assets/Bakery/BakeryVolume.cs.meta
Normal file
12
Assets/Bakery/BakeryVolume.cs.meta
Normal file
@ -0,0 +1,12 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 17ce3c1d3490b7143a67ebdc73cab6c1
|
||||
timeCreated: 1589618132
|
||||
licenseType: Store
|
||||
MonoImporter:
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
9
Assets/Bakery/docs.meta
Normal file
9
Assets/Bakery/docs.meta
Normal file
@ -0,0 +1,9 @@
|
||||
fileFormatVersion: 2
|
||||
guid: ab12b7d692d7ee34eaf8dab0da156ff0
|
||||
folderAsset: yes
|
||||
timeCreated: 1606240228
|
||||
licenseType: Store
|
||||
DefaultImporter:
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
BIN
Assets/Bakery/docs/Bakery_manual.pdf
Normal file
BIN
Assets/Bakery/docs/Bakery_manual.pdf
Normal file
Binary file not shown.
8
Assets/Bakery/docs/Bakery_manual.pdf.meta
Normal file
8
Assets/Bakery/docs/Bakery_manual.pdf.meta
Normal file
@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: d2aec06f3f96cab4b822ed687e9e5ad4
|
||||
timeCreated: 1531146949
|
||||
licenseType: Store
|
||||
DefaultImporter:
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
BIN
Assets/Bakery/emptyDirection.tga
(Stored with Git LFS)
Normal file
BIN
Assets/Bakery/emptyDirection.tga
(Stored with Git LFS)
Normal file
Binary file not shown.
100
Assets/Bakery/emptyDirection.tga.meta
Normal file
100
Assets/Bakery/emptyDirection.tga.meta
Normal file
@ -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:
|
BIN
Assets/Bakery/emptyLightingData.asset
Normal file
BIN
Assets/Bakery/emptyLightingData.asset
Normal file
Binary file not shown.
9
Assets/Bakery/emptyLightingData.asset.meta
Normal file
9
Assets/Bakery/emptyLightingData.asset.meta
Normal file
@ -0,0 +1,9 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 8b4edc58204bf354c9dd12ceacc42350
|
||||
timeCreated: 1534495245
|
||||
licenseType: Store
|
||||
NativeFormatImporter:
|
||||
mainObjectFileID: -1
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
9
Assets/Bakery/examples.meta
Normal file
9
Assets/Bakery/examples.meta
Normal file
@ -0,0 +1,9 @@
|
||||
fileFormatVersion: 2
|
||||
guid: b41e925f81a41b74cbd90ac7ca491775
|
||||
folderAsset: yes
|
||||
timeCreated: 1606240228
|
||||
licenseType: Store
|
||||
DefaultImporter:
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
41
Assets/Bakery/examples/LMGroup_Plane_RNM.asset
Normal file
41
Assets/Bakery/examples/LMGroup_Plane_RNM.asset
Normal file
@ -0,0 +1,41 @@
|
||||
%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: 4
|
||||
sortingID: 1
|
||||
isImplicit: 0
|
||||
area: 0
|
||||
totalVertexCount: 0
|
||||
vertexCounter: 0
|
||||
sceneLodLevel: -1
|
||||
sceneName:
|
||||
containsTerrains: 0
|
||||
probes: 0
|
||||
mode: 0
|
||||
renderMode: 1000
|
||||
renderDirMode: 3
|
||||
atlasPacker: 1000
|
||||
computeSSS: 0
|
||||
sssSamples: 16
|
||||
sssDensity: 10
|
||||
sssColor: {r: 1, g: 1, b: 1, a: 1}
|
||||
fakeShadowBias: 0
|
||||
transparentSelfShadow: 0
|
||||
flipNormal: 0
|
||||
parentName:
|
||||
overridePath:
|
||||
fixPos3D: 0
|
||||
voxelSize: {x: 1, y: 1, z: 1}
|
9
Assets/Bakery/examples/LMGroup_Plane_RNM.asset.meta
Normal file
9
Assets/Bakery/examples/LMGroup_Plane_RNM.asset.meta
Normal file
@ -0,0 +1,9 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 1db5e7e6e40450946b3d699e4672bd76
|
||||
timeCreated: 1539192763
|
||||
licenseType: Store
|
||||
NativeFormatImporter:
|
||||
mainObjectFileID: 11400000
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
41
Assets/Bakery/examples/LMGroup_Plane_SH.asset
Normal file
41
Assets/Bakery/examples/LMGroup_Plane_SH.asset
Normal file
@ -0,0 +1,41 @@
|
||||
%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: 0
|
||||
sortingID: 3
|
||||
isImplicit: 0
|
||||
area: 0
|
||||
totalVertexCount: 0
|
||||
vertexCounter: 0
|
||||
sceneLodLevel: -1
|
||||
sceneName:
|
||||
containsTerrains: 0
|
||||
probes: 0
|
||||
mode: 0
|
||||
renderMode: 1000
|
||||
renderDirMode: 4
|
||||
atlasPacker: 1000
|
||||
computeSSS: 0
|
||||
sssSamples: 16
|
||||
sssDensity: 10
|
||||
sssColor: {r: 1, g: 1, b: 1, a: 1}
|
||||
fakeShadowBias: 0
|
||||
transparentSelfShadow: 0
|
||||
flipNormal: 0
|
||||
parentName:
|
||||
overridePath:
|
||||
fixPos3D: 0
|
||||
voxelSize: {x: 1, y: 1, z: 1}
|
9
Assets/Bakery/examples/LMGroup_Plane_SH.asset.meta
Normal file
9
Assets/Bakery/examples/LMGroup_Plane_SH.asset.meta
Normal file
@ -0,0 +1,9 @@
|
||||
fileFormatVersion: 2
|
||||
guid: c1cbe7e9c942fa34dae76215e78921b8
|
||||
timeCreated: 1539192770
|
||||
licenseType: Store
|
||||
NativeFormatImporter:
|
||||
mainObjectFileID: 11400000
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
41
Assets/Bakery/examples/LMGroup_Plane_baked_normal.asset
Normal file
41
Assets/Bakery/examples/LMGroup_Plane_baked_normal.asset
Normal file
@ -0,0 +1,41 @@
|
||||
%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: 3
|
||||
sortingID: 0
|
||||
isImplicit: 0
|
||||
area: 0
|
||||
totalVertexCount: 0
|
||||
vertexCounter: 0
|
||||
sceneLodLevel: -1
|
||||
sceneName:
|
||||
containsTerrains: 0
|
||||
probes: 0
|
||||
mode: 0
|
||||
renderMode: 1000
|
||||
renderDirMode: 1
|
||||
atlasPacker: 1000
|
||||
computeSSS: 0
|
||||
sssSamples: 16
|
||||
sssDensity: 10
|
||||
sssColor: {r: 1, g: 1, b: 1, a: 1}
|
||||
fakeShadowBias: 0
|
||||
transparentSelfShadow: 0
|
||||
flipNormal: 0
|
||||
parentName:
|
||||
overridePath:
|
||||
fixPos3D: 0
|
||||
voxelSize: {x: 1, y: 1, z: 1}
|
@ -0,0 +1,9 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 2e80b3aefa89d2a439a1e3b99c251999
|
||||
timeCreated: 1539192740
|
||||
licenseType: Store
|
||||
NativeFormatImporter:
|
||||
mainObjectFileID: 11400000
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
41
Assets/Bakery/examples/LMGroup_Plane_directional.asset
Normal file
41
Assets/Bakery/examples/LMGroup_Plane_directional.asset
Normal file
@ -0,0 +1,41 @@
|
||||
%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: 2
|
||||
sortingID: 2
|
||||
isImplicit: 0
|
||||
area: 0
|
||||
totalVertexCount: 0
|
||||
vertexCounter: 0
|
||||
sceneLodLevel: -1
|
||||
sceneName:
|
||||
containsTerrains: 0
|
||||
probes: 0
|
||||
mode: 0
|
||||
renderMode: 1000
|
||||
renderDirMode: 2
|
||||
atlasPacker: 1000
|
||||
computeSSS: 0
|
||||
sssSamples: 16
|
||||
sssDensity: 10
|
||||
sssColor: {r: 1, g: 1, b: 1, a: 1}
|
||||
fakeShadowBias: 0
|
||||
transparentSelfShadow: 0
|
||||
flipNormal: 0
|
||||
parentName:
|
||||
overridePath:
|
||||
fixPos3D: 0
|
||||
voxelSize: {x: 1, y: 1, z: 1}
|
@ -0,0 +1,9 @@
|
||||
fileFormatVersion: 2
|
||||
guid: dbc6caa18f605f1468abd0792a17aee0
|
||||
timeCreated: 1539192753
|
||||
licenseType: Store
|
||||
NativeFormatImporter:
|
||||
mainObjectFileID: 11400000
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
41
Assets/Bakery/examples/LMGroup_Sphere_VertexDir.asset
Normal file
41
Assets/Bakery/examples/LMGroup_Sphere_VertexDir.asset
Normal file
@ -0,0 +1,41 @@
|
||||
%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
|
||||
sceneName:
|
||||
containsTerrains: 0
|
||||
probes: 0
|
||||
mode: 2
|
||||
renderMode: 1000
|
||||
renderDirMode: 2
|
||||
atlasPacker: 1000
|
||||
computeSSS: 0
|
||||
sssSamples: 16
|
||||
sssDensity: 10
|
||||
sssColor: {r: 1, g: 1, b: 1, a: 1}
|
||||
fakeShadowBias: 0
|
||||
transparentSelfShadow: 0
|
||||
flipNormal: 0
|
||||
parentName:
|
||||
overridePath:
|
||||
fixPos3D: 0
|
||||
voxelSize: {x: 1, y: 1, z: 1}
|
@ -0,0 +1,9 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 5ff254110c9010243a127ea7f4efd84c
|
||||
timeCreated: 1538517419
|
||||
licenseType: Store
|
||||
NativeFormatImporter:
|
||||
mainObjectFileID: 11400000
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
41
Assets/Bakery/examples/LMGroup_Sphere_VertexLM.asset
Normal file
41
Assets/Bakery/examples/LMGroup_Sphere_VertexLM.asset
Normal file
@ -0,0 +1,41 @@
|
||||
%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
|
||||
sceneName:
|
||||
containsTerrains: 0
|
||||
probes: 0
|
||||
mode: 2
|
||||
renderMode: 1000
|
||||
renderDirMode: 1000
|
||||
atlasPacker: 1000
|
||||
computeSSS: 0
|
||||
sssSamples: 16
|
||||
sssDensity: 10
|
||||
sssColor: {r: 1, g: 1, b: 1, a: 1}
|
||||
fakeShadowBias: 0
|
||||
transparentSelfShadow: 0
|
||||
flipNormal: 0
|
||||
parentName:
|
||||
overridePath:
|
||||
fixPos3D: 0
|
||||
voxelSize: {x: 1, y: 1, z: 1}
|
@ -0,0 +1,9 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 68d9da02c481a774c951d06f44521064
|
||||
timeCreated: 1533631075
|
||||
licenseType: Store
|
||||
NativeFormatImporter:
|
||||
mainObjectFileID: 11400000
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
41
Assets/Bakery/examples/LMGroup_Sphere_VertexSH.asset
Normal file
41
Assets/Bakery/examples/LMGroup_Sphere_VertexSH.asset
Normal file
@ -0,0 +1,41 @@
|
||||
%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: 2
|
||||
sortingID: 0
|
||||
isImplicit: 0
|
||||
area: 0
|
||||
totalVertexCount: 515
|
||||
vertexCounter: 515
|
||||
sceneLodLevel: -1
|
||||
sceneName:
|
||||
containsTerrains: 0
|
||||
probes: 0
|
||||
mode: 2
|
||||
renderMode: 1000
|
||||
renderDirMode: 4
|
||||
atlasPacker: 1000
|
||||
computeSSS: 0
|
||||
sssSamples: 16
|
||||
sssDensity: 10
|
||||
sssColor: {r: 1, g: 1, b: 1, a: 1}
|
||||
fakeShadowBias: 0
|
||||
transparentSelfShadow: 0
|
||||
flipNormal: 0
|
||||
parentName:
|
||||
overridePath:
|
||||
fixPos3D: 0
|
||||
voxelSize: {x: 1, y: 1, z: 1}
|
@ -0,0 +1,9 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 2f32081c71e7f6245a10b3791f33b76d
|
||||
timeCreated: 1538517419
|
||||
licenseType: Store
|
||||
NativeFormatImporter:
|
||||
mainObjectFileID: 11400000
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
41
Assets/Bakery/examples/LMGroup_example_bush_day.asset
Normal file
41
Assets/Bakery/examples/LMGroup_example_bush_day.asset
Normal file
@ -0,0 +1,41 @@
|
||||
%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
|
||||
sceneName:
|
||||
containsTerrains: 0
|
||||
probes: 0
|
||||
mode: 1
|
||||
renderMode: 1000
|
||||
renderDirMode: 1000
|
||||
atlasPacker: 0
|
||||
computeSSS: 0
|
||||
sssSamples: 16
|
||||
sssDensity: 10
|
||||
sssColor: {r: 1, g: 1, b: 1, a: 1}
|
||||
fakeShadowBias: 0
|
||||
transparentSelfShadow: 0
|
||||
flipNormal: 0
|
||||
parentName:
|
||||
overridePath:
|
||||
fixPos3D: 0
|
||||
voxelSize: {x: 1, y: 1, z: 1}
|
@ -0,0 +1,9 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 42b3be1b051b68e46a4290619f2a6416
|
||||
timeCreated: 1527703670
|
||||
licenseType: Store
|
||||
NativeFormatImporter:
|
||||
mainObjectFileID: 11400000
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
41
Assets/Bakery/examples/LMGroup_example_bush_evening.asset
Normal file
41
Assets/Bakery/examples/LMGroup_example_bush_evening.asset
Normal file
@ -0,0 +1,41 @@
|
||||
%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
|
||||
sceneName:
|
||||
containsTerrains: 0
|
||||
probes: 0
|
||||
mode: 1
|
||||
renderMode: 1000
|
||||
renderDirMode: 1000
|
||||
atlasPacker: 0
|
||||
computeSSS: 0
|
||||
sssSamples: 16
|
||||
sssDensity: 10
|
||||
sssColor: {r: 1, g: 1, b: 1, a: 1}
|
||||
fakeShadowBias: 0
|
||||
transparentSelfShadow: 0
|
||||
flipNormal: 0
|
||||
parentName:
|
||||
overridePath:
|
||||
fixPos3D: 0
|
||||
voxelSize: {x: 1, y: 1, z: 1}
|
@ -0,0 +1,9 @@
|
||||
fileFormatVersion: 2
|
||||
guid: bba7c5432b0e0f446b6835ece1441e47
|
||||
timeCreated: 1531248744
|
||||
licenseType: Store
|
||||
NativeFormatImporter:
|
||||
mainObjectFileID: 11400000
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
9
Assets/Bakery/examples/content.meta
Normal file
9
Assets/Bakery/examples/content.meta
Normal file
@ -0,0 +1,9 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 9aae3a4c8bf9e7749af4a40616bef71b
|
||||
folderAsset: yes
|
||||
timeCreated: 1606240228
|
||||
licenseType: Store
|
||||
DefaultImporter:
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
83
Assets/Bakery/examples/content/AreaLight.ies
Normal file
83
Assets/Bakery/examples/content/AreaLight.ies
Normal file
@ -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
|
8
Assets/Bakery/examples/content/AreaLight.ies.meta
Normal file
8
Assets/Bakery/examples/content/AreaLight.ies.meta
Normal file
@ -0,0 +1,8 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 1363d7983ee08c244a2eb4bf0ced6b2f
|
||||
timeCreated: 1525777314
|
||||
licenseType: Store
|
||||
DefaultImporter:
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
79
Assets/Bakery/examples/content/ColoredAreaLight.mat
Normal file
79
Assets/Bakery/examples/content/ColoredAreaLight.mat
Normal file
@ -0,0 +1,79 @@
|
||||
%YAML 1.1
|
||||
%TAG !u! tag:unity3d.com,2011:
|
||||
--- !u!21 &2100000
|
||||
Material:
|
||||
serializedVersion: 6
|
||||
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_ShaderKeywords:
|
||||
m_LightmapFlags: 4
|
||||
m_EnableInstancingVariants: 0
|
||||
m_DoubleSidedGI: 0
|
||||
m_CustomRenderQueue: -1
|
||||
stringTagMap: {}
|
||||
disabledShaderPasses: []
|
||||
m_SavedProperties:
|
||||
serializedVersion: 3
|
||||
m_TexEnvs:
|
||||
- _BumpMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _DetailAlbedoMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _DetailMask:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _DetailNormalMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _EmissionMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _MainTex:
|
||||
m_Texture: {fileID: 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_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: []
|
9
Assets/Bakery/examples/content/ColoredAreaLight.mat.meta
Normal file
9
Assets/Bakery/examples/content/ColoredAreaLight.mat.meta
Normal file
@ -0,0 +1,9 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 8a70376bc1b9e0441b35fe9defeedd89
|
||||
timeCreated: 1528373791
|
||||
licenseType: Store
|
||||
NativeFormatImporter:
|
||||
mainObjectFileID: 2100000
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
9
Assets/Bakery/examples/content/Materials.meta
Normal file
9
Assets/Bakery/examples/content/Materials.meta
Normal file
@ -0,0 +1,9 @@
|
||||
fileFormatVersion: 2
|
||||
guid: d687e5833c2ae76459ecc5e2cbbc0c2b
|
||||
folderAsset: yes
|
||||
timeCreated: 1606240250
|
||||
licenseType: Store
|
||||
DefaultImporter:
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
78
Assets/Bakery/examples/content/Materials/Light.mat
Normal file
78
Assets/Bakery/examples/content/Materials/Light.mat
Normal file
@ -0,0 +1,78 @@
|
||||
%YAML 1.1
|
||||
%TAG !u! tag:unity3d.com,2011:
|
||||
--- !u!21 &2100000
|
||||
Material:
|
||||
serializedVersion: 6
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_Name: Light
|
||||
m_Shader: {fileID: 46, guid: 0000000000000000f000000000000000, type: 0}
|
||||
m_ShaderKeywords:
|
||||
m_LightmapFlags: 4
|
||||
m_EnableInstancingVariants: 0
|
||||
m_DoubleSidedGI: 0
|
||||
m_CustomRenderQueue: -1
|
||||
stringTagMap: {}
|
||||
disabledShaderPasses: []
|
||||
m_SavedProperties:
|
||||
serializedVersion: 3
|
||||
m_TexEnvs:
|
||||
- _BumpMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _DetailAlbedoMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _DetailMask:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _DetailNormalMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _EmissionMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _MainTex:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _MetallicGlossMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _OcclusionMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _ParallaxMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
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: 0.5882353, g: 0.5882353, b: 0.5882353, a: 1}
|
||||
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
|
||||
m_BuildTextureStacks: []
|
9
Assets/Bakery/examples/content/Materials/Light.mat.meta
Normal file
9
Assets/Bakery/examples/content/Materials/Light.mat.meta
Normal file
@ -0,0 +1,9 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 8abbcd5d08bfded4398db3a80b786381
|
||||
timeCreated: 1606240250
|
||||
licenseType: Store
|
||||
NativeFormatImporter:
|
||||
mainObjectFileID: 2100000
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
78
Assets/Bakery/examples/content/Materials/ftlogo.mat
Normal file
78
Assets/Bakery/examples/content/Materials/ftlogo.mat
Normal file
@ -0,0 +1,78 @@
|
||||
%YAML 1.1
|
||||
%TAG !u! tag:unity3d.com,2011:
|
||||
--- !u!21 &2100000
|
||||
Material:
|
||||
serializedVersion: 6
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_Name: ftlogo
|
||||
m_Shader: {fileID: 46, guid: 0000000000000000f000000000000000, type: 0}
|
||||
m_ShaderKeywords:
|
||||
m_LightmapFlags: 4
|
||||
m_EnableInstancingVariants: 0
|
||||
m_DoubleSidedGI: 0
|
||||
m_CustomRenderQueue: -1
|
||||
stringTagMap: {}
|
||||
disabledShaderPasses: []
|
||||
m_SavedProperties:
|
||||
serializedVersion: 3
|
||||
m_TexEnvs:
|
||||
- _BumpMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _DetailAlbedoMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _DetailMask:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _DetailNormalMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _EmissionMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _MainTex:
|
||||
m_Texture: {fileID: 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}
|
||||
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: 0.5882353, g: 0.5882353, b: 0.5882353, a: 1}
|
||||
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
|
||||
m_BuildTextureStacks: []
|
9
Assets/Bakery/examples/content/Materials/ftlogo.mat.meta
Normal file
9
Assets/Bakery/examples/content/Materials/ftlogo.mat.meta
Normal file
@ -0,0 +1,9 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 44112cfa0a159b2478086a25c24b31dd
|
||||
timeCreated: 1606240250
|
||||
licenseType: Store
|
||||
NativeFormatImporter:
|
||||
mainObjectFileID: 2100000
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
85
Assets/Bakery/examples/content/SkyboxNormal.mat
Normal file
85
Assets/Bakery/examples/content/SkyboxNormal.mat
Normal file
@ -0,0 +1,85 @@
|
||||
%YAML 1.1
|
||||
%TAG !u! tag:unity3d.com,2011:
|
||||
--- !u!21 &2100000
|
||||
Material:
|
||||
serializedVersion: 6
|
||||
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_ShaderKeywords:
|
||||
m_LightmapFlags: 4
|
||||
m_EnableInstancingVariants: 0
|
||||
m_DoubleSidedGI: 0
|
||||
m_CustomRenderQueue: -1
|
||||
stringTagMap: {}
|
||||
disabledShaderPasses: []
|
||||
m_SavedProperties:
|
||||
serializedVersion: 3
|
||||
m_TexEnvs:
|
||||
- _BumpMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _DetailAlbedoMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _DetailMask:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _DetailNormalMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _EmissionMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _MainTex:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _MetallicGlossMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _OcclusionMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _ParallaxMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _Tex:
|
||||
m_Texture: {fileID: 8900000, guid: 6e19027493120c045b35339747708734, type: 3}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
m_Floats:
|
||||
- _BumpScale: 1
|
||||
- _Cutoff: 0.5
|
||||
- _DetailNormalMapScale: 1
|
||||
- _DstBlend: 0
|
||||
- _Exposure: 1
|
||||
- _GlossMapScale: 1
|
||||
- _Glossiness: 0.5
|
||||
- _GlossyReflections: 1
|
||||
- _Metallic: 0
|
||||
- _Mode: 0
|
||||
- _OcclusionStrength: 1
|
||||
- _Parallax: 0.02
|
||||
- _Rotation: 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: 0.5, g: 0.5, b: 0.5, a: 0.5}
|
||||
m_BuildTextureStacks: []
|
9
Assets/Bakery/examples/content/SkyboxNormal.mat.meta
Normal file
9
Assets/Bakery/examples/content/SkyboxNormal.mat.meta
Normal file
@ -0,0 +1,9 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 00352451ae390a14891893758f3ed8bc
|
||||
timeCreated: 1533301123
|
||||
licenseType: Store
|
||||
NativeFormatImporter:
|
||||
mainObjectFileID: 2100000
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
BIN
Assets/Bakery/examples/content/StoneBeach_Normal.png
(Stored with Git LFS)
Normal file
BIN
Assets/Bakery/examples/content/StoneBeach_Normal.png
(Stored with Git LFS)
Normal file
Binary file not shown.
100
Assets/Bakery/examples/content/StoneBeach_Normal.png.meta
Normal file
100
Assets/Bakery/examples/content/StoneBeach_Normal.png.meta
Normal file
@ -0,0 +1,100 @@
|
||||
fileFormatVersion: 2
|
||||
guid: f7cb3bf80f9eec2429456177b478a2ed
|
||||
timeCreated: 1539587799
|
||||
licenseType: Store
|
||||
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:
|
78
Assets/Bakery/examples/content/UnityEmissive 1.mat
Normal file
78
Assets/Bakery/examples/content/UnityEmissive 1.mat
Normal file
@ -0,0 +1,78 @@
|
||||
%YAML 1.1
|
||||
%TAG !u! tag:unity3d.com,2011:
|
||||
--- !u!21 &2100000
|
||||
Material:
|
||||
serializedVersion: 6
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_Name: UnityEmissive 1
|
||||
m_Shader: {fileID: 46, guid: 0000000000000000f000000000000000, type: 0}
|
||||
m_ShaderKeywords: _EMISSION
|
||||
m_LightmapFlags: 2
|
||||
m_EnableInstancingVariants: 0
|
||||
m_DoubleSidedGI: 0
|
||||
m_CustomRenderQueue: -1
|
||||
stringTagMap: {}
|
||||
disabledShaderPasses: []
|
||||
m_SavedProperties:
|
||||
serializedVersion: 3
|
||||
m_TexEnvs:
|
||||
- _BumpMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _DetailAlbedoMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _DetailMask:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _DetailNormalMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _EmissionMap:
|
||||
m_Texture: {fileID: 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}
|
||||
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: 0, g: 0, b: 0, a: 1}
|
||||
- _EmissionColor: {r: 2, g: 2, b: 2, a: 1}
|
||||
m_BuildTextureStacks: []
|
9
Assets/Bakery/examples/content/UnityEmissive 1.mat.meta
Normal file
9
Assets/Bakery/examples/content/UnityEmissive 1.mat.meta
Normal file
@ -0,0 +1,9 @@
|
||||
fileFormatVersion: 2
|
||||
guid: c6ab0e02b07f90745a55a90f91d015dd
|
||||
timeCreated: 1528395473
|
||||
licenseType: Store
|
||||
NativeFormatImporter:
|
||||
mainObjectFileID: 2100000
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
78
Assets/Bakery/examples/content/black.mat
Normal file
78
Assets/Bakery/examples/content/black.mat
Normal file
@ -0,0 +1,78 @@
|
||||
%YAML 1.1
|
||||
%TAG !u! tag:unity3d.com,2011:
|
||||
--- !u!21 &2100000
|
||||
Material:
|
||||
serializedVersion: 6
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_Name: black
|
||||
m_Shader: {fileID: 46, guid: 0000000000000000f000000000000000, type: 0}
|
||||
m_ShaderKeywords: _GLOSSYREFLECTIONS_OFF _SPECULARHIGHLIGHTS_OFF
|
||||
m_LightmapFlags: 4
|
||||
m_EnableInstancingVariants: 0
|
||||
m_DoubleSidedGI: 0
|
||||
m_CustomRenderQueue: -1
|
||||
stringTagMap: {}
|
||||
disabledShaderPasses: []
|
||||
m_SavedProperties:
|
||||
serializedVersion: 3
|
||||
m_TexEnvs:
|
||||
- _BumpMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _DetailAlbedoMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _DetailMask:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _DetailNormalMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _EmissionMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _MainTex:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _MetallicGlossMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _OcclusionMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _ParallaxMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
m_Floats:
|
||||
- _BumpScale: 1
|
||||
- _Cutoff: 0.5
|
||||
- _DetailNormalMapScale: 1
|
||||
- _DstBlend: 0
|
||||
- _GlossMapScale: 1
|
||||
- _Glossiness: 0
|
||||
- _GlossyReflections: 0
|
||||
- _Metallic: 0
|
||||
- _Mode: 0
|
||||
- _OcclusionStrength: 1
|
||||
- _Parallax: 0.02
|
||||
- _SmoothnessTextureChannel: 0
|
||||
- _SpecularHighlights: 0
|
||||
- _SrcBlend: 1
|
||||
- _UVSec: 0
|
||||
- _ZWrite: 1
|
||||
m_Colors:
|
||||
- _Color: {r: 0, g: 0, b: 0, a: 1}
|
||||
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
|
||||
m_BuildTextureStacks: []
|
9
Assets/Bakery/examples/content/black.mat.meta
Normal file
9
Assets/Bakery/examples/content/black.mat.meta
Normal file
@ -0,0 +1,9 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 44e7a0ee9bdff9a4191a7c9bb85ec152
|
||||
timeCreated: 1524507237
|
||||
licenseType: Store
|
||||
NativeFormatImporter:
|
||||
mainObjectFileID: 2100000
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
36
Assets/Bakery/examples/content/demoacid.mat
Normal file
36
Assets/Bakery/examples/content/demoacid.mat
Normal file
@ -0,0 +1,36 @@
|
||||
%YAML 1.1
|
||||
%TAG !u! tag:unity3d.com,2011:
|
||||
--- !u!21 &2100000
|
||||
Material:
|
||||
serializedVersion: 6
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_Name: demoacid
|
||||
m_Shader: {fileID: 4800000, guid: 44078aff4de957844a86ead7ad169295, type: 3}
|
||||
m_ShaderKeywords:
|
||||
m_LightmapFlags: 0
|
||||
m_EnableInstancingVariants: 0
|
||||
m_DoubleSidedGI: 0
|
||||
m_CustomRenderQueue: -1
|
||||
stringTagMap: {}
|
||||
disabledShaderPasses: []
|
||||
m_SavedProperties:
|
||||
serializedVersion: 3
|
||||
m_TexEnvs:
|
||||
- _Illum:
|
||||
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}
|
||||
m_Floats:
|
||||
- _Emission: 1
|
||||
- _EmissionLM: 0
|
||||
- intensity: 2
|
||||
m_Colors:
|
||||
- _Color: {r: 0.3966263, g: 0.9632353, b: 0.7287766, a: 1}
|
||||
m_BuildTextureStacks: []
|
4
Assets/Bakery/examples/content/demoacid.mat.meta
Normal file
4
Assets/Bakery/examples/content/demoacid.mat.meta
Normal file
@ -0,0 +1,4 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 603e6b0ba07ac30499c4e727a685504e
|
||||
NativeFormatImporter:
|
||||
userData:
|
117
Assets/Bakery/examples/content/demoblack.mat
Normal file
117
Assets/Bakery/examples/content/demoblack.mat
Normal file
@ -0,0 +1,117 @@
|
||||
%YAML 1.1
|
||||
%TAG !u! tag:unity3d.com,2011:
|
||||
--- !u!21 &2100000
|
||||
Material:
|
||||
serializedVersion: 6
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_Name: demoblack
|
||||
m_Shader: {fileID: 46, guid: 0000000000000000f000000000000000, type: 0}
|
||||
m_ShaderKeywords: _GLOSSYREFLECTIONS_OFF _SPECULARHIGHLIGHTS_OFF
|
||||
m_LightmapFlags: 4
|
||||
m_EnableInstancingVariants: 0
|
||||
m_DoubleSidedGI: 0
|
||||
m_CustomRenderQueue: -1
|
||||
stringTagMap: {}
|
||||
disabledShaderPasses: []
|
||||
m_SavedProperties:
|
||||
serializedVersion: 3
|
||||
m_TexEnvs:
|
||||
- _BumpMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _DetailAlbedoMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _DetailMask:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _DetailNormalMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _EmissionMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _MainTex:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _MetallicGlossMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _OcclusionMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _ParallaxMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _SubsurfaceMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _Volume0:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _Volume1:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _Volume2:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _VolumeMask:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _occlusionSH:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
m_Floats:
|
||||
- _BAKERY_2SIDED: 2
|
||||
- _BAKERY_2SIDEDON: 0
|
||||
- _BAKERY_BICUBIC: 0
|
||||
- _BAKERY_LMSPEC: 0
|
||||
- _BAKERY_PROBESHNONLINEAR: 0
|
||||
- _BAKERY_RNM: 0
|
||||
- _BAKERY_SH: 0
|
||||
- _BAKERY_SHNONLINEAR: 0
|
||||
- _BAKERY_VERTEXLM: 0
|
||||
- _BAKERY_VERTEXLMDIR: 0
|
||||
- _BAKERY_VERTEXLMMASK: 0
|
||||
- _BAKERY_VERTEXLMSH: 0
|
||||
- _BAKERY_VOLUME: 0
|
||||
- _BumpScale: 1
|
||||
- _Cutoff: 0.5
|
||||
- _DetailNormalMapScale: 1
|
||||
- _DstBlend: 0
|
||||
- _GlossMapScale: 1
|
||||
- _Glossiness: 0
|
||||
- _GlossyReflections: 0
|
||||
- _Metallic: 0
|
||||
- _Mode: 0
|
||||
- _OcclusionStrength: 1
|
||||
- _Parallax: 0.02
|
||||
- _SmoothnessTextureChannel: 0
|
||||
- _SpecularHighlights: 0
|
||||
- _SrcBlend: 1
|
||||
- _UVSec: 0
|
||||
- _ZWrite: 1
|
||||
m_Colors:
|
||||
- _Color: {r: 0, g: 0, b: 0, a: 1}
|
||||
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
|
||||
- _VolumeInvSize: {r: 1000001, g: 1000001, b: 1000001, a: 1}
|
||||
- _VolumeMin: {r: 0, g: 0, b: 0, a: 1}
|
||||
m_BuildTextureStacks: []
|
9
Assets/Bakery/examples/content/demoblack.mat.meta
Normal file
9
Assets/Bakery/examples/content/demoblack.mat.meta
Normal file
@ -0,0 +1,9 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 95777ad46a2627948a4b4d49c8660ddf
|
||||
timeCreated: 1539286056
|
||||
licenseType: Store
|
||||
NativeFormatImporter:
|
||||
mainObjectFileID: 2100000
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
117
Assets/Bakery/examples/content/democliffs.mat
Normal file
117
Assets/Bakery/examples/content/democliffs.mat
Normal file
@ -0,0 +1,117 @@
|
||||
%YAML 1.1
|
||||
%TAG !u! tag:unity3d.com,2011:
|
||||
--- !u!21 &2100000
|
||||
Material:
|
||||
serializedVersion: 6
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_Name: democliffs
|
||||
m_Shader: {fileID: 46, guid: 0000000000000000f000000000000000, type: 0}
|
||||
m_ShaderKeywords: _GLOSSYREFLECTIONS_OFF _SPECULARHIGHLIGHTS_OFF
|
||||
m_LightmapFlags: 4
|
||||
m_EnableInstancingVariants: 0
|
||||
m_DoubleSidedGI: 0
|
||||
m_CustomRenderQueue: -1
|
||||
stringTagMap: {}
|
||||
disabledShaderPasses: []
|
||||
m_SavedProperties:
|
||||
serializedVersion: 3
|
||||
m_TexEnvs:
|
||||
- _BumpMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _DetailAlbedoMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _DetailMask:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _DetailNormalMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _EmissionMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _MainTex:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _MetallicGlossMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _OcclusionMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _ParallaxMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _SubsurfaceMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _Volume0:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _Volume1:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _Volume2:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _VolumeMask:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _occlusionSH:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
m_Floats:
|
||||
- _BAKERY_2SIDED: 2
|
||||
- _BAKERY_2SIDEDON: 0
|
||||
- _BAKERY_BICUBIC: 0
|
||||
- _BAKERY_LMSPEC: 0
|
||||
- _BAKERY_PROBESHNONLINEAR: 0
|
||||
- _BAKERY_RNM: 0
|
||||
- _BAKERY_SH: 0
|
||||
- _BAKERY_SHNONLINEAR: 0
|
||||
- _BAKERY_VERTEXLM: 0
|
||||
- _BAKERY_VERTEXLMDIR: 0
|
||||
- _BAKERY_VERTEXLMMASK: 0
|
||||
- _BAKERY_VERTEXLMSH: 0
|
||||
- _BAKERY_VOLUME: 0
|
||||
- _BumpScale: 1
|
||||
- _Cutoff: 0.5
|
||||
- _DetailNormalMapScale: 1
|
||||
- _DstBlend: 0
|
||||
- _GlossMapScale: 1
|
||||
- _Glossiness: 0
|
||||
- _GlossyReflections: 0
|
||||
- _Metallic: 0
|
||||
- _Mode: 0
|
||||
- _OcclusionStrength: 1
|
||||
- _Parallax: 0.02
|
||||
- _SmoothnessTextureChannel: 0
|
||||
- _SpecularHighlights: 0
|
||||
- _SrcBlend: 1
|
||||
- _UVSec: 0
|
||||
- _ZWrite: 1
|
||||
m_Colors:
|
||||
- _Color: {r: 0.7941176, g: 0.49692756, b: 0.26859862, a: 1}
|
||||
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
|
||||
- _VolumeInvSize: {r: 1000001, g: 1000001, b: 1000001, a: 1}
|
||||
- _VolumeMin: {r: 0, g: 0, b: 0, a: 1}
|
||||
m_BuildTextureStacks: []
|
9
Assets/Bakery/examples/content/democliffs.mat.meta
Normal file
9
Assets/Bakery/examples/content/democliffs.mat.meta
Normal file
@ -0,0 +1,9 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 7e966ab8bb97d1d4495eb2fe10e4ef95
|
||||
timeCreated: 1539286056
|
||||
licenseType: Store
|
||||
NativeFormatImporter:
|
||||
mainObjectFileID: 2100000
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
117
Assets/Bakery/examples/content/demogray.mat
Normal file
117
Assets/Bakery/examples/content/demogray.mat
Normal file
@ -0,0 +1,117 @@
|
||||
%YAML 1.1
|
||||
%TAG !u! tag:unity3d.com,2011:
|
||||
--- !u!21 &2100000
|
||||
Material:
|
||||
serializedVersion: 6
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_Name: demogray
|
||||
m_Shader: {fileID: 46, guid: 0000000000000000f000000000000000, type: 0}
|
||||
m_ShaderKeywords: _GLOSSYREFLECTIONS_OFF _SPECULARHIGHLIGHTS_OFF
|
||||
m_LightmapFlags: 4
|
||||
m_EnableInstancingVariants: 0
|
||||
m_DoubleSidedGI: 0
|
||||
m_CustomRenderQueue: -1
|
||||
stringTagMap: {}
|
||||
disabledShaderPasses: []
|
||||
m_SavedProperties:
|
||||
serializedVersion: 3
|
||||
m_TexEnvs:
|
||||
- _BumpMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _DetailAlbedoMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _DetailMask:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _DetailNormalMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _EmissionMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _MainTex:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _MetallicGlossMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _OcclusionMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _ParallaxMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _SubsurfaceMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _Volume0:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _Volume1:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _Volume2:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _VolumeMask:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _occlusionSH:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
m_Floats:
|
||||
- _BAKERY_2SIDED: 2
|
||||
- _BAKERY_2SIDEDON: 0
|
||||
- _BAKERY_BICUBIC: 0
|
||||
- _BAKERY_LMSPEC: 0
|
||||
- _BAKERY_PROBESHNONLINEAR: 0
|
||||
- _BAKERY_RNM: 0
|
||||
- _BAKERY_SH: 0
|
||||
- _BAKERY_SHNONLINEAR: 0
|
||||
- _BAKERY_VERTEXLM: 0
|
||||
- _BAKERY_VERTEXLMDIR: 0
|
||||
- _BAKERY_VERTEXLMMASK: 0
|
||||
- _BAKERY_VERTEXLMSH: 0
|
||||
- _BAKERY_VOLUME: 0
|
||||
- _BumpScale: 1
|
||||
- _Cutoff: 0.5
|
||||
- _DetailNormalMapScale: 1
|
||||
- _DstBlend: 0
|
||||
- _GlossMapScale: 1
|
||||
- _Glossiness: 0
|
||||
- _GlossyReflections: 0
|
||||
- _Metallic: 0
|
||||
- _Mode: 0
|
||||
- _OcclusionStrength: 1
|
||||
- _Parallax: 0.02
|
||||
- _SmoothnessTextureChannel: 0
|
||||
- _SpecularHighlights: 0
|
||||
- _SrcBlend: 1
|
||||
- _UVSec: 0
|
||||
- _ZWrite: 1
|
||||
m_Colors:
|
||||
- _Color: {r: 0.7647059, g: 0.7647059, b: 0.7647059, a: 1}
|
||||
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
|
||||
- _VolumeInvSize: {r: 1000001, g: 1000001, b: 1000001, a: 1}
|
||||
- _VolumeMin: {r: 0, g: 0, b: 0, a: 1}
|
||||
m_BuildTextureStacks: []
|
9
Assets/Bakery/examples/content/demogray.mat.meta
Normal file
9
Assets/Bakery/examples/content/demogray.mat.meta
Normal file
@ -0,0 +1,9 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 4b8d8761dc69e1949a7f36cc7307f0d5
|
||||
timeCreated: 1539286056
|
||||
licenseType: Store
|
||||
NativeFormatImporter:
|
||||
mainObjectFileID: 2100000
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
117
Assets/Bakery/examples/content/demogreen.mat
Normal file
117
Assets/Bakery/examples/content/demogreen.mat
Normal file
@ -0,0 +1,117 @@
|
||||
%YAML 1.1
|
||||
%TAG !u! tag:unity3d.com,2011:
|
||||
--- !u!21 &2100000
|
||||
Material:
|
||||
serializedVersion: 6
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_Name: demogreen
|
||||
m_Shader: {fileID: 46, guid: 0000000000000000f000000000000000, type: 0}
|
||||
m_ShaderKeywords: _GLOSSYREFLECTIONS_OFF _SPECULARHIGHLIGHTS_OFF
|
||||
m_LightmapFlags: 4
|
||||
m_EnableInstancingVariants: 0
|
||||
m_DoubleSidedGI: 0
|
||||
m_CustomRenderQueue: -1
|
||||
stringTagMap: {}
|
||||
disabledShaderPasses: []
|
||||
m_SavedProperties:
|
||||
serializedVersion: 3
|
||||
m_TexEnvs:
|
||||
- _BumpMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _DetailAlbedoMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _DetailMask:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _DetailNormalMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _EmissionMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _MainTex:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _MetallicGlossMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _OcclusionMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _ParallaxMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _SubsurfaceMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _Volume0:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _Volume1:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _Volume2:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _VolumeMask:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _occlusionSH:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
m_Floats:
|
||||
- _BAKERY_2SIDED: 2
|
||||
- _BAKERY_2SIDEDON: 0
|
||||
- _BAKERY_BICUBIC: 0
|
||||
- _BAKERY_LMSPEC: 0
|
||||
- _BAKERY_PROBESHNONLINEAR: 0
|
||||
- _BAKERY_RNM: 0
|
||||
- _BAKERY_SH: 0
|
||||
- _BAKERY_SHNONLINEAR: 0
|
||||
- _BAKERY_VERTEXLM: 0
|
||||
- _BAKERY_VERTEXLMDIR: 0
|
||||
- _BAKERY_VERTEXLMMASK: 0
|
||||
- _BAKERY_VERTEXLMSH: 0
|
||||
- _BAKERY_VOLUME: 0
|
||||
- _BumpScale: 1
|
||||
- _Cutoff: 0.5
|
||||
- _DetailNormalMapScale: 1
|
||||
- _DstBlend: 0
|
||||
- _GlossMapScale: 1
|
||||
- _Glossiness: 0
|
||||
- _GlossyReflections: 0
|
||||
- _Metallic: 0
|
||||
- _Mode: 0
|
||||
- _OcclusionStrength: 1
|
||||
- _Parallax: 0.02
|
||||
- _SmoothnessTextureChannel: 0
|
||||
- _SpecularHighlights: 0
|
||||
- _SrcBlend: 1
|
||||
- _UVSec: 0
|
||||
- _ZWrite: 1
|
||||
m_Colors:
|
||||
- _Color: {r: 0, g: 1, b: 0.006896496, a: 1}
|
||||
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
|
||||
- _VolumeInvSize: {r: 1000001, g: 1000001, b: 1000001, a: 1}
|
||||
- _VolumeMin: {r: 0, g: 0, b: 0, a: 1}
|
||||
m_BuildTextureStacks: []
|
9
Assets/Bakery/examples/content/demogreen.mat.meta
Normal file
9
Assets/Bakery/examples/content/demogreen.mat.meta
Normal file
@ -0,0 +1,9 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 110045865dd881f40b43ec98bb550a29
|
||||
timeCreated: 1539286056
|
||||
licenseType: Store
|
||||
NativeFormatImporter:
|
||||
mainObjectFileID: 2100000
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
36
Assets/Bakery/examples/content/demolava.mat
Normal file
36
Assets/Bakery/examples/content/demolava.mat
Normal file
@ -0,0 +1,36 @@
|
||||
%YAML 1.1
|
||||
%TAG !u! tag:unity3d.com,2011:
|
||||
--- !u!21 &2100000
|
||||
Material:
|
||||
serializedVersion: 6
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_Name: demolava
|
||||
m_Shader: {fileID: 4800000, guid: 44078aff4de957844a86ead7ad169295, type: 3}
|
||||
m_ShaderKeywords:
|
||||
m_LightmapFlags: 0
|
||||
m_EnableInstancingVariants: 0
|
||||
m_DoubleSidedGI: 0
|
||||
m_CustomRenderQueue: -1
|
||||
stringTagMap: {}
|
||||
disabledShaderPasses: []
|
||||
m_SavedProperties:
|
||||
serializedVersion: 3
|
||||
m_TexEnvs:
|
||||
- _Illum:
|
||||
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}
|
||||
m_Floats:
|
||||
- _Emission: 1
|
||||
- _EmissionLM: 0
|
||||
- intensity: 2
|
||||
m_Colors:
|
||||
- _Color: {r: 1, g: 0.43448272, b: 0, a: 1}
|
||||
m_BuildTextureStacks: []
|
4
Assets/Bakery/examples/content/demolava.mat.meta
Normal file
4
Assets/Bakery/examples/content/demolava.mat.meta
Normal file
@ -0,0 +1,4 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 7d89038445aa22d4694916f03d40549b
|
||||
NativeFormatImporter:
|
||||
userData:
|
98
Assets/Bakery/examples/content/demonormal blue.mat
Normal file
98
Assets/Bakery/examples/content/demonormal blue.mat
Normal file
@ -0,0 +1,98 @@
|
||||
%YAML 1.1
|
||||
%TAG !u! tag:unity3d.com,2011:
|
||||
--- !u!21 &2100000
|
||||
Material:
|
||||
serializedVersion: 6
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_Name: demonormal blue
|
||||
m_Shader: {fileID: 4800000, guid: 3334d0a534d2dac45b2c1a9a7e0a6c64, type: 3}
|
||||
m_ShaderKeywords: BAKERY_LMSPEC BAKERY_RNM BAKERY_SH BAKERY_SHNONLINEAR _NORMALMAP
|
||||
m_LightmapFlags: 4
|
||||
m_EnableInstancingVariants: 0
|
||||
m_DoubleSidedGI: 0
|
||||
m_CustomRenderQueue: -1
|
||||
stringTagMap: {}
|
||||
disabledShaderPasses: []
|
||||
m_SavedProperties:
|
||||
serializedVersion: 3
|
||||
m_TexEnvs:
|
||||
- _BumpMap:
|
||||
m_Texture: {fileID: 2800000, guid: f7cb3bf80f9eec2429456177b478a2ed, type: 3}
|
||||
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}
|
||||
- _SubsurfaceMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _occlusionSH:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
m_Floats:
|
||||
- _BAKERY_2SIDED: 2
|
||||
- _BAKERY_2SIDEDON: 0
|
||||
- _BAKERY_BICUBIC: 0
|
||||
- _BAKERY_LMSPEC: 1
|
||||
- _BAKERY_PROBESHNONLINEAR: 0
|
||||
- _BAKERY_RNM: 1
|
||||
- _BAKERY_SH: 1
|
||||
- _BAKERY_SHNONLINEAR: 1
|
||||
- _BAKERY_VERTEXLM: 0
|
||||
- _BAKERY_VERTEXLMDIR: 0
|
||||
- _BAKERY_VERTEXLMMASK: 0
|
||||
- _BAKERY_VERTEXLMSH: 0
|
||||
- _BumpScale: 1
|
||||
- _Cutoff: 0.5
|
||||
- _DetailNormalMapScale: 1
|
||||
- _DstBlend: 0
|
||||
- _GlossMapScale: 1
|
||||
- _Glossiness: 0.507
|
||||
- _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: 0.32352942, g: 0.49614593, b: 1, a: 1}
|
||||
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
|
||||
m_BuildTextureStacks: []
|
9
Assets/Bakery/examples/content/demonormal blue.mat.meta
Normal file
9
Assets/Bakery/examples/content/demonormal blue.mat.meta
Normal file
@ -0,0 +1,9 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 4e851833e2427ba489628e34b45d1523
|
||||
timeCreated: 1539286056
|
||||
licenseType: Store
|
||||
NativeFormatImporter:
|
||||
mainObjectFileID: 2100000
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
87
Assets/Bakery/examples/content/demonormal green.mat
Normal file
87
Assets/Bakery/examples/content/demonormal green.mat
Normal file
@ -0,0 +1,87 @@
|
||||
%YAML 1.1
|
||||
%TAG !u! tag:unity3d.com,2011:
|
||||
--- !u!21 &2100000
|
||||
Material:
|
||||
serializedVersion: 6
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_Name: demonormal green
|
||||
m_Shader: {fileID: 4800000, guid: 3334d0a534d2dac45b2c1a9a7e0a6c64, type: 3}
|
||||
m_ShaderKeywords: BAKERY_LMSPEC BAKERY_RNM BAKERY_SH BAKERY_SHNONLINEAR _NORMALMAP
|
||||
m_LightmapFlags: 4
|
||||
m_EnableInstancingVariants: 0
|
||||
m_DoubleSidedGI: 0
|
||||
m_CustomRenderQueue: -1
|
||||
stringTagMap: {}
|
||||
disabledShaderPasses: []
|
||||
m_SavedProperties:
|
||||
serializedVersion: 3
|
||||
m_TexEnvs:
|
||||
- _BumpMap:
|
||||
m_Texture: {fileID: 2800000, guid: f7cb3bf80f9eec2429456177b478a2ed, type: 3}
|
||||
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}
|
||||
m_Floats:
|
||||
- _BAKERY_BICUBIC: 0
|
||||
- _BAKERY_LMSPEC: 1
|
||||
- _BAKERY_RNM: 1
|
||||
- _BAKERY_SH: 1
|
||||
- _BAKERY_SHNONLINEAR: 1
|
||||
- _BAKERY_VERTEXLM: 0
|
||||
- _BAKERY_VERTEXLMDIR: 0
|
||||
- _BAKERY_VERTEXLMMASK: 0
|
||||
- _BAKERY_VERTEXLMSH: 0
|
||||
- _BumpScale: 1
|
||||
- _Cutoff: 0.5
|
||||
- _DetailNormalMapScale: 1
|
||||
- _DstBlend: 0
|
||||
- _GlossMapScale: 1
|
||||
- _Glossiness: 0.63
|
||||
- _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: 0.18274216, g: 0.9558824, b: 0.25205818, a: 1}
|
||||
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
|
||||
m_BuildTextureStacks: []
|
9
Assets/Bakery/examples/content/demonormal green.mat.meta
Normal file
9
Assets/Bakery/examples/content/demonormal green.mat.meta
Normal file
@ -0,0 +1,9 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 2b5559e2a2d572f45b8b66820772eef7
|
||||
timeCreated: 1539286056
|
||||
licenseType: Store
|
||||
NativeFormatImporter:
|
||||
mainObjectFileID: 2100000
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
98
Assets/Bakery/examples/content/demonormal red.mat
Normal file
98
Assets/Bakery/examples/content/demonormal red.mat
Normal file
@ -0,0 +1,98 @@
|
||||
%YAML 1.1
|
||||
%TAG !u! tag:unity3d.com,2011:
|
||||
--- !u!21 &2100000
|
||||
Material:
|
||||
serializedVersion: 6
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_Name: demonormal red
|
||||
m_Shader: {fileID: 4800000, guid: 3334d0a534d2dac45b2c1a9a7e0a6c64, type: 3}
|
||||
m_ShaderKeywords: BAKERY_LMSPEC BAKERY_RNM BAKERY_SH BAKERY_SHNONLINEAR _NORMALMAP
|
||||
m_LightmapFlags: 0
|
||||
m_EnableInstancingVariants: 0
|
||||
m_DoubleSidedGI: 0
|
||||
m_CustomRenderQueue: -1
|
||||
stringTagMap: {}
|
||||
disabledShaderPasses: []
|
||||
m_SavedProperties:
|
||||
serializedVersion: 3
|
||||
m_TexEnvs:
|
||||
- _BumpMap:
|
||||
m_Texture: {fileID: 2800000, guid: f7cb3bf80f9eec2429456177b478a2ed, type: 3}
|
||||
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}
|
||||
- _SubsurfaceMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _occlusionSH:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
m_Floats:
|
||||
- _BAKERY_2SIDED: 2
|
||||
- _BAKERY_2SIDEDON: 0
|
||||
- _BAKERY_BICUBIC: 0
|
||||
- _BAKERY_LMSPEC: 1
|
||||
- _BAKERY_PROBESHNONLINEAR: 0
|
||||
- _BAKERY_RNM: 1
|
||||
- _BAKERY_SH: 1
|
||||
- _BAKERY_SHNONLINEAR: 1
|
||||
- _BAKERY_VERTEXLM: 0
|
||||
- _BAKERY_VERTEXLMDIR: 0
|
||||
- _BAKERY_VERTEXLMMASK: 0
|
||||
- _BAKERY_VERTEXLMSH: 0
|
||||
- _BumpScale: 1
|
||||
- _Cutoff: 0.5
|
||||
- _DetailNormalMapScale: 1
|
||||
- _DstBlend: 0
|
||||
- _GlossMapScale: 1
|
||||
- _Glossiness: 0.507
|
||||
- _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: 0.9558824, g: 0.18274204, b: 0.51865804, a: 1}
|
||||
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
|
||||
m_BuildTextureStacks: []
|
9
Assets/Bakery/examples/content/demonormal red.mat.meta
Normal file
9
Assets/Bakery/examples/content/demonormal red.mat.meta
Normal file
@ -0,0 +1,9 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 3c9d03f39e2645e4aa761808181272f2
|
||||
timeCreated: 1539286056
|
||||
licenseType: Store
|
||||
NativeFormatImporter:
|
||||
mainObjectFileID: 2100000
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
@ -0,0 +1,90 @@
|
||||
%YAML 1.1
|
||||
%TAG !u! tag:unity3d.com,2011:
|
||||
--- !u!21 &2100000
|
||||
Material:
|
||||
serializedVersion: 6
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_Name: demonormal white vertex SH
|
||||
m_Shader: {fileID: 4800000, guid: 3334d0a534d2dac45b2c1a9a7e0a6c64, type: 3}
|
||||
m_ShaderKeywords: BAKERY_BICUBIC BAKERY_LMSPEC BAKERY_RNM BAKERY_SH BAKERY_SHNONLINEAR
|
||||
BAKERY_VERTEXLM BAKERY_VERTEXLMSH _NORMALMAP
|
||||
m_LightmapFlags: 4
|
||||
m_EnableInstancingVariants: 0
|
||||
m_DoubleSidedGI: 0
|
||||
m_CustomRenderQueue: -1
|
||||
stringTagMap: {}
|
||||
disabledShaderPasses: []
|
||||
m_SavedProperties:
|
||||
serializedVersion: 3
|
||||
m_TexEnvs:
|
||||
- _BumpMap:
|
||||
m_Texture: {fileID: 2800000, guid: f7cb3bf80f9eec2429456177b478a2ed, type: 3}
|
||||
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: 30ac1b79f815f6345968d1fe608692a3, 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_Floats:
|
||||
- _BAKERY_2SIDED: 2
|
||||
- _BAKERY_2SIDEDON: 0
|
||||
- _BAKERY_BICUBIC: 1
|
||||
- _BAKERY_LMSPEC: 1
|
||||
- _BAKERY_RNM: 1
|
||||
- _BAKERY_SH: 1
|
||||
- _BAKERY_SHNONLINEAR: 1
|
||||
- _BAKERY_VERTEXLM: 1
|
||||
- _BAKERY_VERTEXLMDIR: 0
|
||||
- _BAKERY_VERTEXLMMASK: 0
|
||||
- _BAKERY_VERTEXLMSH: 1
|
||||
- _BumpScale: 1
|
||||
- _Cutoff: 0.5
|
||||
- _DetailNormalMapScale: 1
|
||||
- _DstBlend: 0
|
||||
- _GlossMapScale: 1
|
||||
- _Glossiness: 0.509
|
||||
- _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: []
|
@ -0,0 +1,9 @@
|
||||
fileFormatVersion: 2
|
||||
guid: c0d13824fe14c9c459b745b1ab148374
|
||||
timeCreated: 1539286056
|
||||
licenseType: Store
|
||||
NativeFormatImporter:
|
||||
mainObjectFileID: 2100000
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
@ -0,0 +1,88 @@
|
||||
%YAML 1.1
|
||||
%TAG !u! tag:unity3d.com,2011:
|
||||
--- !u!21 &2100000
|
||||
Material:
|
||||
serializedVersion: 6
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_Name: demonormal white vertex dir
|
||||
m_Shader: {fileID: 4800000, guid: 3334d0a534d2dac45b2c1a9a7e0a6c64, type: 3}
|
||||
m_ShaderKeywords: BAKERY_LMSPEC BAKERY_SHNONLINEAR BAKERY_VERTEXLM BAKERY_VERTEXLMDIR
|
||||
_NORMALMAP
|
||||
m_LightmapFlags: 4
|
||||
m_EnableInstancingVariants: 0
|
||||
m_DoubleSidedGI: 0
|
||||
m_CustomRenderQueue: -1
|
||||
stringTagMap: {}
|
||||
disabledShaderPasses: []
|
||||
m_SavedProperties:
|
||||
serializedVersion: 3
|
||||
m_TexEnvs:
|
||||
- _BumpMap:
|
||||
m_Texture: {fileID: 2800000, guid: f7cb3bf80f9eec2429456177b478a2ed, type: 3}
|
||||
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: 30ac1b79f815f6345968d1fe608692a3, 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_Floats:
|
||||
- _BAKERY_BICUBIC: 0
|
||||
- _BAKERY_LMSPEC: 1
|
||||
- _BAKERY_RNM: 0
|
||||
- _BAKERY_SH: 0
|
||||
- _BAKERY_SHNONLINEAR: 1
|
||||
- _BAKERY_VERTEXLM: 1
|
||||
- _BAKERY_VERTEXLMDIR: 1
|
||||
- _BAKERY_VERTEXLMMASK: 0
|
||||
- _BAKERY_VERTEXLMSH: 0
|
||||
- _BumpScale: 1
|
||||
- _Cutoff: 0.5
|
||||
- _DetailNormalMapScale: 1
|
||||
- _DstBlend: 0
|
||||
- _GlossMapScale: 1
|
||||
- _Glossiness: 0.509
|
||||
- _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: []
|
@ -0,0 +1,9 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 64f5173c7bfc58d42984bf7e7be67019
|
||||
timeCreated: 1539286056
|
||||
licenseType: Store
|
||||
NativeFormatImporter:
|
||||
mainObjectFileID: 2100000
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
118
Assets/Bakery/examples/content/demonormal white.mat
Normal file
118
Assets/Bakery/examples/content/demonormal white.mat
Normal file
@ -0,0 +1,118 @@
|
||||
%YAML 1.1
|
||||
%TAG !u! tag:unity3d.com,2011:
|
||||
--- !u!21 &2100000
|
||||
Material:
|
||||
serializedVersion: 6
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_Name: demonormal white
|
||||
m_Shader: {fileID: 4800000, guid: 3334d0a534d2dac45b2c1a9a7e0a6c64, type: 3}
|
||||
m_ShaderKeywords: BAKERY_BICUBIC BAKERY_RNM BAKERY_SH BAKERY_SHNONLINEAR BAKERY_VERTEXLM
|
||||
BAKERY_VERTEXLMSH _NORMALMAP
|
||||
m_LightmapFlags: 4
|
||||
m_EnableInstancingVariants: 0
|
||||
m_DoubleSidedGI: 0
|
||||
m_CustomRenderQueue: -1
|
||||
stringTagMap: {}
|
||||
disabledShaderPasses: []
|
||||
m_SavedProperties:
|
||||
serializedVersion: 3
|
||||
m_TexEnvs:
|
||||
- _BumpMap:
|
||||
m_Texture: {fileID: 2800000, guid: f7cb3bf80f9eec2429456177b478a2ed, type: 3}
|
||||
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.5, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _MainTex:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1.5, 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}
|
||||
- _SubsurfaceMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _Volume0:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _Volume1:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _Volume2:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _VolumeMask:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _occlusionSH:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
m_Floats:
|
||||
- _BAKERY_2SIDED: 2
|
||||
- _BAKERY_2SIDEDON: 0
|
||||
- _BAKERY_BICUBIC: 1
|
||||
- _BAKERY_LMSPEC: 0
|
||||
- _BAKERY_PROBESHNONLINEAR: 0
|
||||
- _BAKERY_RNM: 1
|
||||
- _BAKERY_SH: 1
|
||||
- _BAKERY_SHNONLINEAR: 1
|
||||
- _BAKERY_VERTEXLM: 1
|
||||
- _BAKERY_VERTEXLMDIR: 0
|
||||
- _BAKERY_VERTEXLMMASK: 0
|
||||
- _BAKERY_VERTEXLMSH: 1
|
||||
- _BAKERY_VOLUME: 0
|
||||
- _BumpScale: 1
|
||||
- _Cutoff: 0.5
|
||||
- _DetailNormalMapScale: 1
|
||||
- _DstBlend: 0
|
||||
- _GlossMapScale: 1
|
||||
- _Glossiness: 0.597
|
||||
- _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}
|
||||
- _VolumeInvSize: {r: 1000001, g: 1000001, b: 1000001, a: 1}
|
||||
- _VolumeMin: {r: 0, g: 0, b: 0, a: 1}
|
||||
m_BuildTextureStacks: []
|
9
Assets/Bakery/examples/content/demonormal white.mat.meta
Normal file
9
Assets/Bakery/examples/content/demonormal white.mat.meta
Normal file
@ -0,0 +1,9 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 4018ae4450fd12b4cb48d0c4085aa903
|
||||
timeCreated: 1539286056
|
||||
licenseType: Store
|
||||
NativeFormatImporter:
|
||||
mainObjectFileID: 2100000
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
99
Assets/Bakery/examples/content/demonormal.mat
Normal file
99
Assets/Bakery/examples/content/demonormal.mat
Normal file
@ -0,0 +1,99 @@
|
||||
%YAML 1.1
|
||||
%TAG !u! tag:unity3d.com,2011:
|
||||
--- !u!21 &2100000
|
||||
Material:
|
||||
serializedVersion: 6
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_Name: demonormal
|
||||
m_Shader: {fileID: 4800000, guid: 3334d0a534d2dac45b2c1a9a7e0a6c64, type: 3}
|
||||
m_ShaderKeywords: BAKERY_BICUBIC BAKERY_LMSPEC BAKERY_RNM BAKERY_SH BAKERY_SHNONLINEAR
|
||||
BAKERY_VERTEXLM BAKERY_VERTEXLMMASK BAKERY_VERTEXLMSH _NORMALMAP
|
||||
m_LightmapFlags: 4
|
||||
m_EnableInstancingVariants: 0
|
||||
m_DoubleSidedGI: 0
|
||||
m_CustomRenderQueue: -1
|
||||
stringTagMap: {}
|
||||
disabledShaderPasses: []
|
||||
m_SavedProperties:
|
||||
serializedVersion: 3
|
||||
m_TexEnvs:
|
||||
- _BumpMap:
|
||||
m_Texture: {fileID: 2800000, guid: f7cb3bf80f9eec2429456177b478a2ed, type: 3}
|
||||
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}
|
||||
- _SubsurfaceMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _occlusionSH:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
m_Floats:
|
||||
- _BAKERY_2SIDED: 2
|
||||
- _BAKERY_2SIDEDON: 0
|
||||
- _BAKERY_BICUBIC: 1
|
||||
- _BAKERY_LMSPEC: 1
|
||||
- _BAKERY_PROBESHNONLINEAR: 0
|
||||
- _BAKERY_RNM: 1
|
||||
- _BAKERY_SH: 1
|
||||
- _BAKERY_SHNONLINEAR: 1
|
||||
- _BAKERY_VERTEXLM: 1
|
||||
- _BAKERY_VERTEXLMDIR: 0
|
||||
- _BAKERY_VERTEXLMMASK: 1
|
||||
- _BAKERY_VERTEXLMSH: 1
|
||||
- _BumpScale: 1
|
||||
- _Cutoff: 0.5
|
||||
- _DetailNormalMapScale: 1
|
||||
- _DstBlend: 0
|
||||
- _GlossMapScale: 1
|
||||
- _Glossiness: 0.63
|
||||
- _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: []
|
9
Assets/Bakery/examples/content/demonormal.mat.meta
Normal file
9
Assets/Bakery/examples/content/demonormal.mat.meta
Normal file
@ -0,0 +1,9 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 9102022adfbe4184d9e91b0e50ffb5ce
|
||||
timeCreated: 1539286056
|
||||
licenseType: Store
|
||||
NativeFormatImporter:
|
||||
mainObjectFileID: 2100000
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
117
Assets/Bakery/examples/content/demored.mat
Normal file
117
Assets/Bakery/examples/content/demored.mat
Normal file
@ -0,0 +1,117 @@
|
||||
%YAML 1.1
|
||||
%TAG !u! tag:unity3d.com,2011:
|
||||
--- !u!21 &2100000
|
||||
Material:
|
||||
serializedVersion: 6
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_Name: demored
|
||||
m_Shader: {fileID: 46, guid: 0000000000000000f000000000000000, type: 0}
|
||||
m_ShaderKeywords: _GLOSSYREFLECTIONS_OFF _SPECULARHIGHLIGHTS_OFF
|
||||
m_LightmapFlags: 4
|
||||
m_EnableInstancingVariants: 0
|
||||
m_DoubleSidedGI: 0
|
||||
m_CustomRenderQueue: -1
|
||||
stringTagMap: {}
|
||||
disabledShaderPasses: []
|
||||
m_SavedProperties:
|
||||
serializedVersion: 3
|
||||
m_TexEnvs:
|
||||
- _BumpMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _DetailAlbedoMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _DetailMask:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _DetailNormalMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _EmissionMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _MainTex:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _MetallicGlossMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _OcclusionMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _ParallaxMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _SubsurfaceMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _Volume0:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _Volume1:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _Volume2:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _VolumeMask:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _occlusionSH:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
m_Floats:
|
||||
- _BAKERY_2SIDED: 2
|
||||
- _BAKERY_2SIDEDON: 0
|
||||
- _BAKERY_BICUBIC: 0
|
||||
- _BAKERY_LMSPEC: 0
|
||||
- _BAKERY_PROBESHNONLINEAR: 0
|
||||
- _BAKERY_RNM: 0
|
||||
- _BAKERY_SH: 0
|
||||
- _BAKERY_SHNONLINEAR: 0
|
||||
- _BAKERY_VERTEXLM: 0
|
||||
- _BAKERY_VERTEXLMDIR: 0
|
||||
- _BAKERY_VERTEXLMMASK: 0
|
||||
- _BAKERY_VERTEXLMSH: 0
|
||||
- _BAKERY_VOLUME: 0
|
||||
- _BumpScale: 1
|
||||
- _Cutoff: 0.5
|
||||
- _DetailNormalMapScale: 1
|
||||
- _DstBlend: 0
|
||||
- _GlossMapScale: 1
|
||||
- _Glossiness: 0
|
||||
- _GlossyReflections: 0
|
||||
- _Metallic: 0
|
||||
- _Mode: 0
|
||||
- _OcclusionStrength: 1
|
||||
- _Parallax: 0.02
|
||||
- _SmoothnessTextureChannel: 0
|
||||
- _SpecularHighlights: 0
|
||||
- _SrcBlend: 1
|
||||
- _UVSec: 0
|
||||
- _ZWrite: 1
|
||||
m_Colors:
|
||||
- _Color: {r: 0.83823526, g: 0, b: 0.22545655, a: 1}
|
||||
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
|
||||
- _VolumeInvSize: {r: 1000001, g: 1000001, b: 1000001, a: 1}
|
||||
- _VolumeMin: {r: 0, g: 0, b: 0, a: 1}
|
||||
m_BuildTextureStacks: []
|
9
Assets/Bakery/examples/content/demored.mat.meta
Normal file
9
Assets/Bakery/examples/content/demored.mat.meta
Normal file
@ -0,0 +1,9 @@
|
||||
fileFormatVersion: 2
|
||||
guid: f98c21bf86e213449ae640217a5c294c
|
||||
timeCreated: 1539286056
|
||||
licenseType: Store
|
||||
NativeFormatImporter:
|
||||
mainObjectFileID: 2100000
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
117
Assets/Bakery/examples/content/demotrain.mat
Normal file
117
Assets/Bakery/examples/content/demotrain.mat
Normal file
@ -0,0 +1,117 @@
|
||||
%YAML 1.1
|
||||
%TAG !u! tag:unity3d.com,2011:
|
||||
--- !u!21 &2100000
|
||||
Material:
|
||||
serializedVersion: 6
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_Name: demotrain
|
||||
m_Shader: {fileID: 4800000, guid: 3334d0a534d2dac45b2c1a9a7e0a6c64, type: 3}
|
||||
m_ShaderKeywords: BAKERY_LMSPEC BAKERY_VERTEXLMMASK BAKERY_VERTEXLMSH BAKERY_VOLUME
|
||||
m_LightmapFlags: 4
|
||||
m_EnableInstancingVariants: 0
|
||||
m_DoubleSidedGI: 0
|
||||
m_CustomRenderQueue: -1
|
||||
stringTagMap: {}
|
||||
disabledShaderPasses: []
|
||||
m_SavedProperties:
|
||||
serializedVersion: 3
|
||||
m_TexEnvs:
|
||||
- _BumpMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _DetailAlbedoMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _DetailMask:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _DetailNormalMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _EmissionMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _MainTex:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _MetallicGlossMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _OcclusionMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _ParallaxMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _SubsurfaceMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _Volume0:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _Volume1:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _Volume2:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _VolumeMask:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _occlusionSH:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
m_Floats:
|
||||
- _BAKERY_2SIDED: 2
|
||||
- _BAKERY_2SIDEDON: 0
|
||||
- _BAKERY_BICUBIC: 0
|
||||
- _BAKERY_LMSPEC: 1
|
||||
- _BAKERY_PROBESHNONLINEAR: 0
|
||||
- _BAKERY_RNM: 0
|
||||
- _BAKERY_SH: 0
|
||||
- _BAKERY_SHNONLINEAR: 0
|
||||
- _BAKERY_VERTEXLM: 0
|
||||
- _BAKERY_VERTEXLMDIR: 0
|
||||
- _BAKERY_VERTEXLMMASK: 1
|
||||
- _BAKERY_VERTEXLMSH: 1
|
||||
- _BAKERY_VOLUME: 1
|
||||
- _BumpScale: 1
|
||||
- _Cutoff: 0.5
|
||||
- _DetailNormalMapScale: 1
|
||||
- _DstBlend: 0
|
||||
- _GlossMapScale: 1
|
||||
- _Glossiness: 0.329
|
||||
- _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: 0.64705884, g: 0.64705884, b: 0.64705884, a: 1}
|
||||
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
|
||||
- _VolumeInvSize: {r: 1000001, g: 1000001, b: 1000001, a: 0}
|
||||
- _VolumeMin: {r: 0, g: 0, b: 0, a: 0}
|
||||
m_BuildTextureStacks: []
|
9
Assets/Bakery/examples/content/demotrain.mat.meta
Normal file
9
Assets/Bakery/examples/content/demotrain.mat.meta
Normal file
@ -0,0 +1,9 @@
|
||||
fileFormatVersion: 2
|
||||
guid: 8cda24404aa2bed4bba545b626447cf0
|
||||
timeCreated: 1539286056
|
||||
licenseType: Store
|
||||
NativeFormatImporter:
|
||||
mainObjectFileID: 2100000
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
117
Assets/Bakery/examples/content/demowhite.mat
Normal file
117
Assets/Bakery/examples/content/demowhite.mat
Normal file
@ -0,0 +1,117 @@
|
||||
%YAML 1.1
|
||||
%TAG !u! tag:unity3d.com,2011:
|
||||
--- !u!21 &2100000
|
||||
Material:
|
||||
serializedVersion: 6
|
||||
m_ObjectHideFlags: 0
|
||||
m_CorrespondingSourceObject: {fileID: 0}
|
||||
m_PrefabInstance: {fileID: 0}
|
||||
m_PrefabAsset: {fileID: 0}
|
||||
m_Name: demowhite
|
||||
m_Shader: {fileID: 46, guid: 0000000000000000f000000000000000, type: 0}
|
||||
m_ShaderKeywords: _GLOSSYREFLECTIONS_OFF _SPECULARHIGHLIGHTS_OFF
|
||||
m_LightmapFlags: 4
|
||||
m_EnableInstancingVariants: 0
|
||||
m_DoubleSidedGI: 0
|
||||
m_CustomRenderQueue: -1
|
||||
stringTagMap: {}
|
||||
disabledShaderPasses: []
|
||||
m_SavedProperties:
|
||||
serializedVersion: 3
|
||||
m_TexEnvs:
|
||||
- _BumpMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _DetailAlbedoMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _DetailMask:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _DetailNormalMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _EmissionMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _MainTex:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _MetallicGlossMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _OcclusionMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _ParallaxMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _SubsurfaceMap:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _Volume0:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _Volume1:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _Volume2:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _VolumeMask:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
- _occlusionSH:
|
||||
m_Texture: {fileID: 0}
|
||||
m_Scale: {x: 1, y: 1}
|
||||
m_Offset: {x: 0, y: 0}
|
||||
m_Floats:
|
||||
- _BAKERY_2SIDED: 2
|
||||
- _BAKERY_2SIDEDON: 0
|
||||
- _BAKERY_BICUBIC: 0
|
||||
- _BAKERY_LMSPEC: 0
|
||||
- _BAKERY_PROBESHNONLINEAR: 0
|
||||
- _BAKERY_RNM: 0
|
||||
- _BAKERY_SH: 0
|
||||
- _BAKERY_SHNONLINEAR: 0
|
||||
- _BAKERY_VERTEXLM: 0
|
||||
- _BAKERY_VERTEXLMDIR: 0
|
||||
- _BAKERY_VERTEXLMMASK: 0
|
||||
- _BAKERY_VERTEXLMSH: 0
|
||||
- _BAKERY_VOLUME: 0
|
||||
- _BumpScale: 1
|
||||
- _Cutoff: 0.5
|
||||
- _DetailNormalMapScale: 1
|
||||
- _DstBlend: 0
|
||||
- _GlossMapScale: 1
|
||||
- _Glossiness: 0
|
||||
- _GlossyReflections: 0
|
||||
- _Metallic: 0
|
||||
- _Mode: 0
|
||||
- _OcclusionStrength: 1
|
||||
- _Parallax: 0.02
|
||||
- _SmoothnessTextureChannel: 0
|
||||
- _SpecularHighlights: 0
|
||||
- _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}
|
||||
- _VolumeInvSize: {r: 1000001, g: 1000001, b: 1000001, a: 1}
|
||||
- _VolumeMin: {r: 0, g: 0, b: 0, a: 1}
|
||||
m_BuildTextureStacks: []
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
x
Reference in New Issue
Block a user