<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[GMan's Mods & Stuff — Unable to scale Textures]]></title>
		<link>https://gprogs.com/viewtopic.php?id=432</link>
		<atom:link href="https://gprogs.com/extern.php?action=feed&amp;tid=432&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in Unable to scale Textures.]]></description>
		<lastBuildDate>Sat, 02 Apr 2011 09:37:11 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Unable to scale Textures]]></title>
			<link>https://gprogs.com/viewtopic.php?pid=1656#p1656</link>
			<description><![CDATA[<p>Thank you for your answer, but also this code seems not to work. The scale factor doesn&#039;t affect the Texture in any way...<br /></p><div class="codebox"><pre><code>...
Local mat:Matrix4 = ter.terrainMeshSceneNode.getMaterial(0).getTextureMatrix(0)
mat.setTextureScale(0.1, 10)
ter.terrainMeshSceneNode.getMaterial(0).setTextureMatrix(0, mat)
...</code></pre></div><p>If needed I&#039;ll upload you an example code to test it yourself <img src="https://gprogs.com/img/smilies/wink.png" width="15" height="15" alt="wink" /></p>]]></description>
			<author><![CDATA[null@example.com (Lobby)]]></author>
			<pubDate>Sat, 02 Apr 2011 09:37:11 +0000</pubDate>
			<guid>https://gprogs.com/viewtopic.php?pid=1656#p1656</guid>
		</item>
		<item>
			<title><![CDATA[Re: Unable to scale Textures]]></title>
			<link>https://gprogs.com/viewtopic.php?pid=1653#p1653</link>
			<description><![CDATA[<div class="codebox"><pre><code>sm.setTextureMatrix(0,sm.getTextureMatrix(0).setTextureScale(4,4));</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (gman)]]></author>
			<pubDate>Sun, 20 Mar 2011 16:31:09 +0000</pubDate>
			<guid>https://gprogs.com/viewtopic.php?pid=1653#p1653</guid>
		</item>
		<item>
			<title><![CDATA[Unable to scale Textures]]></title>
			<link>https://gprogs.com/viewtopic.php?pid=1647#p1647</link>
			<description><![CDATA[<div class="codebox"><pre><code>Local snowTex:ITexture = engine.video.GetTexture(&quot;tex.png&quot;)
ter.terrainMeshSceneNode.setMaterialTexture(0, snowTex)
ter.terrainMeshSceneNode.getMaterial(0).getTextureMatrix(0).setTextureScale(1, 10)</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (Lobby)]]></author>
			<pubDate>Sun, 19 Dec 2010 10:44:22 +0000</pubDate>
			<guid>https://gprogs.com/viewtopic.php?pid=1647#p1647</guid>
		</item>
	</channel>
</rss>
