// #include "res://addons/rokojori_action_library/Runtime/Shading/Library/UV.gdshaderinc"

vec2 mapUV( vec2 position, vec2 size, vec2 center )
{
  vec2 offset = center - size/2.0;
  vec2 uv = ( position - offset ) / size;

  return uv;
}