GI and audio fix stuff
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -204,7 +204,6 @@ public class ConsoleInstance : IDisposable
|
||||
// Initializes the Console system.
|
||||
internal void InitConsoleSubsystems()
|
||||
{
|
||||
return;
|
||||
#if USE_NETCORE
|
||||
var assemblies = Utils.GetAssemblies();
|
||||
#else
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user