Fix Shader Stretching in Godot (Maintain Aspect Ratio)

Опубликовано: 24 Июль 2026
на канале: Cashew OldDew
1,364
108

Shader stretching is something that's rarely desired by someone writing shaders. Some solutions for stopping stretching exist, but they are quite clunky. In this video we take a look at those examples and we also check the fwidth function which allows for easier aspect ratio handling.

Discuss the video on Discord:   / discord  

Your support allows me to keep creating free courses like this one. 🥜
--------------------
Support me on Ko-Fi: https://ko-fi.com/cashewolddew
Become a channel member:    / @cashewolddew  
Patreon:   / cashewolddew  
Buy Fangs & Faith Solitaire: https://store.steampowered.com/app/30...
--------------------

Chapters:
0:00 Problem
0:23 Uniform Size Fix
1:44 FWidth Fix

#godot #shaders #tutorial