Your best bet would be to take the 4.9 VXGI branch from NVIDIA, and just not enable VXGI. (Or even compile it out). Then just make sure to add “r.hbao.enable 1” to the ConsoleVariables.ini
I was completely unable to reliably compile out VXGI. It was weird. Even after disabling it and removing the preprocessor define for it.
There was an in an earlier build, but has fixed that (It seems thats part of his build, you can either use his build, or cherry pick the commit over to the official branch), please refer to: https://forums.unrealengine/showthread.php?53735-NVIDIA-GameWorks-Integration&p=384080&viewfull=1#post384080
Should only have to set WITH_GFSDK_VXGI=0
Please explain in more detail what to do with the file “GFSDK_VXGI_r0.9_19557187.zip”?
From “NVIDIA VXGI 0.9. Documentation” I can not understand.
What does the “Add a reference to GFSDK_VXGI_x64.lib or GFSDK_VXGI_x86.lib.”?
And it is “Put GFSDK_VXGI_x64.dll or GFSDK_VXGI_x86.dll into the output directory of the project.”?
I just installed Win 8 on Virtual Box, and I started to build on Win 8 x64, and the previous error did not appear anymore. But now I got another error:
Error 1 error LNK1181: can not open input file 'GFSDK_VXGId_x86.lib' C: \ UnrealEngine \ Engine \ Intermediate \ ProjectFiles \ LINK UE4
Error 2 error: Failed to produce item: C: \ UnrealEngine \ Engine \ Binaries \ Win32 \ UE4Game-Win32-Debug.exe C: \ UnrealEngine \ Engine \ Intermediate \ ProjectFiles \ ERROR UE4
Error 3 error MSB3073: The command "..\..\Build\BatchFiles\Build.bat UE4Game Win32 Debug" exited with code -1. C:\Program Files (x86)\MSBuild\Microsoft.Cpp\v4.0\V120\Microsoft.MakeFile.Targets 38 5 UE4
As can be seen the first error associated with GFSDK.
It looks like I have a new hobby - collecting bugs VS!))
Is there any console command to disable VXGI runtime like HBAO (r.HBAO.Enable 0)?
Ah thanks, I suppose it’s r.VXGI.DiffuseTracingEnable and r.VXGI.SpecularTracingEnable
So I’ve been working on a small project with VXGI for a while now, and now that I’ve gotten used to it it’s actually a really nice system. One concern though is lower end spec machines don’t even have a hope at running the game. Aside from the obvious ones like 4 cones, sparse tracing of 4 and mapsize of 32, what kind of things can I do to get it working well on lower end hardware? It doesn’t even necessarily need to look any better than manually placed point lights, which for now is the alternative option, to manually place a set of point lights to fake GI that are only enabled when VXGI is off. It’s obviously not an ideal solution, since I essentially need to do the scene’s lighting twice, and you lose a lot of the benefits of having a dynamic system in the first place.
Speaking of, if that really is the limit of how much you can turn it down for more performance, would be a good to add in a flag to the lights like I’ve been doing in the project. Basically, any light that I want on when VXGI is disabled, I end the name with _novxgi, essentially making a blacklist of fill lights that turn off when VXGI is on. It works great, except for the part where in the editor view it always shows both sets of lights even with VXGI enabled. I’m sure a more elegant solution is possible than what I did there.
I thought the main reason Epic removed VGI was the fact it didnt scale well! I really want to see VXGI take off but maybe its just a bit before its time.
**Please explain where you want to copy a file GFSDK_VXGI_x64.dll or GFSDK_VXGI_x86.dll? **
And what does the “Add a reference to GFSDK_VXGI_x64.lib or GFSDK_VXGI_x86.lib.”?
It sounds like your trying to follow the directions to use VXGI in a standalone application, that will not work for UE4. You need to obtain the UE4 VXGI branch from NVIDIA:
Destructibles and Flex interaction
Is there any way currently to have APEX destructibles interact with Flex particles? Destructible objects only seem to collide with Flex objects before they’ve been fractured. There was a demo NVIDIA released a while back with water in a glass tank. The tank is then shattered in various locations releasing the water. Any details on how that was achieved would be greatly appreciated. Thank you in advance.
As I understand it, at the top of the left column “Branch” instead of “release” should I choose “VXGI” right?
After that, there are two options, or “Download ZIP” or “Clone in Desktop” right?
time I downloaded the ZIP file, can be a problem?
****, could you describe step by step how you get the engine + VXGI.
In the above privacy I do not understand what to do after unpacking the archive. Perhaps you need something to download further (perhaps more the component to Nvidia)? Do I need to make changes to the VS (create links to change the code, etc.)?
PS:Thank you in advance for your help!
-
Download: /archive/VXGI-4.9.zip
-
Extract to your computer somewhere
-
Run Setup.bat in the root path
-
Once the above has complete (needs to download about 3.4gb of prereqs). Run GenerateProjectFiles.bat
-
Open UE4.sln and compile UE4 solution.
-
Once compilation has completed, Recompile ShaderCompilerWorker (under programs in Solution Explorer)
-
Launch UE4Editor.exe (or Start Debugging)
-
Wait for launch procedure to complete, it will get stuck on 45% for a while, since its compiling shaders.
, thank you for help! On your instructions I became much clearer process of building!
I believe so… let us know if it doesn’t work.
I believe VXGI is a -onwards thing. has lots of “stuff” (as best I can describe it) that accelerates VXGI quite a lot. Nvidia Pascal is around the corner. I’m sure AMD will look at how to optimise for things like VXGI though AMD is clearly behind Nvidia in terms of power consumption at least.
There’s probably not going to be any tweaks for VXGI that will really work for pre- cards, unless Nvidia or AMD put a lot of effort into it.
Unless they screw it up, Nvidia Pascal will blow away anything we’ve seen with , we’re talking the GTX 1080 Ti (or what ever they call it) doing 4K high-quality VXGI at 90fps+ and so on.
With Nvidia, I don’t know how they’ve done it but GPU rendering for non-realtime is really blowing up right now and sidelining the CPU.
Cryptocurrency GPU mining is on the wane (AFAIK) because of dedicated ASICS and cryptocurrency significantly kept AMD purchases ticking along.
Nonetheless GPU compute which had a rocky start is taking off now.
So I admit, I’m a long time Nvidia fanboy… but the GPU world, more or less dominated by Nvidia at the high end, for PC + VR, is going to very significantly change 2015-2020+
So bottom line is Intel Kaby Lake + Nvidia Pascal + VR will drive the high-end 3D and gaming world with 4K and full GI like VXGI, BUT it will take several years to filter “down” to mainstream PC gaming and then consoles and mobile.
Hey guys, has anybody tried HairWorks integration in 4.9 version?
I tried hairworks test map with galxymans’s latest build. Why do you ask?
Oh, i totally missed the 's repo… Just wondered if it could be merged successfully with 4.9 branch before i actually try that. I see now, thank you.
UE4 + VXGI worked!!!
I used the instructions from **** and it worked.
Probably the problem was me. I downloaded version 4.9 and it work (before I tried to build a version 4.8).
**** and ****, thank you for your help!