Big shoutout to the Niagara and Physics teams @ Epic. Huge teams, but want to mention @shaunkime , Devon Penney for awesome engineering and support @SirWyeth, @mradfo21 for laying the groundwork in R&D and helping me out a ton
• • •
Missing some Tweet in this thread? You can try to
force a refresh
Some cloud experiments continued from #UE5#PS5 demo; here showing Flowmaps-3D function from 4.26. The Clouds are made from Curve Assets + hand painted density & flowmaps. Paint thunderstorms! Now as twitter video. Examples will be included in 4.26
Some details: Cloud rendering w/new VolumetricCloud component by @SebHillaire for 4.26.
Clouds painting is a 2d map with RGBA colors. The curves also form an RGBA texture, so depending on which color you paint, that decides which curve profile to use.
Curve DF:
Because the curve profiles get converted into SignedDistanceFields (could get similar result by blurring too), when painting density, the density determines how far along the curve you are for each point. So just adjusting density of the mask gives (cloud compositor here):
This thread has a breakdown of a simplified version of the fake fluid effect. Here it is just drawing a fluid profile (need to add a bumpboffset to actually draw the fluid surface cheaply next).
This is here only adding rotational forces. It's not super robust, just a quick way to get started. BP Image 1/2
This is the 2/2 shot of the BP update. The strength value are just faded down. Overall wave strength fades to 0, directional (x,y mask) fades to 0.5 so if no dominant activity, waves are equal
The same channel packed free morphing technique used for 4D caustics works for distance field shadows. I touched on this near the end of the @FortniteGame optimization talk at GDC. Tweets with some details to follow.
First a silhouette is captured for each tree from 4 angles. Then each is converted to a signed distance field and each angle becomes one of RGBA channels. Then all the channel packed tree shadows get packed into an atlas.
Then the 'time of day' can be extracted using a simple dot product for almost free morphing, and shadows can change sharpness like any SDF shadows.