Unity Text Shader by XJINE - 40

Shaders & Effects

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

Unity 2019.1.10f1Apache License 2.0Updated 34 days agoCreated on April 19th, 2019
Go to source

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.

Show all projects by XJINE