GI and audio fix stuff
This commit is contained in:
@@ -1,10 +1,11 @@
|
|||||||
{
|
{
|
||||||
"ID": "492a33824049ba25a8bdcdb148179e67",
|
"ID": "492a33824049ba25a8bdcdb148179e67",
|
||||||
"TypeName": "FlaxEditor.Content.Settings.AudioSettings",
|
"TypeName": "FlaxEditor.Content.Settings.AudioSettings",
|
||||||
"EngineBuild": 6219,
|
"EngineBuild": 6602,
|
||||||
"Data": {
|
"Data": {
|
||||||
"DisableAudio": false,
|
"DisableAudio": false,
|
||||||
"DopplerFactor": 1.0,
|
"DopplerFactor": 1.0,
|
||||||
"MuteOnFocusLoss": false
|
"MuteOnFocusLoss": false,
|
||||||
|
"EnableHRTF": false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"ID": "f94d5aae457aeba67033a8a4ca753214",
|
"ID": "f94d5aae457aeba67033a8a4ca753214",
|
||||||
"TypeName": "FlaxEditor.Content.Settings.GraphicsSettings",
|
"TypeName": "FlaxEditor.Content.Settings.GraphicsSettings",
|
||||||
"EngineBuild": 65045,
|
"EngineBuild": 6602,
|
||||||
"Data": {
|
"Data": {
|
||||||
"UseVSync": false,
|
"UseVSync": false,
|
||||||
"AAQuality": 3,
|
"AAQuality": 3,
|
||||||
@@ -14,8 +14,9 @@
|
|||||||
"DefaultProbeResolution": 128,
|
"DefaultProbeResolution": 128,
|
||||||
"UseHDRProbes": false,
|
"UseHDRProbes": false,
|
||||||
"EnableGlobalSDF": true,
|
"EnableGlobalSDF": true,
|
||||||
|
"GlobalSDFDistance": 15000.0,
|
||||||
"GlobalSDFQuality": 2,
|
"GlobalSDFQuality": 2,
|
||||||
"GenerateSDFOnModelImport": true,
|
"GenerateSDFOnModelImport": false,
|
||||||
"GIQuality": 3,
|
"GIQuality": 3,
|
||||||
"GIProbesSpacing": 100.0,
|
"GIProbesSpacing": 100.0,
|
||||||
"GlobalSurfaceAtlasResolution": 4096,
|
"GlobalSurfaceAtlasResolution": 4096,
|
||||||
@@ -30,7 +31,7 @@
|
|||||||
"FadeDistance": 500.0
|
"FadeDistance": 500.0
|
||||||
},
|
},
|
||||||
"GI": {
|
"GI": {
|
||||||
"OverrideFlags": 63,
|
"OverrideFlags": 55,
|
||||||
"Mode": 1,
|
"Mode": 1,
|
||||||
"Intensity": 1.0,
|
"Intensity": 1.0,
|
||||||
"BounceIntensity": 1.0,
|
"BounceIntensity": 1.0,
|
||||||
@@ -39,7 +40,7 @@
|
|||||||
"FallbackIrradiance": {
|
"FallbackIrradiance": {
|
||||||
"R": 1.0,
|
"R": 1.0,
|
||||||
"G": 0.0,
|
"G": 0.0,
|
||||||
"B": 0.83657455,
|
"B": 0.014919281,
|
||||||
"A": 1.0
|
"A": 1.0
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -153,7 +153,7 @@ public static class AudioManager
|
|||||||
audioSource.Name += ", pitch: " + pitch;
|
audioSource.Name += ", pitch: " + pitch;
|
||||||
if (pitch != 0f)
|
if (pitch != 0f)
|
||||||
audioSource.Name += ", delay: " + randomDelay;
|
audioSource.Name += ", delay: " + randomDelay;
|
||||||
Console.Print("playing sound " + audioSource.Name);
|
//Console.Print("playing sound " + audioSource.Name);
|
||||||
|
|
||||||
if (channel > 0)
|
if (channel > 0)
|
||||||
actorChannels.channelSources[channel] = audioSource;
|
actorChannels.channelSources[channel] = audioSource;
|
||||||
|
|||||||
@@ -204,7 +204,6 @@ public class ConsoleInstance : IDisposable
|
|||||||
// Initializes the Console system.
|
// Initializes the Console system.
|
||||||
internal void InitConsoleSubsystems()
|
internal void InitConsoleSubsystems()
|
||||||
{
|
{
|
||||||
return;
|
|
||||||
#if USE_NETCORE
|
#if USE_NETCORE
|
||||||
var assemblies = Utils.GetAssemblies();
|
var assemblies = Utils.GetAssemblies();
|
||||||
#else
|
#else
|
||||||
|
|||||||
@@ -11,6 +11,7 @@ using System.Text;
|
|||||||
using System.Threading;
|
using System.Threading;
|
||||||
using System.Threading.Tasks;
|
using System.Threading.Tasks;
|
||||||
using FlaxEditor;
|
using FlaxEditor;
|
||||||
|
using FlaxEditor.Content.Settings;
|
||||||
using FlaxEngine;
|
using FlaxEngine;
|
||||||
using FlaxEngine.Assertions;
|
using FlaxEngine.Assertions;
|
||||||
using FlaxEngine.GUI;
|
using FlaxEngine.GUI;
|
||||||
@@ -1470,7 +1471,7 @@ public class Q3MapImporter : Script
|
|||||||
|
|
||||||
light.IndirectLightingIntensity = IndirectLightMultiplier;
|
light.IndirectLightingIntensity = IndirectLightMultiplier;
|
||||||
|
|
||||||
light.ShadowsDepthBias = 0.0565f;
|
light.ShadowsDepthBias = 0.0565f * 4.2f;
|
||||||
// if low quality shadows
|
// if low quality shadows
|
||||||
//light.ShadowsDepthBias = 0.2492f;
|
//light.ShadowsDepthBias = 0.2492f;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user