Merge remote-tracking branch 'origin/master' into 1.13
# Conflicts: # Source/Engine/GraphicsDevice/Vulkan/GPUSwapChainVulkan.cpp # Source/Engine/Renderer/Utils/GlobalSignDistanceFieldPass.cpp # Source/Engine/Scripting/Internal/InternalCalls.h # Source/Engine/Scripting/Internal/ManagedDictionary.cpp # Source/Engine/Scripting/Internal/ManagedDictionary.h # Source/Engine/Scripting/ScriptingObject.cpp # Source/Tools/Flax.Build/Bindings/BindingsGenerator.CSharp.cs
This commit is contained in:
@@ -1144,7 +1144,7 @@ void Particles::DrawParticles(RenderContextBatch& renderContextBatch, ParticleEf
|
||||
|
||||
// Drawing assumes that all views within a batch have the same Origin
|
||||
const Vector3& viewOrigin = renderContextBatch.GetMainContext().View.Origin;
|
||||
BoundingSphere bounds = effect->GetSphere();
|
||||
BoundingSphere bounds = effect->GetBoundingSphere();
|
||||
bounds.Center -= viewOrigin;
|
||||
|
||||
// Cull particles against all views
|
||||
|
||||
Reference in New Issue
Block a user