<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[Infinity Code Forum — Custom map overlay in a specific region]]></title>
		<link>https://forum.infinity-code.com/viewtopic.php?id=1582</link>
		<atom:link href="https://forum.infinity-code.com/extern.php?action=feed&amp;tid=1582&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in Custom map overlay in a specific region.]]></description>
		<lastBuildDate>Wed, 09 Sep 2020 09:08:38 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Custom map overlay in a specific region]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=6647#p6647</link>
			<description><![CDATA[<p>Alpha works well.<br />Just Tileset Cutout shader does not support transparency.<br />If you need alpha, use Tileset shader instead.</p><p>To do multiple overlays, add multiple instances of this script.<br />Use Material.renderQueue to control the drawing order of overlays.<br /><a href="https://docs.unity3d.com/ScriptReference/Material-renderQueue.html">https://docs.unity3d.com/ScriptReferenc … Queue.html</a></p>]]></description>
			<author><![CDATA[null@example.com (Alex Vertax)]]></author>
			<pubDate>Wed, 09 Sep 2020 09:08:38 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=6647#p6647</guid>
		</item>
		<item>
			<title><![CDATA[Re: Custom map overlay in a specific region]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=6642#p6642</link>
			<description><![CDATA[<p>With the latest revision the Alpha setting does not work. I am assuming this has to do with the Shader.<br />Also, how can I add multiple layers? I would like to use my custom map as the base layer, and then add other layers to it. I will then use buttons to turn the various layers on and off.</p>]]></description>
			<author><![CDATA[null@example.com (2duaneg)]]></author>
			<pubDate>Tue, 08 Sep 2020 19:36:35 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=6642#p6642</guid>
		</item>
		<item>
			<title><![CDATA[Re: Custom map overlay in a specific region]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=6609#p6609</link>
			<description><![CDATA[<p>I updated the script in the link above and added a field for the shader.<br />Set Tileset or Tileset Cutout shader in this field.</p>]]></description>
			<author><![CDATA[null@example.com (Alex Vertax)]]></author>
			<pubDate>Fri, 21 Aug 2020 20:08:15 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=6609#p6609</guid>
		</item>
		<item>
			<title><![CDATA[Re: Custom map overlay in a specific region]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=6608#p6608</link>
			<description><![CDATA[<p>My apologies, I should have mentioned before that I had tried that. The issue is that I had to raise the line way above the map before it would render. I have attached a screen shot that shows the line raised above the map. Notice that the line is not rendering when it is over the overlay, but is rendering where it is not viewed over the overlay.</p>]]></description>
			<author><![CDATA[null@example.com (2duaneg)]]></author>
			<pubDate>Fri, 21 Aug 2020 13:23:19 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=6608#p6608</guid>
		</item>
		<item>
			<title><![CDATA[Re: Custom map overlay in a specific region]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=6606#p6606</link>
			<description><![CDATA[<p>To fix this get a Drawing container (Map / Drawing), and move it up a little (Y-axis).</p>]]></description>
			<author><![CDATA[null@example.com (Alex Vertax)]]></author>
			<pubDate>Fri, 21 Aug 2020 10:30:54 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=6606#p6606</guid>
		</item>
		<item>
			<title><![CDATA[Re: Custom map overlay in a specific region]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=6602#p6602</link>
			<description><![CDATA[<p>The map with overlay is working well except that I am also using the OnlineMapsDrawingLine to show routes. However, the lines do not show on my overlay map, only on the base map. How can I fix this?</p>]]></description>
			<author><![CDATA[null@example.com (2duaneg)]]></author>
			<pubDate>Thu, 20 Aug 2020 18:46:58 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=6602#p6602</guid>
		</item>
		<item>
			<title><![CDATA[Re: Custom map overlay in a specific region]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=6585#p6585</link>
			<description><![CDATA[<p><a href="https://forum.infinity-code.com/viewtopic.php?pid=6549#p6549">https://forum.infinity-code.com/viewtop … 6549#p6549</a><br />I just checked and the post contains the correct version of the script.</p>]]></description>
			<author><![CDATA[null@example.com (Alex Vertax)]]></author>
			<pubDate>Mon, 17 Aug 2020 15:47:32 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=6585#p6585</guid>
		</item>
		<item>
			<title><![CDATA[Re: Custom map overlay in a specific region]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=6583#p6583</link>
			<description><![CDATA[<p>Can you provide a link to that post? I followed the link that you previously sent to me, and there is no difference in the script.</p><p>All the best.</p>]]></description>
			<author><![CDATA[null@example.com (2duaneg)]]></author>
			<pubDate>Mon, 17 Aug 2020 13:34:41 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=6583#p6583</guid>
		</item>
		<item>
			<title><![CDATA[Re: Custom map overlay in a specific region]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=6570#p6570</link>
			<description><![CDATA[<p>I made the necessary changes and now the script will work correctly when the map is rotated.<br />I updated the script in the same post where it was originally published so as not to spawn entities.</p>]]></description>
			<author><![CDATA[null@example.com (Alex Vertax)]]></author>
			<pubDate>Thu, 13 Aug 2020 23:08:27 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=6570#p6570</guid>
		</item>
		<item>
			<title><![CDATA[Re: Custom map overlay in a specific region]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=6568#p6568</link>
			<description><![CDATA[<p>As I started working with this script, I ran into a few issues. I am working with maps in a VR simulation environment. At first the overlays were noticeably above the map. I was able to fix that by adding some code to offset the y position value of the overlay container. However, as I try to rotate the chart, the overlay does not rotate with it. The attached image shows the overlay container x rotation value of -40. That value matches what I set the map to, but as you can see, the overlay is still flat. Also,I tried manually rotating the container during run time, but as I move map, the overlay does not stay aligned. Is there a way I can fix this?</p><p>All the best.</p>]]></description>
			<author><![CDATA[null@example.com (2duaneg)]]></author>
			<pubDate>Thu, 13 Aug 2020 16:41:52 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=6568#p6568</guid>
		</item>
		<item>
			<title><![CDATA[Re: Custom map overlay in a specific region]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=6567#p6567</link>
			<description><![CDATA[<p>Thanks Alex. This is perfect ... just what I was looking for.</p>]]></description>
			<author><![CDATA[null@example.com (2duaneg)]]></author>
			<pubDate>Thu, 13 Aug 2020 13:29:51 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=6567#p6567</guid>
		</item>
		<item>
			<title><![CDATA[Re: Custom map overlay in a specific region]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=6561#p6561</link>
			<description><![CDATA[<p>Hello.</p><p>Example:<br /><a href="https://forum.infinity-code.com/viewtopic.php?pid=6549#p6549">https://forum.infinity-code.com/viewtop … 6549#p6549</a></p>]]></description>
			<author><![CDATA[null@example.com (Alex Vertax)]]></author>
			<pubDate>Thu, 13 Aug 2020 00:54:56 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=6561#p6561</guid>
		</item>
		<item>
			<title><![CDATA[Custom map overlay in a specific region]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=6560#p6560</link>
			<description><![CDATA[<p>I would like create my own map and overlay it in specific region, like a single shipping port or waterway. I have attached a rough example of what type of map overlays I would like to do. The lines and poly lines will be too simplistic for what I have to do. I need to use a specific nautical chart, and show separate layers for restricted areas, shipping lanes, currents, etc. What I need is something like the &quot;Tileset Overlay Example&quot;. However, from what I can tell, this example only puts an overlay over the entire world map. I know that I could create a global map with alpha so only the parts I want show up, but I would have to sacrifice resolution, so that does not seem practical. Please advise on how I can overlay a png or other file that supports alpha over a specific region. Once in place, it will also need to move and zoom in and out with the map.</p><p>All the best.</p>]]></description>
			<author><![CDATA[null@example.com (2duaneg)]]></author>
			<pubDate>Thu, 13 Aug 2020 00:50:53 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=6560#p6560</guid>
		</item>
	</channel>
</rss>
