/Unity_TextShader

TextShader draw your text as ImageEffect (with fragment shader).

Primary LanguageC#Apache License 2.0Apache-2.0

Unity_TextShader

TextShader draw your text as ImageEffect (with fragment shader). This effect should be used for a debug.

How to use

effect.DrawText("Your Text", posX, posY, size, color);

Set your text and the parameters in viewport(uv) space.

Limitation

  • Valid characters are AsciiCode number 32 ~ 126.
  • \(back slash) becomes line-break.

Import to Your Project

You can import this asset from UnityPackage.

Dependencies

You have to import following assets to use this asset.