Effects for TextMeshPro: Level up your text with materials and gradients

Поділитися
Вставка
  • Опубліковано 3 жов 2024

КОМЕНТАРІ • 31

  • @ChristinaCreatesGames
    @ChristinaCreatesGames  Рік тому +2

    Hi 😀
    A short extra trick that didn't make it into the latest video but which I think is super neat: You can recolor your sprites inside text boxes, too, of course! If you write tint=1 inside the sprite tag, it takes on the same color you set inside the style tag or chosen vertex color of your TMP component. This also works with gradients! I posted an example image on my community post site.
    Plus, as the question has come up, you can recolor the sprites in themselves, too. Each Sprite already comes with its own material and link to the TextMeshPro/Sprite Shader. Somehow creating a new material for a sprite won't work, but give this code a try: pastebin.com/i4My0mMR You can hand it a Sprite asset and a couple colors in the list (make sure you don't set alpha to the default 0 ;D Happened to me during testing). It should change the color of your sprite every second to something random. I guess you'll find ways to expand on it :D

  • @MarekNijaki
    @MarekNijaki Рік тому +3

    I like that you picked up little bit niche topic and sticking to it. Because of that your videos are diving deep into a lot of useful stuff that nobody talks about. Nice work

    • @ChristinaCreatesGames
      @ChristinaCreatesGames  Рік тому +1

      I appreciate that ❤️ Thank you for the feedback :) I honestly thought at the beginning, I would be making two or three videos on this topic, but typography and text is so important to games that I thought a deep dive would be in order ;) I'm super happy whenever I have a look into my analytics and see more and more people coming to my little channel and wanting to learn stuff about these topics ❤️

    • @MarekNijaki
      @MarekNijaki Рік тому

      @@ChristinaCreatesGames good to hear. I came to your channel because of pitit so you can thx him xd

    • @ChristinaCreatesGames
      @ChristinaCreatesGames  Рік тому +1

      @@MarekNijaki hah, will do!

  • @PitiITNet
    @PitiITNet Рік тому +2

    Christina, thank you so much

    • @ChristinaCreatesGames
      @ChristinaCreatesGames  Рік тому

      Thank you =D TMP is so powerful once you go beyond just did playing some text ;)

  • @alexleonardkrea
    @alexleonardkrea Рік тому +2

    Using materials is pretty cool. I can see many use cases for it with some basic shaders applied too.
    Yet another great video.

    • @ChristinaCreatesGames
      @ChristinaCreatesGames  Рік тому +1

      I massively enjoy these materials :] I'd use gradients once the text gets too small to notice the details, but for headlines and such? They are awesome.
      Thank you for the feedback 😊

  • @notadev9000
    @notadev9000 11 місяців тому +1

    Annoying that you have to name the gradient folder precisely and within the resources folder. But thank-you, it solved my issue!

    • @ChristinaCreatesGames
      @ChristinaCreatesGames  11 місяців тому

      Glad to hear it =)! Unity is working on making the location not as hard coded, but it might still take a moment until it gets implemented across the board.

  • @CreatorOblivion
    @CreatorOblivion Рік тому +1

    Very nice!!
    I had no idea this was even a potential feature!!

    • @ChristinaCreatesGames
      @ChristinaCreatesGames  Рік тому

      It is! And it's super cool ;D Just make sure that your text stays readable 😄

  • @pavlovsdoguk
    @pavlovsdoguk Рік тому +3

    This is so good! I want to go out and make terrible font decisions!

  • @smallguyownz
    @smallguyownz Рік тому +2

    I have barely even touched Unity but this is very interesting and I like the look :P
    (I subscribed btw)

    • @ChristinaCreatesGames
      @ChristinaCreatesGames  Рік тому

      Woohoo, thank you =)! I hope you'll remember to come back once you are at a point where you'd like to improve your TMP workflows ;)

    • @smallguyownz
      @smallguyownz Рік тому +1

      @@ChristinaCreatesGames Well at the very least I've shown it to my programmer so it's another tool at our disposal for the project we're working on :P

    • @ChristinaCreatesGames
      @ChristinaCreatesGames  Рік тому

      Oooh, awesome, thank you ;D!

  • @midniteoilsoftware
    @midniteoilsoftware Рік тому +1

    Very cool!

  • @chiwa-info
    @chiwa-info 7 місяців тому +1

    awesome!!

  • @andreagrumpeenlate5813
    @andreagrumpeenlate5813 Рік тому +1

    Nice 👍

  • @plexoid
    @plexoid 5 місяців тому

    Nice tutorial! But why is inner shadow doesn't work?

  • @FernandaFuscaldo
    @FernandaFuscaldo Рік тому +1

    🤯

  • @lichlichi
    @lichlichi Рік тому +1

    thanks