We desperately need HairWorks in 4.20. It’s probably don’t have much use in games (as pointed out), but in the growing Unreal animation field, I would say, it’s pretty important stuff.
Really glad to see that someone is working on it, thank you kostenickj! That’s real good progress there, I like the colors! ;D
Please keep it up and tell the community if and when it’s ready!
Alright guys, i think i got everything working. I was making a dumb mistake in DeferredLightPixelShaders.usf. They combined DirectionalPixelMain and RadialPixelMain into a single function and i got confused.
If someone wants to clone my branch and confirm everything works for them too, then perhaps @0lento will want to merge my changes into his gamework branch.
Note: my branch has a few changes to skeletal meshes and the utilities that you will want to discard. Also, its 420.0, not 420.2
Honestly i have no idea what you are trying to say/ask.
I know you tried my original branch even when i said it was broken, even when i clearly posted a screenshot that it was broken. The latest version of that branch works for me, update the code from that.
Nice, have confirmed it works on standalone built package too using hairworks demo scene? Besides checking that it builds without errors, please also check that when you run the executable it shows dynamic hair (I had issues with that on 4.18 so now extra cautious on verifying it actually works). 4.20.0 vs 4.20.2 doesn’t make much difference, if it’s 4.20.x it’ll merge into newest nicely.
It definitely works on the demo scene(s) for me in my build, that is where i did my testing. But i will make a standalone package with just the Hairworks assets and confirm tommorow. I’m currently at my real job and cant do it until then. If anyone else wants to confirm in the meantime go ahead!
Demo scene worked at the 4.18 editor too but it still failed to run on standalone. 4.19 HairWorks did work on both tho. Additionally, if you haven’t test packaged, it’s possible that the integration still breaks as there are often packaging related changes as well (but I don’t think there were big issues on when going from 4.19->4.20)
I Just tested in standalone, and in package development and shipping builds, and everything seems to be working! I think you are probably good to go to merge into your Gameworks branch.
Hey kostenickj~ thanks for update!
So, I’ve pulled latest updates. It compiles without problems.
However opening example map, the HairWorks component inside BP actors doesn’t visualize hair. More over if I try to compile blueprint with HW component the editor crashes.
I’ve created new project with build and created empty BP actor and only added HW component. BP compile still crashes UE4. Debug on crash shows that HairWorksComponent.cpp on line 567 trying to access null by HairInstance.HairMaterial pointer.
Hey, thanks for posting . I was able to recreate the crash and ill try to get that fixed ASAP. However, all the components that are already compiled are rendering fine for me.
Hey kostenickj~ thanks for update!
So, I’ve pulled latest updates. It compiles without problems.
However opening example map, the HairWorks component inside BP actors doesn’t visualize hair. More over if I try to compile blueprint with HW component the editor crashes.
I’ve created new project with build and created empty BP actor and only added HW component. BP compile still crashes UE4. Debug on crash shows that HairWorksComponent.cpp on line
we face same problem weshow hairworks in blueprint but not hair whlie kostenickj many time load pic with hair. we download and compile again but same problem
so i added a check to not do that action if the HairMaterial is nullptr, and everything seems to be working including the compile/save. But i need to investigate to find out WHY its null. It doesn’t happen in the 4.19 version.
Yes,simple if check did resolve that BP compile problem (btw, looks like you didn’t commit that), now it seems everything is working. I will give it to our artists to check out.
Thank you, again~
Ya i didnt commit that because it seems like a band aid. I think i will commit it now after thinking about it for a while. Im still going to try to figure out why its null though.
There is no better tutorial than looking at the code yourself and understanding what it does. Before one week ago I had never touched the rendering module.
So the big plan is to Wavework and try to get Truesky to work with it. But first baby steps
I think I’ve got Waveworks in my ue4 (atleast i built accordingly) but i don’s see the example map.
What is the way to make the waveworks ocean? Can’t seem to find it… I can find the shoreline capture however…
Thx for the help!
I’ve been waiting a while for Nvidia to update all their branches to 4.20 (I’m specifically waiting on VXGI but official updates on the others would be nice as well) and I’m getting a bit concerned.
/releases
Going back 2+ years there’s at least 1 release from nvidia every month, most the time 3 or 4 even during other major UE4 version updates, but now we haven’t heard from them in almost 3 months.
I can’t find any posts on the Nvidia dev forums or Reddit regarding and the support page on the GameWorks/UE4 website just links to thread.
Am I missing something? Is it possible they are planning on dropping direct support for GameWorks on UE4?
(Also thanks to and others on their amazing work on upgrading some of the branches manually and packaging them together for everyone).