Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
bevyengine
GitHub Repository: bevyengine/bevy
Path: blob/main/release-content/release-notes/text2d_shadows.md
6592 views
---
title: "`Text2d` Shadows" authors: ["@ickshonpe"] pull_requests: [20463]
---

TODO: add showcase image(s)

Text2d is a simple worldspace text API: great for damage numbers and simple labels. It deserves a few bells and whistles though, so it can keep up with its UI brother, Text.

In addition to the new text background color, we've added dropshadows for Text2d. Add the Text2dShadow component to a Text2d entity to draw a shadow effect beneath its text.