NVIDIA GameWorks Integration

yeah but it does the job :stuck_out_tongue: By the way i hate SSR with its pixelated result. Only thing that i love from SSR is floor, flat surface reflection :smiley:

Youā€™re not alone, I also wonder if there is a way to get dynamic reflection captures, but havenā€™t found anything on the forums yet.
Iā€™m not sure if it would work by just exposing the update functionality to make it blueprint callable, but might be worth a try? (Iā€™m not a coder, so is just a guess)

Hey guys, Iā€™m running Ubuntu 14.04 and having trouble getting 's merged version to compile. Iā€™m mostly interested in the Flex integration, and Waveworks when it is available. Machine is dual Xeon E5-2640 with 4 Titan Blacks, CUDA 7, with NVidia driver 352.21.

On the Flex side, the supplied binary demo runs fine. Recompiling on the machine, however, seems to negate all of the collisions and all but convex meshes and sdf fall through the domain and pass through each other.

Is anyone else performing builds on a linux box with success?

Figured I would chime in with a +1 for Epic to implement plugin support for modifying the rendering engine. I have serious doubts about my skills as a github user and getting everything to play nicely. would also be a huge benefit for the ArcViz crowd that may or may not be programmers. Going from AutoCAD / Inventor to UE4, and then needing to learn about github branch management and compiling? No thanks!

Please Epic!

Currently all the GameWorks branches are Windows-only.

@ > Could it be your build messes a bit with the new 4.8 procedural foliage volumes? They seem to be missing their boundingboxes as well as the simulate functionality. ā€˜Flexā€™ collision?

No, hadnā€™t actually tried them, so I gave them a go now and everything seems to be in order. I can see the bounding volumes, and the simulate seems to work fine.

@

thank you for your help we finally can play with the magic of nvidia.:o

and ā€¦ is it somethings special need to known if I want to package my level(try a lot of times and even copy to otherā€™s PCs,it still not succeed )

I dont believe packaging works at time for my build, I know there are a couple of pull requests on the main NVIDIA branch for fixing packaging with HairWorks, so maybe imlpementing that would allow packaging for all techs to work (maybe not). Each tech might have its own reasons for packaging failing. At time I have no plans to look at that, as my version of the engine is still in constant flux, once it settles down and I have all the features I want, then I will take some time to look at it, but that is still a while away.

I am happy to accept any pull requests from anyone who may be looking at fixing packaging.

thank you !!!You look like youā€™re always online!!! thank you so much!!!:o

FWIW I randomly had happen in an editor session as well, and I figured out it was caused by the specular filtering by playing with the post process settings. Canā€™t explain why it wasnā€™t happening in the 4.7 build, or why it only seemed to be happening to me, but disabling specular filtering in the post process settings avoids the problem for me. Itā€™s on by default, which seems unnecessary when specular jittering is off by default.

Youā€™re looking for DoScreenSpaceReflections in ScreenSpaceReflections.cpp. If VXGI specular is enabled, then it just returns false. it would be better if you could enable both without changing the source code, but the VXGI branch defaults should probably change SSR to default to disabled.

If you enable VXGI+SSR, you probably also want to change ReflectionEnvironmentShaders.usf so it blends SSR with the VXGI specular.



// NVCHANGE_BEGIN: Add VXGI
#if APPLY_VXGI
	SpecularLighting.rgb = ScreenSpaceData.VxgiSpecular.rgb;
#endif
// NVCHANGE_END: Add VXGI

#if APPLY_SSR
	float4 SSR = Texture2DSample( ScreenSpaceReflectionsTexture, ScreenSpaceReflectionsSampler, UV );
	SpecularLighting.rgb = SpecularLighting.rgb * (1 - SSR.a) + SSR.rgb;
#endif


You probably also want to lower the roughness that SSR will be done for so it only uses it for smooth surfaces. For me, SSR+VXGI fixes more artifacts than it adds:

output_MY1BXG.gif

Itā€™s probably possible to fix SSR artifacts like the false reflection underneath the sphere by making it more conservative about what it considers a hit, since VXGI can fill in for situations where SSR doesnā€™t have enough information.

Hi Simon, are there any news with Flex and the stuttering and adding surface emitters to blueprints issues?

Indeed looks like a bounds. The FlexFluidSurface component gets the bounds from the connected emitter instances. I havenā€™t been able to reproduce the. If you havenā€™t already, could you try to turn off the surface rendering, and re-enable the particle rendering to see whether it happens in the exact same setup otherwise?
I believe that the problem lies with the flex fluid surface since rendering flex particles (balls) works fine. I have noticed that when I was testing the fluid surface I was at +35286 on Z-axis in my level, and when I moved the flex fluid surface emitter to 0 on Z-axis there where no stuttering at all.

Simon is out week, but Iā€™m working to integrate and push the changes he left for me onto the NvPhysX branch.

Weird. I downloaded your branch again and recompiled just to make sure but no dice. When I create a procedural foliage volume it says itā€™s a flex actor. The entire procedural foliage tab is missing so no simulate button either.
On the Epic 4.8 branch of course works fine. Iā€™m clueless as to what gives.

Hello ,

When can we expect a merged branch with all nVidia tech released so far that is compatible with 4.8?

Keep up the good work :slight_smile:

Hello ,

is there a release date for the Maya 2016 Hairworks plugin?

Hi,

Iā€™m using OceanShader with UE4.8 integrate with Nividia GameWork. Iā€™m stuck in the same problem with ā€˜FVertexFactoryInterpolantsVSToDSā€™ error in material editor.
Iā€™m not clear how to fix the due to Flex fluid vertex. Could you please clarify more?

It seems the change didnt make it through to my 4.8 branch, but in the function ShouldCache of the FFlexFluidSurfaceVertexFactory in Engine/Source/Runtime/Engine/Private/PhysicsEngine/FlexFluidSurfaceComponent.cpp you need to change ā€œreturn true;ā€ to



return Material->GetTessellationMode() == EMaterialTessellationMode::MTM_NoTessellation;


Weā€™re working on the individual branches right now, Iā€™m looking at the FleX upgrade today (with more changes on the FleX side, including support for a new kind of soft-bodies); the VXGI team has the upgrade done and weā€™re planning to push it by next week. The other branches should follow reasonably quickly. Regarding an all-in-one-branch, I donā€™t have an official ETA.

ā€“

Thank dude, work like a charm. Youā€™re so genius.