Skip to content
0:00 / 0:00

#asciiart#shader#sobelfilter

I Tried Turning Games Into Text

Acerola

314K subscribers • 6 videos on Hallway

YouTube

Intermediate. Assumes working knowledge.

571K views2 years ago1 recommendation

Graphics and audioRenderingGPUs, shaders and CUDACreative coding

Garrett Gunnell explores how to write a post-processing shader that converts 3D game rendering into ASCII art using edge detection and brightness mapping.

To try everything Brilliant has to offer for free for a full 30 days, visit brilliant.org/Acerola/ you’ll also get 20% off an annual premium subscription! #ad ASCII art has been a staple of the internet since its inception -- but today I'm wondering if we could make a shader that turns games into ASCII art, and if we can, would it even look good? Support me on Patreon! patreon.com/acerola_t Download my ReShade shader pack! github.com/GarrettGunnell/AcerolaFX/releases Socials: Twitter: twitter.com/Acerola_t Twitch: twitch.tv/acerola Discord: discord.gg/FxGQvbfm6Y Unity Code (lacking some features compared to ReShade): github.com/GarrettGunnell/Post-Processing/tree/main/Assets/A… ReShade Code: github.com/GarrettGunnell/AcerolaFX/blob/main/Shaders/Acerol… Music: Afternoon Break - Persona 3 OST In A Moment's Time - Skullgirls OST Junes Theme - Persona 4 OST During The Test - Persona 3 OST Midori Eyes - Paradise Killer OST Police Station - Persona OST With Renewed Hope, We Continue Forward - VA-11 Hall-A OST Neon District - VA-11 Hall-A OST Sandgem Town - Pokemon Diamond OST Like A Dream Come True - Persona 4 OST Color Your Night - Persona 3 OST Thanks for watching! This video is dedicated to my friend, Alotryx. #acerola #gamedev #unity3d #graphics #shaders

Why it's here

1 person recommends this

What people say. Recommended as a great overview of implementing real-time ASCII rendering and edge detection in shaders.

pjobon Hacker News • Recommends

On “Rendering a game in real time with AI”

I suspect you'll have much better luck directly implementing the style you want rather than trying to get a (current gen) AI to reliably generate ANSI art. This video is a nice overview of implementing a variation of the style in a post-processing shader: link to this video

cxreiffon Hacker News • Mentions

On “Show HN: Screensavers for your terminal (Bevy/Ratatui)”

Definitely something I want to do down the line... something like the Sobel filter approach that acerola uses in this video: link to this video

cchanceon Hacker News • Mentions

On “Yt-x: Browse YouTube from your terminal”

Cool, might want to consider going even further, and add a full ascii player to it :) link to this video (Acerolla did some crazy stuff but as a filter, but others have done it in actually consoles) link

snackbrokenon Hacker News • Mentions

On “ASCII characters are not pixels: a deep dive into ASCII rendering”

> I don’t believe I’ve ever seen shape utilized in generated ASCII art, and I think that’s because it’s not really obvious how to consider shape when building an ASCII renderer. Acerola worked a bit on this in 20241, using edge detection to layer correctly oriented |/-\ over the usual brightness-only pass. I think either technique has cases where one looks better than the other. 1 link to this video