<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Infinity Code Forum — Drawing Element, How to Draw Object while following the map Contour?]]></title>
	<link rel="self" href="https://forum.infinity-code.com/extern.php?action=feed&amp;tid=2029&amp;type=atom" />
	<updated>2022-09-12T17:25:29Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.infinity-code.com/viewtopic.php?id=2029</id>
		<entry>
			<title type="html"><![CDATA[Re: Drawing Element, How to Draw Object while following the map Contour?]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=8564#p8564" />
			<content type="html"><![CDATA[<p>You have two ways:<br />1. Make custom shader for drawings with Z-Offset or ZTest Always.<br /><a href="https://docs.unity3d.com/Manual/SL-Offset.html">https://docs.unity3d.com/Manual/SL-Offset.html</a><br />An example shader is attached.<br />2. (Not recommended as it&#039;s slow) Use Drawing as Overlay.<br /><a href="https://infinity-code.com/doxygen/online-maps/classOnlineMapsTileSetControl.html#aa3c3dd01fcd7ad658b62a02b898bca42">https://infinity-code.com/doxygen/onlin … 2b898bca42</a></p>]]></content>
			<author>
				<name><![CDATA[Alex Vertax]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=2</uri>
			</author>
			<updated>2022-09-12T17:25:29Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=8564#p8564</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Drawing Element, How to Draw Object while following the map Contour?]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=8563#p8563" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>Alex Vertax wrote:</cite><blockquote><p>Hello.</p><p>Unfortunately, I don&#039;t understand what &quot;draw an object while following the Contour of the map&quot; means.<br />Please explain this in more detail.</p></blockquote></div><br /><p>So basically I wanted to draw a drawing while following the map terrain. For example, if there&#039;s a mountain, then the drawing automatically will match the terrain. As you can see in this picture, the drawing will clip through the mountain. I can unclip it through the repositioning of the Y-axis, but because of that it made it float way above the ground.</p>]]></content>
			<author>
				<name><![CDATA[moonflow123]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=1980</uri>
			</author>
			<updated>2022-09-12T01:55:50Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=8563#p8563</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Drawing Element, How to Draw Object while following the map Contour?]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=8562#p8562" />
			<content type="html"><![CDATA[<p>Hello.</p><p>Unfortunately, I don&#039;t understand what &quot;draw an object while following the Contour of the map&quot; means.<br />Please explain this in more detail.</p>]]></content>
			<author>
				<name><![CDATA[Alex Vertax]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=2</uri>
			</author>
			<updated>2022-09-07T16:54:28Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=8562#p8562</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Drawing Element, How to Draw Object while following the map Contour?]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=8561#p8561" />
			<content type="html"><![CDATA[<p>Is there any ways to draw an object while following the Contour of the map? It usually clipped through even though it is different layers when I used 3D map terrain with Bing Elevation.</p>]]></content>
			<author>
				<name><![CDATA[moonflow123]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=1980</uri>
			</author>
			<updated>2022-09-07T11:54:25Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=8561#p8561</id>
		</entry>
</feed>
