Fabrizio Bergamo

Real-Time FX & Tech Art

Tag: function

this is the source archive template

  • Switch When Input is Empty

    Switch When Input is Empty

    Introduction This post will show various ways you can use a switch node to automatically trigger when one input is empty, a very useful technique when working with HDAs.Especially important when working with complex generators, this way you can still get a preview of your output, or even prevent the node to fail cooking or getting…

  • Perfectly Remapping a Cube to a Sphere

    Perfectly Remapping a Cube to a Sphere

    A perfectly rounded sphere, with clean and uniform topology. I’m sure every artist who works with 3D models needs something like this at some point.We all went down the route of subdividing a cube multiple times, but that doesn’t translate to a perfect sphere: A good workaround would be to reproject the geometry of the…

  • Smooth Stepping Curve Function – Remap Noises for Stylized Looks

    Smooth Stepping Curve Function – Remap Noises for Stylized Looks

    A month or so after making the Smooth Stepping Curve Function in Substance Designer, I wondered if the same could be done in Unreal Engine.Turns out you can, but each function does add 22 instructions to the material.I don’t think I will use it much in the future and I don’t really advise it for production projects, especially because…

  • Linear & Smooth Step – Material & Niagara Functions

    Linear & Smooth Step – Material & Niagara Functions

    Intro In this blog post, you will find a brief explanation of how these two functions work and their application, I will mainly show the setup of how they can be created as Material and Niagara functions in Unreal Engine. I started looking into this because I needed a Smooth Step Function to use in Niagara and I couldn’t find a built-in node…

  • Gradient Visualizer Material Function

    Gradient Visualizer Material Function

    Similar to what I’ve done in Substance Designer to visualize the Smooth Stepping Curve Function I made. I created a Material Function in Unreal Engine to use as a tool to visualize sine waves or any gradient I use in my materials for various FXs. If you think this could be something useful, you can find…

  • Triangle Wave Function/Modulation

    Triangle Wave Function/Modulation

    The triangle wave function it’s a cheaper alternative to a sine wave, it can be very useful as the alpha input for a lerp node when working with materials or FXs.In some cases, it might be exactly what you’re after since it allows you to blend between two inputs in a linear way. This is what a remapped 0…