<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Infinity Code Forum — Resize a Sprite Renderer map.]]></title>
	<link rel="self" href="https://forum.infinity-code.com/extern.php?action=feed&amp;tid=1021&amp;type=atom" />
	<updated>2019-01-29T17:40:46Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.infinity-code.com/viewtopic.php?id=1021</id>
		<entry>
			<title type="html"><![CDATA[Re: Resize a Sprite Renderer map.]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=4528#p4528" />
			<content type="html"><![CDATA[<p>Hello.</p><p>Unfortunately, there is no way to do this.<br />The map must have a side size of a multiple of 256.</p><p>In your case, you need to use the texture 768x1536 + Sprite Mask.<br /><a href="https://docs.unity3d.com/Manual/class-SpriteMask.html">https://docs.unity3d.com/Manual/class-SpriteMask.html</a></p>]]></content>
			<author>
				<name><![CDATA[Alex Vertax]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=2</uri>
			</author>
			<updated>2019-01-29T17:40:46Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=4528#p4528</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Resize a Sprite Renderer map.]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=4527#p4527" />
			<content type="html"><![CDATA[<p>I am trying to use a simple 2D map, as a background image to a panel that I am placing other UI elements over.</p><p>The map itself is just set to a fixed GPS and zoom level, with no interactivity. It&#039;s just there as an image. I am using a Sprite Renderer map, since that appears to be the most simplest type of map there is.</p><p>However I cannot resize the map to the size of the parent panel. It renders to the 512 x 512 texture size, but I need it to be 693 x 1291 pixels.</p><p>How can I resize the map to this size?<br />Or should I try to &quot;oversize&quot; the map sprite render and use a mask to trim it down to the required size?<br />What is my best option?</p>]]></content>
			<author>
				<name><![CDATA[Lurch]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=844</uri>
			</author>
			<updated>2019-01-29T15:50:48Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=4527#p4527</id>
		</entry>
</feed>
