How to Add Radial Distortion for Round Textures
Create radial distortion for round textures without diagonal smearing.
Whether you’re creating a warped look for a portal or vortex, or a curved distorted camera lens, we’ll show you how to add radial distortion to a round texture for some exaggerated visuals.
What is Radial Distortion?
Radial Distortion is an image distortion that causes straight lines to appear curved, and points are moved in the radial direction from their correct position.The benefit of this distortion is that it does not cause diagonal smearing or blurring when the distortion amount is increased.
- Create your base material shader
- Create your distortion texture
- Go through the usual motion of distorting your texture by adding a distortion amount parameter, multiplying it on the texture to distort, and adding that to the base texture’s UVs.
- Diagonal distortion is not ideal.
- Subtract a value of 0.5 from the distortion texture.
- Multiply the distortion amount parameter.
- Add a value of 1.
- Plug it into a multiply node.
- Subtract a value of 0.5 from the base texture’s texture coord node.
- Plug it into the multiply node
- Add a value of 0.5 and plug it into the base texture UVs.
Distortion in a radial pattern!
Want to stay in touch with our studio as we craft world-class real-time VFX? Follow Beyond-FX on Twitter, Instagram, Facebook, YouTube, Twitch, & TikTok!