<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[Maratis forum - How to use MTextureRef?]]></title>
		<link>http://forum.maratis3d.com/viewtopic.php?id=944</link>
		<description><![CDATA[The most recent posts in How to use MTextureRef?.]]></description>
		<lastBuildDate>Tue, 18 Feb 2014 10:07:59 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: How to use MTextureRef?]]></title>
			<link>http://forum.maratis3d.com/viewtopic.php?pid=6465#p6465</link>
			<description><![CDATA[<p>Thank you for helping <img src="http://forum.maratis3d.com/img/smilies/smile.png" width="15" height="15" alt="smile" /></p><p>I am indeed trying to render the scene to a texture but it seems that something goes wrong with the texture creation or the shader binding.</p><p>The texture should work now so I will look into the shader now.</p><p>Sponk</p>]]></description>
			<author><![CDATA[dummy@example.com (Sponk)]]></author>
			<pubDate>Tue, 18 Feb 2014 10:07:59 +0000</pubDate>
			<guid>http://forum.maratis3d.com/viewtopic.php?pid=6465#p6465</guid>
		</item>
		<item>
			<title><![CDATA[Re: How to use MTextureRef?]]></title>
			<link>http://forum.maratis3d.com/viewtopic.php?pid=6462#p6462</link>
			<description><![CDATA[<p>It depends what you want to do,<br />but if you want to use render to texture look at &quot;enableRenderToTexture&quot; here :</p><p><a href="https://maratis.googlecode.com/svn/trunk/dev/Maratis/Common/MScript/MScript.cpp">https://maratis.googlecode.com/svn/trun &#133; Script.cpp</a></p><p>ps : never call &quot;new&quot; manually to manipulate engine objects<br />call &quot;level-&gt;loadTexture(&quot;myName&quot;, 0, 0);&quot; and use a reference string as a &quot;filename&quot;</p>]]></description>
			<author><![CDATA[dummy@example.com (anael)]]></author>
			<pubDate>Mon, 17 Feb 2014 23:15:06 +0000</pubDate>
			<guid>http://forum.maratis3d.com/viewtopic.php?pid=6462#p6462</guid>
		</item>
		<item>
			<title><![CDATA[How to use MTextureRef?]]></title>
			<link>http://forum.maratis3d.com/viewtopic.php?pid=6460#p6460</link>
			<description><![CDATA[<p>Hey!</p><p>I want to create a MTextureRef from a texture ID. I see that MTextureRef requires a file name to load from a file.</p><p>How can I do that?<br />Should I just go with the ID and use it directly?</p><p><a href="http://pastebin.com/sxiDnjPZ">http://pastebin.com/sxiDnjPZ</a> ==&gt; Code, yay <img src="http://forum.maratis3d.com/img/smilies/big_smile.png" width="15" height="15" alt="big_smile" /></p><p>Sponk</p>]]></description>
			<author><![CDATA[dummy@example.com (Sponk)]]></author>
			<pubDate>Mon, 17 Feb 2014 20:18:12 +0000</pubDate>
			<guid>http://forum.maratis3d.com/viewtopic.php?pid=6460#p6460</guid>
		</item>
	</channel>
</rss>
