# NVIDIA GameWorks Integration

**URL:** <https://forums.unrealengine.com/t/nvidia-gameworks-integration/16686>\
**Category:** Asset Creation\
**Tags:** unreal-engine\
**Created:** [December 7, 2014, 7:11pm UTC](https://forums.unrealengine.com/t/nvidia-gameworks-integration/16686 "2014-12-07T19:11:32Z")\
**Posts on this page:** 20\
**Page:** 239

<div class="post-metadata">

**Author:** ![Gandosh](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Gandosh](https://forums.unrealengine.com/u/Gandosh)\
**Post date:** [August 27, 2018, 5:49am UTC](https://forums.unrealengine.com/t/nvidia-gameworks-integration/16686/4996 "2018-08-27T05:49:07Z")

</div>

Hello @! how’s vxgi 4.20 coming along? are you merging .19 version or waiting for 20 version? Your 19 build working flawlessly 🙂 thanks for that! 😃

---

<div class="post-metadata">

**Author:** ![0lento\_archive](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@0lento\_archive](https://forums.unrealengine.com/u/0lento_archive)\
**Post date:** [August 27, 2018, 6:15am UTC](https://forums.unrealengine.com/t/nvidia-gameworks-integration/16686/4997 "2018-08-27T06:15:06Z")

</div>

> [@](#):
>
> Hello @anonymous_user_74483c63! how’s vxgi 4.20 coming along? are you merging .19 version or waiting for 20 version? Your 19 build working flawlessly 🙂 thanks for that! 😃

I’m not actively looking into porting any other GameWorks techs into my 4.20 merge. I looked at VXGI and HairWorks briefly but both contained some changes that would have taken me long time to fix. These both are also probably least useful in actual game development (they are cool for tech demos), VXGI 2 specifically requires + GPU which is a huge limitation for the tech itself. As far as I know, all the techs in my current 4.20-GameWorks branch work with AMD as well.

That being said, I’ll probably still add these if Nvidia pushes 4.20 versions into their github repos, just not going to put my own time into porting them.

---

<div class="post-metadata">

**Author:** ![0lento\_archive](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@0lento\_archive](https://forums.unrealengine.com/u/0lento_archive)\
**Post date:** [August 27, 2018, 6:17am UTC](https://forums.unrealengine.com/t/nvidia-gameworks-integration/16686/4998 "2018-08-27T06:17:48Z")

</div>

Btw, noticed that Nvidia pushed a 4.19 version for their Cataclysm Demo: /tree/CataclysmDemo-4.19

---

<div class="post-metadata">

**Author:** ![Cosmik-Debris](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Cosmik-Debris](https://forums.unrealengine.com/u/Cosmik-Debris)\
**Post date:** [August 27, 2018, 7:47am UTC](https://forums.unrealengine.com/t/nvidia-gameworks-integration/16686/4999 "2018-08-27T07:47:14Z")

</div>

> [@](#):
>
> Simply opening a file will not do that, there has happened something else too.

That’s what I thought, but that is exactly what happens. If I copy the files fresh from the download then everything works and it builds again, until I open them in VS and the errors re-appear! I actually managed to fix them all by including some extra files, but it’s weird that the errors only happen when I open the file and until then it builds perfectly fine.

---

<div class="post-metadata">

**Author:** ![Derjyn](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/derjyn/32/931618_2.png) [@Derjyn](https://forums.unrealengine.com/u/Derjyn)\
**Post date:** [August 27, 2018, 11:03am UTC](https://forums.unrealengine.com/t/nvidia-gameworks-integration/16686/5000 "2018-08-27T11:03:56Z")

</div>

> [@](#):
>
> That’s what I thought, but that is exactly what happens. If I copy the files fresh from the download then everything works and it builds again, until I open them in VS and the errors re-appear! I actually managed to fix them all by including some extra files, but it’s weird that the errors only happen when I open the file and until then it builds perfectly fine.

Sounds like your editor is adding bad (or other platform style) line-endings or something like that. Otherwise, yeah- that simply shouldn’t happen. The only reason it \*would \*happen is if the file was being modified, not just _opened_. Try doing an MD5 check on your opened file against a “virgin” version of the same file and see if there is a mismatch, maybe?

---

<div class="post-metadata">

**Author:** ![0lento\_archive](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@0lento\_archive](https://forums.unrealengine.com/u/0lento_archive)\
**Post date:** [August 27, 2018, 1:51pm UTC](https://forums.unrealengine.com/t/nvidia-gameworks-integration/16686/5001 "2018-08-27T13:51:03Z")

</div>

There ARE missing includes on nvidias 4.19 FleX that might trigger errors if you actually change the file (add or change actual code in it), but simply opening it wouldn’t do . What you said about manually fixing the issues by adding includes would just confirm . I’ve made PR for 4.19 FleX but Nvidia hasn’t accepted it: /pull/523. fixes at least some of the missing includes required to actually package FleX.

---

<div class="post-metadata">

**Author:** ![Cosmik-Debris](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Cosmik-Debris](https://forums.unrealengine.com/u/Cosmik-Debris)\
**Post date:** [August 27, 2018, 6:06pm UTC](https://forums.unrealengine.com/t/nvidia-gameworks-integration/16686/5002 "2018-08-27T18:06:24Z")

</div>

> [@](#):
>
> There ARE missing includes on nvidias 4.19 FleX that might trigger errors if you actually change the file (add or change actual code in it), but simply opening it wouldn’t do . What you said about manually fixing the issues by adding includes would just confirm . I’ve made PR for 4.19 FleX but Nvidia hasn’t accepted it: /pull/523. fixes at least some of the missing includes required to actually package FleX.

Cool thanks 🙂 Yeah it definitely happens without touching anything, all I have to do is open it and it’s broken without even clicking on anything in the file or modifying anything. I am pretty new to C++ and visual studio so I thought perhaps I was doing something wrong! But maybe VS is just changing something by itself without me noticing like suggested. Anyway, it’s working now!

I’ve been attempting to change the FlexContainerInstance to use per poly collision on skeletal meshes (not sure if is even possible!) but not had any luck yet. I’ve found where it gets the physics bodies from the skeletal mesh and I know how to get the animated mesh verts instead but I can’t work out how to make it actually use it for collision.

---

<div class="post-metadata">

**Author:** ![samrat333](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@samrat333](https://forums.unrealengine.com/u/samrat333)\
**Post date:** [August 29, 2018, 5:03am UTC](https://forums.unrealengine.com/t/nvidia-gameworks-integration/16686/5003 "2018-08-29T05:03:58Z")

</div>

dear \*\* hare is not nvidia 4.20 but you make many branch in 4.20 it is amazing can you give any tutorial how to merge all branch in main branch or please update hairworks in 4.20 thank you\*\*

---

<div class="post-metadata">

**Author:** ![0lento\_archive](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@0lento\_archive](https://forums.unrealengine.com/u/0lento_archive)\
**Post date:** [August 29, 2018, 10:16am UTC](https://forums.unrealengine.com/t/nvidia-gameworks-integration/16686/5004 "2018-08-29T10:16:33Z")

</div>

> [@samrat333](#):
>
> dear \*\* hare is not nvidia 4.20 but you make many branch in 4.20 it is amazing can you give any tutorial how to merge all branch in main branch or please update hairworks in 4.20 thank you\*\*

I’ve said few times already so I’ll just quote my previous answer on matter:

> [@0lento\_archive](#):
>
> I’m not actively looking into porting any other GameWorks techs into my 4.20 merge. I looked at VXGI and HairWorks briefly but both contained some changes that would have taken me long time to fix. These both are also probably least useful in actual game development (they are cool for tech demos), VXGI 2 specifically requires + GPU which is a huge limitation for the tech itself. As far as I know, all the techs in my current 4.20-GameWorks branch work with AMD as well.
> 
> That being said, I’ll probably still add these if Nvidia pushes 4.20 versions into their github repos, just not going to put my own time into porting them.

---

<div class="post-metadata">

**Author:** ![0lento\_archive](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@0lento\_archive](https://forums.unrealengine.com/u/0lento_archive)\
**Post date:** [August 29, 2018, 10:25am UTC](https://forums.unrealengine.com/t/nvidia-gameworks-integration/16686/5005 "2018-08-29T10:25:38Z")

</div>

As for the tutorial, the process has been gone through many times in thread, even recently, just look back some pages.

Worth noting that merging is somewhat trivial, upgrading these techs from one engine version to another always isn’t. You need to track down engine API changes, do cross referencing between other engine components to find how you should use certain things on the new version etc, it’s a bit of a detective work and not all that straight forward process that someone could write 1,2,3 step guide for. For example it took me multiple days [to get FleX fixed](https://github//UnrealEngine/commit/72bb869b108ead9c4289dcb690fb4520529cf606) where Volumetric Lighting didn’t require any changes on the engine side from 4.19 to 4.20. But I do guarantee that VXGI2 and Hairworks both require a lot of manual work, it’s the main reason I didn’t port them.

---

<div class="post-metadata">

**Author:** ![samrat333](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@samrat333](https://forums.unrealengine.com/u/samrat333)\
**Post date:** [August 29, 2018, 11:45am UTC](https://forums.unrealengine.com/t/nvidia-gameworks-integration/16686/5006 "2018-08-29T11:45:26Z")

</div>

can you update only hairworks to 4.20 because Xu Nie is not update new version

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_f7c81a0d](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_f7c81a0d](https://forums.unrealengine.com/u/anonymous_user_f7c81a0d)\
**Post date:** [September 4, 2018, 3:11pm UTC](https://forums.unrealengine.com/t/nvidia-gameworks-integration/16686/5007 "2018-09-04T15:11:16Z")

</div>

Hello, I am working with waveworks, and the waveworkstester. And I see that the shoreline uses a texture called: Shorelinetex. texture contains alpha channels, how can I edit texture? (So that I can customize the shoreline)

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_6fb9478c](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_6fb9478c](https://forums.unrealengine.com/u/anonymous_user_6fb9478c)\
**Post date:** [September 7, 2018, 6:27pm UTC](https://forums.unrealengine.com/t/nvidia-gameworks-integration/16686/5008 "2018-09-07T18:27:35Z")

</div>

@ Thanks so much! When we have VXGI 2.0 in 4.20 GameWorks? You mean VXGI 2.0 now only working with AMD, so NVIDIA not work or got some error?

---

<div class="post-metadata">

**Author:** ![0lento\_archive](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@0lento\_archive](https://forums.unrealengine.com/u/0lento_archive)\
**Post date:** [September 8, 2018, 2:23am UTC](https://forums.unrealengine.com/t/nvidia-gameworks-integration/16686/5009 "2018-09-08T02:23:50Z")

</div>

> [@VinaCaptcha](#):
>
> When we have VXGI 2.0 in 4.20 GameWorks?

is mainly up to Nvidia or other community members, I’m not porting any other gameworks techs into 4.20 myself (but can include VXGI and Hairworks if someone else upgrades them to 4.20).

> [@VinaCaptcha](#):
>
> You mean VXGI 2.0 now only working with AMD, so NVIDIA not work or got some error?

It’s the opposite as it’s Nvidia tech, VXGI2 only works fully on + (Nvidia Geforce GTX 900 series or newer).

---

<div class="post-metadata">

**Author:** ![kostenickj](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@kostenickj](https://forums.unrealengine.com/u/kostenickj)\
**Post date:** [September 9, 2018, 10:08am UTC](https://forums.unrealengine.com/t/nvidia-gameworks-integration/16686/5010 "2018-09-09T10:08:44Z")

</div>

Hi @, i’m working on 4.20 integration for Hairworks.  
I’ve got all the shaders and c++ compiling. but not everything is working quite yet. I cant figure out how/where to set the new SceneTexturesStruct in Hairworks so i get crash on startup:

[ATTACH=]{“data-align”:“none”,“data-size”:“full”,“data-tempid”:“temp\_147015\_1536487500162\_654”,“title”:“Capture.PNG”}[/ATTACH]  
https://forums.unrealengine/core/image/gif;base64  
​

is my first time touching anything render related, so i’m probably (definitely) making a dumb mistake / don’t really know what i’m doing! If you (or anyone who knows what they are doing) could advise me, i would appreciate it!

My branch is :  
https://github/kostenickj/Unreal…tree/420Mod2HW

---

<div class="post-metadata">

**Author:** ![kostenickj](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@kostenickj](https://forums.unrealengine.com/u/kostenickj)\
**Post date:** [September 10, 2018, 12:36pm UTC](https://forums.unrealengine.com/t/nvidia-gameworks-integration/16686/5011 "2018-09-10T12:36:01Z")

</div>

Well, i got it past the crash and the simulation itself seems to be working, but i definitely messed up the lighting somehow.

 ![Capture.PNG](https://d3kjluh73b9h9o.cloudfront.net/original/4X/3/2/8/3280829d18f2d8612531df4f78ec0115f15e71f5.png)

---

<div class="post-metadata">

**Author:** ![samrat333](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@samrat333](https://forums.unrealengine.com/u/samrat333)\
**Post date:** [September 10, 2018, 12:55pm UTC](https://forums.unrealengine.com/t/nvidia-gameworks-integration/16686/5012 "2018-09-10T12:55:13Z")

</div>

[quote=“kostenickj, post:4977, topic:16686”]

Well, i got it past the crash and the simulation itself seems to be working, but i definitely messed up the lighting somehow.

hairworks not working in youe branch

---

<div class="post-metadata">

**Author:** ![kostenickj](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@kostenickj](https://forums.unrealengine.com/u/kostenickj)\
**Post date:** [September 10, 2018, 12:59pm UTC](https://forums.unrealengine.com/t/nvidia-gameworks-integration/16686/5013 "2018-09-10T12:59:00Z")

</div>

[quote=“samrat333, post:4978, topic:16686”]

> [@kostenickj](#):
>
> Well, i got it past the crash and the simulation itself seems to be working, but i definitely messed up the lighting somehow.
> 
> hairworks not working in youe branch https://github/kostenickj/Unreal…tree/420Mod2HW

Its a work in progress

looks great with no lights in the scene though haha

 ![Capture.PNG.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/3X/a/6/a68d1bfd37b71b256f1bea84099a60e99172d50a.jpeg)

im pretty sure i am doing something wrong in lightrendering.cpp, they got rid of SetShaderTemplLighting and im not entirely sure how it was replaced yet.

---

<div class="post-metadata">

**Author:** ![0lento\_archive](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@0lento\_archive](https://forums.unrealengine.com/u/0lento_archive)\
**Post date:** [September 10, 2018, 2:48pm UTC](https://forums.unrealengine.com/t/nvidia-gameworks-integration/16686/5014 "2018-09-10T14:48:12Z")

</div>

[quote=“kostenickj, post:4979, topic:16686”]

> [@samrat333](#):
>
> im pretty sure i am doing something wrong in lightrendering.cpp, they got rid of SetShaderTemplLighting and im not entirely sure how it was replaced yet.

I didn’t check your sources but in general, it’s good practice to find out something similar from the older engine version and then compare how Epic upgraded it for 4.20. I’ve used manual diffs for different engine parts in past to figure out bigger changes to some systems, they’ve been incredibly helpful.

---

<div class="post-metadata">

**Author:** ![samrat333](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@samrat333](https://forums.unrealengine.com/u/samrat333)\
**Post date:** [September 10, 2018, 5:01pm UTC](https://forums.unrealengine.com/t/nvidia-gameworks-integration/16686/5015 "2018-09-10T17:01:34Z")

</div>

QUOTE="; thank you we tried many time compare other branch but every time say manualy change we not know how we request to you please give any tutorial thank you :):):)🙂

[Previous page](https://forums.unrealengine.com/t/nvidia-gameworks-integration/16686.md?page=238)

[Next page](https://forums.unrealengine.com/t/nvidia-gameworks-integration/16686.md?page=240)
