some bug fix
This commit is contained in:
@@ -56,6 +56,7 @@ public class LiveViewerUI : MonoBehaviour
|
|||||||
|
|
||||||
public void SetFrameRate(int fps)
|
public void SetFrameRate(int fps)
|
||||||
{
|
{
|
||||||
|
QualitySettings.vSyncCount = 0;
|
||||||
Application.targetFrameRate = int.Parse(FrameRateDropDown.options[fps].text);
|
Application.targetFrameRate = int.Parse(FrameRateDropDown.options[fps].text);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -907,7 +907,7 @@ public class UmaContainerCharacter : UmaContainer
|
|||||||
var textures = TailTextures;
|
var textures = TailTextures;
|
||||||
foreach (Renderer r in Tail.GetComponentsInChildren<Renderer>())
|
foreach (Renderer r in Tail.GetComponentsInChildren<Renderer>())
|
||||||
{
|
{
|
||||||
foreach (Material m in r.sharedMaterials)
|
foreach (Material m in r.materials)
|
||||||
{
|
{
|
||||||
m.SetTexture("_MainTex", textures.FirstOrDefault(t => t.name.EndsWith("diff")));
|
m.SetTexture("_MainTex", textures.FirstOrDefault(t => t.name.EndsWith("diff")));
|
||||||
m.SetTexture("_ToonMap", textures.FirstOrDefault(t => t.name.Contains("shad")));
|
m.SetTexture("_ToonMap", textures.FirstOrDefault(t => t.name.Contains("shad")));
|
||||||
|
|||||||
@@ -29,6 +29,7 @@ public class UmaViewerMain : MonoBehaviour
|
|||||||
{
|
{
|
||||||
Instance = this;
|
Instance = this;
|
||||||
new Config();
|
new Config();
|
||||||
|
QualitySettings.vSyncCount = 0;
|
||||||
Application.targetFrameRate = 120;
|
Application.targetFrameRate = 120;
|
||||||
|
|
||||||
AbList = UmaDatabaseController.Instance.MetaEntries;
|
AbList = UmaDatabaseController.Instance.MetaEntries;
|
||||||
|
|||||||
@@ -973,9 +973,9 @@ namespace Gallop
|
|||||||
MangaMorph.BindProperties[1].Value = 1;
|
MangaMorph.BindProperties[1].Value = 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
var tearyEnable = ((int)info.attribute & LiveTimelineKeyFacialEffectData.kAttrTeary) > 0;
|
var tearfulEnable = ((int)info.attribute & LiveTimelineKeyFacialEffectData.kAttrTearful) > 0;
|
||||||
var tearytype = tearyEnable ? info.tearyType : 0;
|
var tearfultype = tearfulEnable ? info.tearyType : 0;
|
||||||
StaticTearMorph.BindProperties.ForEach(p => p.Value = tearytype);
|
StaticTearMorph.BindProperties.ForEach(p => p.Value = tearfultype);
|
||||||
|
|
||||||
var shaderEnable = ((int)info.attribute & LiveTimelineKeyFacialEffectData.kAttrFaceShadowVisible) > 0;
|
var shaderEnable = ((int)info.attribute & LiveTimelineKeyFacialEffectData.kAttrFaceShadowVisible) > 0;
|
||||||
if (shaderEnable)
|
if (shaderEnable)
|
||||||
|
|||||||
@@ -125,7 +125,7 @@ namespace Gallop.Live.Cutt
|
|||||||
_tempAnim.wrapMode = (arg.loop ? WrapMode.Loop : WrapMode.Default);
|
_tempAnim.wrapMode = (arg.loop ? WrapMode.Loop : WrapMode.Default);
|
||||||
_tempAnim[anim.name].time = (float)(start + interval);
|
_tempAnim[anim.name].time = (float)(start + interval);
|
||||||
|
|
||||||
if (Mathf.Abs(_prevFrameAnimationTime - currentTime) < 0.01f)
|
if (Mathf.Abs(_prevFrameAnimationTime - currentTime) < 0.01f && Director.instance.sliderControl.is_Touched)
|
||||||
{
|
{
|
||||||
if (_tempAnim.IsPlaying(anim.name))
|
if (_tempAnim.IsPlaying(anim.name))
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -100,7 +100,7 @@ QualitySettings:
|
|||||||
softVegetation: 0
|
softVegetation: 0
|
||||||
realtimeReflectionProbes: 0
|
realtimeReflectionProbes: 0
|
||||||
billboardsFaceCameraPosition: 0
|
billboardsFaceCameraPosition: 0
|
||||||
vSyncCount: 1
|
vSyncCount: 0
|
||||||
lodBias: 0.7
|
lodBias: 0.7
|
||||||
maximumLODLevel: 0
|
maximumLODLevel: 0
|
||||||
streamingMipmapsActive: 0
|
streamingMipmapsActive: 0
|
||||||
@@ -137,7 +137,7 @@ QualitySettings:
|
|||||||
softVegetation: 1
|
softVegetation: 1
|
||||||
realtimeReflectionProbes: 1
|
realtimeReflectionProbes: 1
|
||||||
billboardsFaceCameraPosition: 1
|
billboardsFaceCameraPosition: 1
|
||||||
vSyncCount: 1
|
vSyncCount: 0
|
||||||
lodBias: 1
|
lodBias: 1
|
||||||
maximumLODLevel: 0
|
maximumLODLevel: 0
|
||||||
streamingMipmapsActive: 0
|
streamingMipmapsActive: 0
|
||||||
@@ -174,7 +174,7 @@ QualitySettings:
|
|||||||
softVegetation: 1
|
softVegetation: 1
|
||||||
realtimeReflectionProbes: 1
|
realtimeReflectionProbes: 1
|
||||||
billboardsFaceCameraPosition: 1
|
billboardsFaceCameraPosition: 1
|
||||||
vSyncCount: 1
|
vSyncCount: 0
|
||||||
lodBias: 1.5
|
lodBias: 1.5
|
||||||
maximumLODLevel: 0
|
maximumLODLevel: 0
|
||||||
streamingMipmapsActive: 0
|
streamingMipmapsActive: 0
|
||||||
@@ -211,7 +211,7 @@ QualitySettings:
|
|||||||
softVegetation: 1
|
softVegetation: 1
|
||||||
realtimeReflectionProbes: 1
|
realtimeReflectionProbes: 1
|
||||||
billboardsFaceCameraPosition: 1
|
billboardsFaceCameraPosition: 1
|
||||||
vSyncCount: 1
|
vSyncCount: 0
|
||||||
lodBias: 2
|
lodBias: 2
|
||||||
maximumLODLevel: 0
|
maximumLODLevel: 0
|
||||||
streamingMipmapsActive: 0
|
streamingMipmapsActive: 0
|
||||||
|
|||||||
@@ -13,3 +13,4 @@ MonoBehaviour:
|
|||||||
m_Name:
|
m_Name:
|
||||||
m_EditorClassIdentifier:
|
m_EditorClassIdentifier:
|
||||||
assetDefaultFramerate: 60
|
assetDefaultFramerate: 60
|
||||||
|
m_DefaultFrameRate: 60
|
||||||
|
|||||||
Reference in New Issue
Block a user