Skip to content

Instantly share code, notes, and snippets.

View LazyBookworm's full-sized avatar

Ruh LazyBookworm

View GitHub Profile
@LazyBookworm
LazyBookworm / acrd.glsl
Created July 20, 2025 04:04
at the 7th try i think
/*
===============================================================================
ACRD: Contrast Analysis and Directional Reconstruction v1.2
===============================================================================
High-performance post-processing anti-aliasing that detects edges using
luminance analysis and smooths them through directional reconstruction.
Algorithm Overview:
1. Detects edges by calculating local contrast with minimal initial sampling
2. Uses Sobel gradient to determine precise edge direction