Skip to content

Latest commit

 

History

History
11 lines (8 loc) · 1.06 KB

README.md

File metadata and controls

11 lines (8 loc) · 1.06 KB

ASCII Unity Shader

An Image effect shader drawing ASCII characters instead of meshes, made with Unity 2021.3.

This shader trims the screen UVs depending on the underlying pixel color, and replaces those pixels with a predefined Texture converted from a spritesheet referenced through the Inspector. You can easily replace any of these sprites at runtime to display any kind of character or image. You can also change the text resolution and add it a background color.

This shader also works on Particle Effects and UIs (The UIs need to be either in World Space or Camera Space with a layer assigned on the Camera's Culling Mask.)

fpsgif cubegif text grass