How to get dimensions of tile in shade code

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By ondesic

I have a tile in a tileset that I want to apply a shader to. For some reason I can’t get the proper dimensions with any of the built ins like TEXTURE_PIXEL_SIZE, SCREEN_SIXE, VIEWPORT_SIZE.

I want to get the normalized value of the size of the tile. Could something please help me?

Thanks

:bust_in_silhouette: Reply From: ondesic

Maybe this is not the right forum to ask about shaders. Is there a better forum to troubleshoot my shader problem?

Thanks