#Global wind (WPO) Causes trees to bob up and down when using Nanite. Any fixes?

1 messages Β· Page 1 of 1 (latest)

wind ice
#

I followed this tutorial and even went a step further to have the wind controlled by Ultra Dynamic Sky but all my foliage has to have nanite disabled or it bobs up and down. Is there a way to edit the shader so it works with nanite? https://www.youtube.com/watch?v=27Gr2RRhtNM

QUICK FIX: Instead of using BoundingBoxUV's in the tree sway, use this instead: https://imgur.com/a/Np6rwE8
BoundingBoxUV's would encompass the entire foliage object's bounding box, not the individual foliage instances.

Let's take your wind system to the next level... Because let's face it; you're worth it! Your wife and kids will love you once...

β–Ά Play video
lament latch
#

something like this is useful if you want to change back at any point

wind ice
#

@lament latch HOLY SHIT! You beautiful genius! IT WORKED! I had no idea this node existed and that was the difference between his old UE4 code and nanite shits!

wind ice
#

sadly using those meshes as nanite actually reduces performance XD fucking nanite is a lie (at least as they sold it to us) the shader PrismaticaDev made + my changes, now thanks to you works amazing regardless if the mesh is nanite or not! But if you're gonna use nanite..... Don't have any opacity masks or wtv for the leaves etc... Gotta make all that shit straight up geometry with it being opaque in mind. (that's sadly how nanite works, right?)

wind ice
#

before your solution, those trees would be flying all over the place, bobbing up and down, changing sizes and stuff. It was utter chaos.