Ascii like shader

Ascii like shader

Shader

This is ascii shader for minecraft inspired by Acerola's video

AtmosphereBloomColored LightingCursedLowPotatoVanilla-like

210 downloads
5 followers
Follow Save
Host your Minecraft server on BisectHosting - get 25% off your first month with code MODRINTH.

ASCII Minecraft Shader

Inspired by Acerola's video on ASCII art rendering, this shader project aims to recreate the iconic Minecraft visual style using ASCII characters. By translating the game's visuals into ASCII art, the shader produces a unique and nostalgic aesthetic.

Features

  • ASCII Rendering: Converts the Minecraft world into a grid of ASCII characters.
  • Bitmap Font Texture: Utilizes a bitmap font texture to map characters onto the screen.
  • Color and Black & White Modes: Supports both colored and black & white rendering modes.
  • Edge Detection: Integrates edge detection techniques for enhanced visual detail.

Black & White Mode

In this mode, the shader renders the Minecraft world using only black and white ASCII characters, providing a classic and minimalist look.

2024-07-02_02 33 45 2024-09-30_21 41 12

Color Mode

The color mode maintains the vibrant colors of Minecraft while still using ASCII characters to depict the scene, offering a modern twist on the retro aesthetic.

2024-09-30_21 48 32 2024-09-30_21 48 50

Implementation Details

  • Fragment Shader: The core of the shader is implemented in GLSL, where each pixel is mapped to an ASCII character based on its brightness or color value.
  • Bitmap Font Texture: A 128x128 texture is used to store the bitmap font, with each character occupying an 8x8 pixel block.
  • Edge Detection: Combines a Difference of Gaussians filter with a thresholded Sobel edge detection filter to enhance the details and edges of the scene before converting to ASCII.

Github:

https://github.com/5weetdev/Ascii-shader Feel free to contribute


Project members

5weetdev

Member

Details

Licensed MIT
Published 5 days ago
Updated 5 days ago