Skip to content

Commit

Permalink
PopcornFX Plugin v2.15.1
Browse files Browse the repository at this point in the history
  • Loading branch information
HugoPKFX committed Jan 27, 2023
1 parent 4b1ee1b commit 02ec322
Show file tree
Hide file tree
Showing 8 changed files with 15 additions and 18 deletions.
2 changes: 1 addition & 1 deletion Download_SDK_Desktop.bat
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ setlocal

bitsadmin /reset
bitsadmin /create third_party_download_desktop
bitsadmin /addfile third_party_download_desktop https://downloads.popcornfx.com/Plugins/UE4/UnrealEngine_PopcornFXPlugin_2.15.0_Win64_Linux64_Mac64.7z "%~dp0\_PopcornFX_Runtime_SDK_Desktop.7z"
bitsadmin /addfile third_party_download_desktop https://downloads.popcornfx.com/Plugins/UE4/UnrealEngine_PopcornFXPlugin_2.15.1_Win64_Linux64_Mac64.7z "%~dp0\_PopcornFX_Runtime_SDK_Desktop.7z"
bitsadmin /setpriority third_party_download_desktop "FOREGROUND"
bitsadmin /resume third_party_download_desktop

Expand Down
2 changes: 1 addition & 1 deletion Download_SDK_Mobile.bat
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ setlocal

bitsadmin /reset
bitsadmin /create third_party_download_mobile
bitsadmin /addfile third_party_download_mobile https://downloads.popcornfx.com/Plugins/UE4/UnrealEngine_PopcornFXPlugin_2.15.0_iOS_Android.7z "%~dp0\_PopcornFX_Runtime_SDK_Mobile.7z"
bitsadmin /addfile third_party_download_mobile https://downloads.popcornfx.com/Plugins/UE4/UnrealEngine_PopcornFXPlugin_2.15.1_iOS_Android.7z "%~dp0\_PopcornFX_Runtime_SDK_Mobile.7z"
bitsadmin /setpriority third_party_download_mobile "FOREGROUND"
bitsadmin /resume third_party_download_mobile

Expand Down
4 changes: 2 additions & 2 deletions PopcornFX.uplugin
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"FileVersion": 3,
"Version": 21500,
"VersionName": "2.15.0",
"Version": 21501,
"VersionName": "2.15.1",
"FriendlyName": "PopcornFX",
"Description": "PopcornFX Realtime Particle Solution integration into Unreal Engine",
"Category": "PopcornFX",
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# Unreal Engine PopcornFX Plugin

Integrates the **PopcornFX Runtime SDK** into **Unreal Engine 4** and **Unreal Engine 5** as a Plugin.
* **Version:** `v2.15.0`
* **Unreal Engine:** `4.27` and `5.1`
* **Version:** `v2.15.1`
* **Unreal Engine:** `4.27`, `5.0` and `5.1`
* **Supported platforms:** `Windows`, `MacOS`, `Linux`, `iOS`, `Android`, `PS4`, `PS5`, `XboxOne`, `Xbox Series`, `Switch`

[Contact-us](http://www.popcornfx.com/contact-us/) to request access to the plugin for consoles.
Expand Down
2 changes: 2 additions & 0 deletions Shaders/Private/PopcornFXVertexFactory.ush
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,9 @@ struct FVertexFactoryInput
#if FEATURE_LEVEL >= FEATURE_LEVEL_SM4 && ONEPASS_POINTLIGHT_SHADOW && USING_VERTEX_SHADER_LAYER
uint InstanceId : SV_InstanceID;
#else
# if (ENGINE_MAJOR_VERSION == 5 && ENGINE_MINOR_VERSION >= 1)
VF_INSTANCED_STEREO_DECLARE_INPUT_BLOCK()
# endif // (ENGINE_MAJOR_VERSION == 5 && ENGINE_MINOR_VERSION >= 1)
#endif
uint VertexId : SV_VertexID;
};
Expand Down
12 changes: 6 additions & 6 deletions Source/PopcornFX/PopcornFX.Build.cs
Original file line number Diff line number Diff line change
Expand Up @@ -300,15 +300,15 @@ private bool SetupPopcornFX(TargetInfo Target)
#endif // !UE_5_0_OR_LATER
else if (Target.Platform == UnrealTargetPlatform.Android)
{
// Multiple Architectures ! (armeabi, arm64)
// Using PublicLibraryPaths so ld will "skipping incompatible" libraries
// FIXME: UE Build will not watch for lib changes to relink

processLibs = false;
foreach (string lib in PkLibs)
{
PublicAdditionalLibraries.Add(clientLibDir + "gmake_android/lib" + lib + "_" + configShort + ".a"); // armv7a (armeabi)
PublicAdditionalLibraries.Add(clientLibDir + "gmake_android64/lib" + lib + "_" + configShort + ".a"); // armv8a (arm64)
#if !UE_5_0_OR_LATER // armv7 dropped with UE5
// Multiple Architectures ! (armeabi, arm64)
// Using PublicLibraryPaths so ld will "skipping incompatible" libraries
PublicAdditionalLibraries.Add(clientLibDir + "gmake_android/lib" + lib + "_" + configShort + ".a"); // armv7 (armeabi)
#endif
PublicAdditionalLibraries.Add(clientLibDir + "gmake_android64/lib" + lib + "_" + configShort + ".a"); // armv8 (arm64)
}
libPrefix = "";
libExt = "";
Expand Down
5 changes: 0 additions & 5 deletions Source/PopcornFX/Private/Assets/PopcornFXEffect.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -840,11 +840,6 @@ bool UPopcornFXEffect::_BakeFile(const FString &srcFilePath, FString &outBakedFi
else
bakeConfig->SetBakeMode(FPopcornFXPlugin::Get().SettingsEditor()->bDebugBakedEffects ? PopcornFX::COvenBakeConfig_HBO::Bake_SaveAsText : PopcornFX::COvenBakeConfig_HBO::Bake_SaveAsBinary); // "Final" bake when cooking: store as binary

#if 1
// Temp: Disable VRP optim pass as it's broken in 2.9.13
bakeConfig->SetCompilerSwitches("--no-ins-vrp");
#endif

// build versions
PopcornFX::COvenBakeConfig_Particle::_TypeOfBuildVersions buildVersions;
buildVersions = targetBuildVersions;
Expand Down
2 changes: 1 addition & 1 deletion Source/PopcornFX/Public/PopcornFXVersionGenerated.h
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@

#define POPCORNFX_PLUGIN_VERSION_MAJOR 2
#define POPCORNFX_PLUGIN_VERSION_MINOR 15
#define POPCORNFX_PLUGIN_VERSION_PATCH 0
#define POPCORNFX_PLUGIN_VERSION_PATCH 1
#define POPCORNFX_PLUGIN_VERSION_TAG ""

0 comments on commit 02ec322

Please sign in to comment.