# Shader sprite global to local

**URL:** <https://forum.defold.com/t/shader-sprite-global-to-local/64696>\
**Category:** Feature requests (USE GITHUB)\
**Created:** [March 24, 2020, 9:55pm UTC](https://forum.defold.com/t/shader-sprite-global-to-local/64696 "2020-03-24T21:55:23Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Mathias\_Westerdahl](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/mathias_westerdahl/32/228_2.png) [@Mathias\_Westerdahl](https://forum.defold.com/u/Mathias_Westerdahl)\
**Post date:** [March 25, 2020, 7:41am UTC](https://forum.defold.com/t/shader-sprite-global-to-local/64696/2 "2020-03-25T07:41:24Z")

</div>

There currently is no good way to do that.  
One could do it like [this](https://forum.defold.com/t/2d-light-implemetations/3636/5) and make the calculation yourself in the vertex shader.

What do you want it for? Perhaps there’s a another way of solving it?

---

_[View the full topic](https://forum.defold.com/t/shader-sprite-global-to-local/64696)._
