Website powered by

Texture Deformation Shader (HLSL)

Hi everyone,

This is an overview of my texture deformation shader. Over the past few months, I've been diving deep into the world of shaders and HLSL/GLSL. The main idea behind this project was to create a tool that can produce a wide variety of noise variations without leaving Unreal Engine, while still maintaining good performance which is mostly why HLSL code was necessary here. I also experimented with using Epic Games "Texture Graph" to export different texture layers.

The shader generates shape variations (based on SDF functions) on a chosen texture, which you can distort using various noise algorithms. It can also be animated to produce more organic movement, giving you as much creative freedom as possible!

I'll probably update it with different types of base shapes. The great thing about this kind of tool is that the features you can add are almost limitless.

Thanks in advance for checking it out feel free to share your thoughts!

Full Shader Overview

Shader Textures examples

Shader Textures examples

Set Shapes

Initialize Flow Warp

Material Editor - Shapes

Material Editor - Shapes

Material Editor - Flow Warp

Material Editor - Flow Warp