← Назад к ресурсам

Ascii like shader

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

Modrinth cursed potato vanilla-like

Описание

# 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. ![2024-07-02_02 33 45](https://github.com/user-attachments/assets/99725b9f-e9dc-4895-a3d1-d8370727e7ad) ![2024-09-30_21 41 12](https://github.com/user-attachments/assets/73b2d947-0aa3-4287-aba7-09253f8de81f) ## 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](https://github.com/user-attachments/assets/b31b2054-6a21-4423-9248-57a027f2ea4a) ![2024-09-30_21 48 50](https://github.com/user-attachments/assets/5ed786be-eacb-4271-af99-465b5439c203) ## 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