Godot Version
v4.5.stable.official [876b29033]
Question
Minimum Reproduction Project: https://github.com/kit-solent/godot-thing
I want to use a SubViewport with a Camera2D child to record a part of my map and display it elsewhere on the map. This works when rendering the viewport texture to a regular sprite but I need it to display on an irregular polygon. Currently there most of the viewport texture gets smeared out to the edges of the polygon as the image below shows.
I’d love to better understand how positioning works when rendering a texture to a polygon like this. The docs havn’t been particularly helpful and I’m unsure as to what position system/transforms will allow me to work with a
SubViewport. Thanks in advance for any help.
