GI and audio fix stuff

This commit is contained in:
2024-06-28 23:04:49 +03:00
parent e023dfce69
commit 9ba5a00cfe
5 changed files with 11 additions and 9 deletions

View File

@@ -1,10 +1,11 @@
{
"ID": "492a33824049ba25a8bdcdb148179e67",
"TypeName": "FlaxEditor.Content.Settings.AudioSettings",
"EngineBuild": 6219,
"EngineBuild": 6602,
"Data": {
"DisableAudio": false,
"DopplerFactor": 1.0,
"MuteOnFocusLoss": false
"MuteOnFocusLoss": false,
"EnableHRTF": false
}
}

View File

@@ -1,7 +1,7 @@
{
"ID": "f94d5aae457aeba67033a8a4ca753214",
"TypeName": "FlaxEditor.Content.Settings.GraphicsSettings",
"EngineBuild": 65045,
"EngineBuild": 6602,
"Data": {
"UseVSync": false,
"AAQuality": 3,
@@ -14,8 +14,9 @@
"DefaultProbeResolution": 128,
"UseHDRProbes": false,
"EnableGlobalSDF": true,
"GlobalSDFDistance": 15000.0,
"GlobalSDFQuality": 2,
"GenerateSDFOnModelImport": true,
"GenerateSDFOnModelImport": false,
"GIQuality": 3,
"GIProbesSpacing": 100.0,
"GlobalSurfaceAtlasResolution": 4096,
@@ -30,7 +31,7 @@
"FadeDistance": 500.0
},
"GI": {
"OverrideFlags": 63,
"OverrideFlags": 55,
"Mode": 1,
"Intensity": 1.0,
"BounceIntensity": 1.0,
@@ -39,7 +40,7 @@
"FallbackIrradiance": {
"R": 1.0,
"G": 0.0,
"B": 0.83657455,
"B": 0.014919281,
"A": 1.0
}
},

View File

@@ -153,7 +153,7 @@ public static class AudioManager
audioSource.Name += ", pitch: " + pitch;
if (pitch != 0f)
audioSource.Name += ", delay: " + randomDelay;
Console.Print("playing sound " + audioSource.Name);
//Console.Print("playing sound " + audioSource.Name);
if (channel > 0)
actorChannels.channelSources[channel] = audioSource;

View File

@@ -204,7 +204,6 @@ public class ConsoleInstance : IDisposable
// Initializes the Console system.
internal void InitConsoleSubsystems()
{
return;
#if USE_NETCORE
var assemblies = Utils.GetAssemblies();
#else

View File

@@ -11,6 +11,7 @@ using System.Text;
using System.Threading;
using System.Threading.Tasks;
using FlaxEditor;
using FlaxEditor.Content.Settings;
using FlaxEngine;
using FlaxEngine.Assertions;
using FlaxEngine.GUI;
@@ -1470,7 +1471,7 @@ public class Q3MapImporter : Script
light.IndirectLightingIntensity = IndirectLightMultiplier;
light.ShadowsDepthBias = 0.0565f;
light.ShadowsDepthBias = 0.0565f * 4.2f;
// if low quality shadows
//light.ShadowsDepthBias = 0.2492f;