<?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 — Access Shader properties of Map Material on Runtime]]></title>
		<link>https://forum.infinity-code.com/viewtopic.php?id=1550</link>
		<atom:link href="https://forum.infinity-code.com/extern.php?action=feed&amp;tid=1550&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in Access Shader properties of Map Material on Runtime.]]></description>
		<lastBuildDate>Wed, 24 Jun 2020 09:41:49 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Access Shader properties of Map Material on Runtime]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=6405#p6405</link>
			<description><![CDATA[<p>Thanks again, Alex.<br />Now all works.</p>]]></description>
			<author><![CDATA[null@example.com (edufurla)]]></author>
			<pubDate>Wed, 24 Jun 2020 09:41:49 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=6405#p6405</guid>
		</item>
		<item>
			<title><![CDATA[Re: Access Shader properties of Map Material on Runtime]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=6404#p6404</link>
			<description><![CDATA[<p>You change only the first material (which is most likely outside the view), and the map uses a lot of materials (one for each tile).<br />Actually, this is the reason why the Mesh Renderer is hidden.<br />Generating a large number of previews can greatly slow down the inspector, and at high settings, it can cause inspector crashes.<br />The amount of material depends on your settings.<br />Video:<br /><a href="https://www.dropbox.com/s/3e0oryha73m0fep/ScreenRecorderProject116.mp4?dl=0">https://www.dropbox.com/s/3e0oryha73m0f … 6.mp4?dl=0</a><br />GetCountMaterials action attached.</p>]]></description>
			<author><![CDATA[null@example.com (Alex Vertax)]]></author>
			<pubDate>Tue, 23 Jun 2020 17:41:19 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=6404#p6404</guid>
		</item>
		<item>
			<title><![CDATA[Re: Access Shader properties of Map Material on Runtime]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=6403#p6403</link>
			<description><![CDATA[<p>I recorded a video.</p><br /><p><a href="https://drive.google.com/file/d/1OHgVaeJj8qlOlcvUbbJNLAVBFYWsQaqx/view?usp=sharing">https://drive.google.com/file/d/1OHgVae … sp=sharing</a></p>]]></description>
			<author><![CDATA[null@example.com (edufurla)]]></author>
			<pubDate>Tue, 23 Jun 2020 16:33:44 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=6403#p6403</guid>
		</item>
		<item>
			<title><![CDATA[Re: Access Shader properties of Map Material on Runtime]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=6402#p6402</link>
			<description><![CDATA[<p>Please show how you do it, and I will give advice on how to fix it.</p>]]></description>
			<author><![CDATA[null@example.com (Alex Vertax)]]></author>
			<pubDate>Tue, 23 Jun 2020 15:53:14 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=6402#p6402</guid>
		</item>
		<item>
			<title><![CDATA[Re: Access Shader properties of Map Material on Runtime]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=6401#p6401</link>
			<description><![CDATA[<p>Hi Alex.</p><p>I can get the material, but I can`t change it on the map after the map was created.<br />If I use the exact same material and Playmaker setup in a cube, for example, I can change it in runtime.</p><p>Maybe a need an extra step to the map update the new material information?</p><p>Thanks</p>]]></description>
			<author><![CDATA[null@example.com (edufurla)]]></author>
			<pubDate>Tue, 23 Jun 2020 15:48:51 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=6401#p6401</guid>
		</item>
		<item>
			<title><![CDATA[Re: Access Shader properties of Map Material on Runtime]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=6400#p6400</link>
			<description><![CDATA[<p>Hello.</p><p>Tileset Control creates a hidden Mesh Renderer component in play mode, and you can get / set materials.</p><p><span class="postimg"><img src="https://i.ibb.co/svzbh07/img1.png" alt="https://i.ibb.co/svzbh07/img1.png" /></span></p>]]></description>
			<author><![CDATA[null@example.com (Alex Vertax)]]></author>
			<pubDate>Tue, 23 Jun 2020 15:16:48 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=6400#p6400</guid>
		</item>
		<item>
			<title><![CDATA[Access Shader properties of Map Material on Runtime]]></title>
			<link>https://forum.infinity-code.com/viewtopic.php?pid=6399#p6399</link>
			<description><![CDATA[<p>Hi Alex.<br />I found another challenge for me (hope not for you <img src="https://forum.infinity-code.com/img/smilies/smile.png" width="15" height="15" alt="smile" /> ).<br />I want to add some nice effects in runtime to the map, like dissolve, vertex displacements, hologram, etc...<br />My difficult is the map does not have a standard material property and Playmaker can`t access the instanced material of the map.</p><p>I am using Amplify Shader with your PBR Bridge script and all works very well if you set up before hitting play, but if I change the material in play mode nothing happens.</p><p>Any idea of how to get the map working with a runtime configurable shader?</p><p>Thanks</p>]]></description>
			<author><![CDATA[null@example.com (edufurla)]]></author>
			<pubDate>Tue, 23 Jun 2020 13:39:58 +0000</pubDate>
			<guid>https://forum.infinity-code.com/viewtopic.php?pid=6399#p6399</guid>
		</item>
	</channel>
</rss>
