Search Unity

VFont 1.0 is available on AssetStore

Discussion in 'Assets and Asset Store' started by imggames, Aug 18, 2012.

  1. imggames

    imggames

    Joined:
    Aug 18, 2012
    Posts:
    22
  2. imggames

    imggames

    Joined:
    Aug 18, 2012
    Posts:
    22
    Most of the game UI systems are using “line-art” image such as the bitmap image for text and UI elements. Sometimes, multiple textures with different resolution are needed so that same image can be magnified to different size. In realtime game, especially mobile game, due to the limited amount of texture memory, distance field image can be an efficient solution for high quality image rendering. Here we present a way to create the distance field image in a low resolution image and by using a simple alpha testing shader, it can be rendered as a high resolution image. Some font rendering demos have been created with effect such as gradient, outline, shadows. The size of the distance field texture used in demo is only 256x256, but it can be scaled up to 10 times size without quality loss. Furthermore, this distance filed image is also a good solution for UI animation that needs multiple images as a animation sequence.
     
  3. Flipbookee

    Flipbookee

    Joined:
    Jun 2, 2012
    Posts:
    2,798
  4. imggames

    imggames

    Joined:
    Aug 18, 2012
    Posts:
    22
    Flipbookee, you are right! The base algorithm comes from this paper.
     
    Last edited: Aug 19, 2012
  5. imggames

    imggames

    Joined:
    Aug 18, 2012
    Posts:
    22
  6. imtrobin

    imtrobin

    Joined:
    Nov 30, 2009
    Posts:
    1,548
    How is the performance on mobile?
     
  7. imggames

    imggames

    Joined:
    Aug 18, 2012
    Posts:
    22
    Good question. But since the major work is texture conversion which is done offline using the tool. The runtime cost should be minimal.
     
  8. imggames

    imggames

    Joined:
    Aug 18, 2012
    Posts:
    22
    Hi looks like this product has arose some interests... may I ask people who bought it please leave some feedback or reivew and we will try our best to improve it and make it more suitable for your need. We will provide update of the package as soon as possible.
     
  9. Neutron

    Neutron

    Joined:
    Apr 25, 2011
    Posts:
    45
    How big an input image can your tool handle. Would need a large one for a Chinese font.
     
  10. imggames

    imggames

    Joined:
    Aug 18, 2012
    Posts:
    22
    we havenot tested Chinese Font... we might give a try soon but paging might be the direction for Chinese type of font.
     
  11. imggames

    imggames

    Joined:
    Aug 18, 2012
    Posts:
    22
  12. imggames

    imggames

    Joined:
    Aug 18, 2012
    Posts:
    22
  13. imggames

    imggames

    Joined:
    Aug 18, 2012
    Posts:
    22
  14. imggames

    imggames

    Joined:
    Aug 18, 2012
    Posts:
    22
  15. imggames

    imggames

    Joined:
    Aug 18, 2012
    Posts:
    22
  16. JoeStrout

    JoeStrout

    Joined:
    Jan 14, 2011
    Posts:
    9,859
    I found your asset still on the store. But it seems to be focused on font rendering... I don't need that. I need to render sharp line-art, where that line-art is defined by a high-contrast grayscale image.

    Would your asset help with that, and can you show an example?