Fragmented/examples/sobel.gdshader

11 lines
162 B
Text
Raw Permalink Normal View History

2025-03-31 15:41:31 +02:00
shader_type canvas_item;
//!load ./images/noisy.png
#include "./shaderlib/sobel.gdshaderinc"
void fragment() {
// Sobel Filter
COLOR = sobel(TEXTURE, UV);
}