<?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 — Help using OnlineMapsDrawingLine with elevation data]]></title>
		<link>https://forum.infinity-code.com/viewtopic.php?id=442</link>
		<atom:link href="https://forum.infinity-code.com/extern.php?action=feed&amp;tid=442&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in Help using OnlineMapsDrawingLine with elevation data.]]></description>
		<lastBuildDate>Tue, 28 Mar 2017 15:58:23 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Help using OnlineMapsDrawingLine with elevation data]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=2107#p2107</link>
			<description><![CDATA[<p>With the default settings, I have the correct order of the elements (without the modified shader). Screenshot attached.<br />What shader do you use for tileset (Materials &amp; Shaders / Tileset Shader)?<br />Tileset or Tileset Cutout?</p><p>Unfortunately, there is no solution without modifying the shader.</p>]]></description>
			<author><![CDATA[null@example.com (Alex Vertax)]]></author>
			<pubDate>Tue, 28 Mar 2017 15:58:23 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=2107#p2107</guid>
		</item>
		<item>
			<title><![CDATA[Re: Help using OnlineMapsDrawingLine with elevation data]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=2096#p2096</link>
			<description><![CDATA[<p>Hi Alex,&nbsp; I finally got some time to respond... I also upgraded to the latest stable release.</p><p>Your solution works but my users think it is broken because the lines appear on top of other game objects.</p><p>Is there a way to have the lines only appear through the map tiles and not other objects?<br />Would sort layers help?<br />Is there a non-shader solution to this problem?</p>]]></description>
			<author><![CDATA[null@example.com (kalaki)]]></author>
			<pubDate>Mon, 27 Mar 2017 13:59:41 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=2096#p2096</guid>
		</item>
		<item>
			<title><![CDATA[Re: Help using OnlineMapsDrawingLine with elevation data]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=1929#p1929</link>
			<description><![CDATA[<p>I&#039;m using the default shader with the change you recommended. <br />I have a tight deadline so I was afraid to update my assets. But I&#039;ll try v2.5.0.10 beta later today. <br />I&#039;ll let you know if I can update colors in real-time after I update.<br />Thanks</p>]]></description>
			<author><![CDATA[null@example.com (kalaki)]]></author>
			<pubDate>Fri, 03 Mar 2017 19:26:09 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=1929#p1929</guid>
		</item>
		<item>
			<title><![CDATA[Re: Help using OnlineMapsDrawingLine with elevation data]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=1928#p1928</link>
			<description><![CDATA[<p>Why exactly v2.5.0.9 beta?<br />In v2.5.0.8 beta and v2.5.0.9 beta tiles are not unloaded correctly, and you have a huge memory leak.<br />In this case is better to use v2.4.0.62 stable, v2.5.0.10 beta or the latest stable version.</p><p>I do not know is working changing color of line or not in v2.5.0.9 beta.<br />In latest version is working correctly.<br />A few days ago I was checking it.</p><p>What shader do you use for Tileset?</p>]]></description>
			<author><![CDATA[null@example.com (Alex Vertax)]]></author>
			<pubDate>Fri, 03 Mar 2017 19:02:59 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=1928#p1928</guid>
		</item>
		<item>
			<title><![CDATA[Re: Help using OnlineMapsDrawingLine with elevation data]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=1927#p1927</link>
			<description><![CDATA[<p>Thanks Alex, <br />That will work. I was hoping there was a solution without using a shader but it&#039;s a hard problem.</p><p>I have it working but I ran into a bug. Any changes to line color are being ignored. <br />OnlineMapsDrawingElement.InitMesh is responsible for changing the color but it will only do it if the mesh is null. This means I have to remove and add the drawing element every time I update the color. <br />Note: I&#039;m using an old version = 2.5.0.9</p>]]></description>
			<author><![CDATA[null@example.com (kalaki)]]></author>
			<pubDate>Fri, 03 Mar 2017 18:25:09 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=1927#p1927</guid>
		</item>
		<item>
			<title><![CDATA[Re: Help using OnlineMapsDrawingLine with elevation data]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=1921#p1921</link>
			<description><![CDATA[<p>Hello.</p><p>The easiest way is modify the shader (TilesetDrawingElement.shader).<br />Modify:<br /></p><div class="codebox"><pre><code>Tags {&quot;Queue&quot;=&quot;Transparent-50&quot; &quot;IgnoreProjector&quot;=&quot;True&quot; &quot;RenderType&quot;=&quot;Transparent&quot;}
LOD 200</code></pre></div><p>To:<br /></p><div class="codebox"><pre><code>Tags {&quot;Queue&quot;=&quot;Transparent-50&quot; &quot;IgnoreProjector&quot;=&quot;True&quot; &quot;RenderType&quot;=&quot;Transparent&quot;}
LOD 200
ZWrite Off
ZTest Always</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (Alex Vertax)]]></author>
			<pubDate>Thu, 02 Mar 2017 08:07:43 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=1921#p1921</guid>
		</item>
		<item>
			<title><![CDATA[Help using OnlineMapsDrawingLine with elevation data]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=1917#p1917</link>
			<description><![CDATA[<p>Hi Alex,<br />I have a map with elevation data and I need to draw lines over it. I used OnlineMapsDrawingLine but when the elevation is higher between the points the line gets obstructed. I&#039;m not sure how to create a line that &quot;hugs&quot; the mesh.</p><p>Do you have a solution or can you recommend one? <br />By the way I have &quot;Collider Type&quot; set to &quot;simple mesh&quot; if that matters.</p>]]></description>
			<author><![CDATA[null@example.com (kalaki)]]></author>
			<pubDate>Thu, 02 Mar 2017 04:53:36 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=1917#p1917</guid>
		</item>
	</channel>
</rss>
