0
\$\begingroup\$

For a small interactive piece I'm doing I'd like to use 2d ascii art but where the font size per text character is effected by the raytraced distance of the target point from the camera.

enter image description here

Above is my attempt with Photoshop for what I'm trying to accomplish. All characters appear flat to the camera but again the size of the font is dependent on the depth from the camera. It's almost like I'm trying to create a dynamic material that changes it's appearance each frame.

I'm hoping that the ascii turns out so prominent that I can entirely remove the texture from the character and you'll still be able to make out their movements.

Is this possible with a 3d shader? If so, where's a good place to start? If not please let me know what some other options and I'll start researching those asap, thanks.

\$\endgroup\$
2
  • 1
    \$\begingroup\$ I've done an ASCII shader before, but the variable-sized characters is a tricky new wrinkle to add - especially if you want each character displayed whole, with no cut-offs at a geometry edge with a depth discontinuity... hmmm... \$\endgroup\$
    – DMGregory
    Commented Sep 12, 2020 at 19:15
  • \$\begingroup\$ @DMGregory Pretty slick. Yeah I'm not entirely sure that I can pull this off with a shader, especially since my shader knowledge is rather limited. \$\endgroup\$
    – Jacksonkr
    Commented Sep 12, 2020 at 21:56

0

You must log in to answer this question.

Browse other questions tagged .