Advanced Screen Space Shaders: Godot Guide

Опубликовано: 09 Октябрь 2024
на канале: Bramwell
22,418
758

Timestamps

mouse position: 1:25
canvas position: 5:32
Gaussian blur: 7:22
circle screen wipe: 9:55

How to make a screen space shaders that act on a position on your screen. I show you how to use this technique to create three shaders: a crosshair, a targetted Gaussian blur and a circular targetted screen wipe. I also cover the fundamentals of how UV's work in Godot shaders and a little pythagoras.

Thanks to Garmelon on the Godot comunity discord for helping with the last shader. On rereading I am certain I pronounced your handle wrong :(

All the code is avaliable on my Github here:
https://github.com/bramreth/godot_tut...

The first full screen shader tutorial:
   • Godot full screen shader tutorial  

The original painting for the backdrop:
https://en.wikipedia.org/wiki/The_Emp...

Social links:
Twitter:   / bramreth  
Instagram:   / bramreth  
My games: https://bramreth.itch.io/