<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[Maratis forum - Post Processing supported?]]></title>
		<link>http://forum.maratis3d.com/viewtopic.php?id=524</link>
		<description><![CDATA[The most recent posts in Post Processing supported?.]]></description>
		<lastBuildDate>Mon, 07 Jan 2013 09:10:56 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Post Processing supported?]]></title>
			<link>http://forum.maratis3d.com/viewtopic.php?pid=3255#p3255</link>
			<description><![CDATA[<p>Maybe a faster way can be implemented in lua:</p><div class="codebox"><pre><code>//this creates automatically the second camera and the mesh
imageOnCam = createShadingFrameBuffer()  // imageOnCam = { mesh = plane with the texture of the primary camera ,  camera = a camera pointing to mesh}
setShader( imageOnCam.mesh , &quot;shaderfile.frag&quot; , &quot;shaderfile.vert&quot; )</code></pre></div><p>but maybe the auxiliary cam will be influenced by the lights of the environment</p>]]></description>
			<author><![CDATA[dummy@example.com (SadWolf)]]></author>
			<pubDate>Mon, 07 Jan 2013 09:10:56 +0000</pubDate>
			<guid>http://forum.maratis3d.com/viewtopic.php?pid=3255#p3255</guid>
		</item>
		<item>
			<title><![CDATA[Re: Post Processing supported?]]></title>
			<link>http://forum.maratis3d.com/viewtopic.php?pid=3253#p3253</link>
			<description><![CDATA[<p>yes, the mesh in blender is in fact just a quad, you can make it one time and reuse it,<br />or take the one from the example with the t-pot.</p><p>With a plugin you can do it directly with code, there is a direct access to the engine so it can do anything.</p><p>I&#039;ll try to do something more simple in-editor for the next release if I have time.</p>]]></description>
			<author><![CDATA[dummy@example.com (anael)]]></author>
			<pubDate>Mon, 07 Jan 2013 00:18:56 +0000</pubDate>
			<guid>http://forum.maratis3d.com/viewtopic.php?pid=3253#p3253</guid>
		</item>
		<item>
			<title><![CDATA[Re: Post Processing supported?]]></title>
			<link>http://forum.maratis3d.com/viewtopic.php?pid=3252#p3252</link>
			<description><![CDATA[<p>So actually to use shaders I have to:</p><p>1 - Create the glsl .frag/.vert files<br />2 - Apply the shader to a mesh in blender<br />3 - Render a camera to a texture, so the mesh applies the shader to the texture ( which in reality is the scene of the camera )<br />4 - Use a second camera to see the shader effect</p><p>It&#039;s a bit complicated...<br />And if I write a plugin can I hook the shaders directly to the camera output?</p>]]></description>
			<author><![CDATA[dummy@example.com (SadWolf)]]></author>
			<pubDate>Sun, 06 Jan 2013 22:39:40 +0000</pubDate>
			<guid>http://forum.maratis3d.com/viewtopic.php?pid=3252#p3252</guid>
		</item>
		<item>
			<title><![CDATA[Re: Post Processing supported?]]></title>
			<link>http://forum.maratis3d.com/viewtopic.php?pid=3251#p3251</link>
			<description><![CDATA[<p>It&#039;s in Blender : <a href="http://www.maratis3d.org/?p=277">http://www.maratis3d.org/?p=277</a><br />There is a material mode called &quot;CustomShader&quot;</p>]]></description>
			<author><![CDATA[dummy@example.com (anael)]]></author>
			<pubDate>Sun, 06 Jan 2013 22:19:24 +0000</pubDate>
			<guid>http://forum.maratis3d.com/viewtopic.php?pid=3251#p3251</guid>
		</item>
		<item>
			<title><![CDATA[Re: Post Processing supported?]]></title>
			<link>http://forum.maratis3d.com/viewtopic.php?pid=3249#p3249</link>
			<description><![CDATA[<p>I still have some questions...</p><p>1. Can I apply shaders without using the textures system directly on the cam?<br />2. How does maratis manage shaders? I didn&#039;t find any &quot;shader&quot; option , does it pass which shader on the mesh file?</p>]]></description>
			<author><![CDATA[dummy@example.com (SadWolf)]]></author>
			<pubDate>Sun, 06 Jan 2013 22:00:27 +0000</pubDate>
			<guid>http://forum.maratis3d.com/viewtopic.php?pid=3249#p3249</guid>
		</item>
		<item>
			<title><![CDATA[Re: Post Processing supported?]]></title>
			<link>http://forum.maratis3d.com/viewtopic.php?pid=3248#p3248</link>
			<description><![CDATA[<p>Bloom is already possible using the render to texture technique, it just need a shader, but should not be very complicated, you can look at the shaders of the example from the link I gave you, Bloom can be done a bit like the blur effect but with a contrasted image put in addition of the normal render.</p>]]></description>
			<author><![CDATA[dummy@example.com (anael)]]></author>
			<pubDate>Sun, 06 Jan 2013 21:23:00 +0000</pubDate>
			<guid>http://forum.maratis3d.com/viewtopic.php?pid=3248#p3248</guid>
		</item>
		<item>
			<title><![CDATA[Re: Post Processing supported?]]></title>
			<link>http://forum.maratis3d.com/viewtopic.php?pid=3247#p3247</link>
			<description><![CDATA[<p><a href="http://en.wikibooks.org/wiki/OpenGL_Programming/Post-Processing">http://en.wikibooks.org/wiki/OpenGL_Pro &#133; Processing</a></p><p>It doesn&#039;t look like complicated, I&#039;ll give it a try on my spare time <img src="http://forum.maratis3d.com/img/smilies/smile.png" width="15" height="15" alt="smile" /></p>]]></description>
			<author><![CDATA[dummy@example.com (SadWolf)]]></author>
			<pubDate>Sun, 06 Jan 2013 21:15:13 +0000</pubDate>
			<guid>http://forum.maratis3d.com/viewtopic.php?pid=3247#p3247</guid>
		</item>
		<item>
			<title><![CDATA[Re: Post Processing supported?]]></title>
			<link>http://forum.maratis3d.com/viewtopic.php?pid=3246#p3246</link>
			<description><![CDATA[<p>I don&#039;t have a great knowledge about graphics in C++,<br />so I have no idea of how to implement such a thing... maybe I&#039;ll give it a try too after some research on graphics! <img src="http://forum.maratis3d.com/img/smilies/smile.png" width="15" height="15" alt="smile" /></p><p>but some years ago , i used a little 3d program like maratis to make some model testing suite...<br />it already has bloom and depth of field, maybe its source could be usefull...</p><p>It has a good graphics, but some feature was missing for a complete editor ( the scene editor and the scene tree system )...</p><p>here it is...<br /><a href="https://github.com/centralnoise/BlendELF/tree/master/elf">https://github.com/centralnoise/BlendEL &#133; master/elf</a></p><p>video<br /><a href="http://www.youtube.com/watch?v=qg7_N2-H4Wg">http://www.youtube.com/watch?v=qg7_N2-H4Wg</a></p><p>I hope maratis can get this capability...</p>]]></description>
			<author><![CDATA[dummy@example.com (SadWolf)]]></author>
			<pubDate>Sun, 06 Jan 2013 21:09:20 +0000</pubDate>
			<guid>http://forum.maratis3d.com/viewtopic.php?pid=3246#p3246</guid>
		</item>
		<item>
			<title><![CDATA[Re: Post Processing supported?]]></title>
			<link>http://forum.maratis3d.com/viewtopic.php?pid=3245#p3245</link>
			<description><![CDATA[<p>Normally it has to be done using a c++ plugin,<br />but I recently added a feature that can enable render to texture from lua, and the texture can be used to do post process with a shader. Only thing is this method don&#039;t give access to depth yet so depth of field will still need to be done in c++ (I think I&#039;ll add it for the next version).</p><p>&quot;Render to texture&quot; example here : <a href="http://www.maratis3d.org/?page_id=53">http://www.maratis3d.org/?page_id=53</a></p><p><span class="postimg"><img src="http://www.maratis3d.org/wp-content/uploads/2012/08/renderToTexture.jpg" alt="http://www.maratis3d.org/wp-content/uploads/2012/08/renderToTexture.jpg" /></span></p>]]></description>
			<author><![CDATA[dummy@example.com (anael)]]></author>
			<pubDate>Sun, 06 Jan 2013 20:53:59 +0000</pubDate>
			<guid>http://forum.maratis3d.com/viewtopic.php?pid=3245#p3245</guid>
		</item>
		<item>
			<title><![CDATA[Post Processing supported?]]></title>
			<link>http://forum.maratis3d.com/viewtopic.php?pid=3242#p3242</link>
			<description><![CDATA[<p>Hi!</p><p>Does maratis support post processing effects?</p><p>PS It would be nice to add some effects like bloom or depth of field</p>]]></description>
			<author><![CDATA[dummy@example.com (SadWolf)]]></author>
			<pubDate>Sun, 06 Jan 2013 19:59:59 +0000</pubDate>
			<guid>http://forum.maratis3d.com/viewtopic.php?pid=3242#p3242</guid>
		</item>
	</channel>
</rss>
