We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 006cdf7 commit a954bd7Copy full SHA for a954bd7
1 file changed
Source/RealtimeMeshComponent/Private/RenderProxy/RealtimeMeshComponentProxy.cpp
@@ -5,7 +5,6 @@
5
#include "RealtimeMeshComponent.h"
6
#include "Materials/Material.h"
7
#include "PhysicsEngine/BodySetup.h"
8
-//#include "TessellationRendering.h"
9
#include "PrimitiveSceneProxy.h"
10
#include "UnrealEngine.h"
11
#include "SceneManagement.h"
@@ -289,7 +288,9 @@ namespace RealtimeMesh
289
288
RayTracingInstance.InstanceTransforms.Add(LocalToWorld);
290
291
RayTracingInstance.Materials.Add(Batch);
+#if ENGINE_MAJOR_VERSION == 5 && ENGINE_MINOR_VERSION < 2
292
RayTracingInstance.BuildInstanceMaskAndFlags(FeatureLevel);
293
+#endif
294
OutRayTracingInstances.Add(RayTracingInstance);
295
},
296
GetUniformBuffer(),
0 commit comments