YourGameToday.com may be compensated when you make purchases after following affiliate links on this website. For more information, click here. Thank you!
In this week’s lesson, we will be exploring how to use the Dot Product function in Unreal Engine to achieve desaturation controls in your shader. The Dot Product function is a powerful tool that allows users to multiply two vectors together and then normalize the result. This can be used to calculate the brightness of a pixel, and then it can be used to desaturate certain areas of the shader. By using this function, users can create more dynamic and interesting shaders. Additionally, with the desaturation controls, it is possible to create both subtle and dramatic effects. This makes the Dot Product function a versatile tool for creating a wide variety of shader effects.
See this video at it’s original source here.