# ASCII Minecraft Shader
Inspired by [Acerola's video](https://youtu.be/gg40RWiaHRY?si=B6kJ5t36mAW3lpr7) 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.


## 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.


## 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