<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Maratis forum - Light types]]></title>
	<link rel="self" href="http://forum.maratis3d.com/extern.php?action=feed&amp;tid=80&amp;type=atom"/>
	<updated>2011-04-24T04:53:57Z</updated>
	<generator>PunBB</generator>
	<id>http://forum.maratis3d.com/viewtopic.php?id=80</id>
		<entry>
			<title type="html"><![CDATA[Re: Light types]]></title>
			<link rel="alternate" href="http://forum.maratis3d.com/viewtopic.php?pid=307#p307"/>
			<content type="html"><![CDATA[<p>Yes, a scene-ambient factor is very simple and will work for both fixed and shader pipeline for sure. It can probably be coded in less than 30 mins.</p><p>A light-ambient factor is more complicated because the light radius and the light position is affecting it, and I need to check if the fixed pipeline can support it in a consistent way.</p>]]></content>
			<author>
				<name><![CDATA[anael]]></name>
				<uri>http://forum.maratis3d.com/profile.php?id=2</uri>
			</author>
			<updated>2011-04-24T04:53:57Z</updated>
			<id>http://forum.maratis3d.com/viewtopic.php?pid=307#p307</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Light types]]></title>
			<link rel="alternate" href="http://forum.maratis3d.com/viewtopic.php?pid=306#p306"/>
			<content type="html"><![CDATA[<div class="quotebox"><cite>anael wrote:</cite><blockquote><p>There is a plan to add directional light, but it&#039;s not yet implemented in the renderer,<br />(mainly because of the shadow system, still not sure of the technique to use, perspective shadow buffer or other).</p><p>I don&#039;t have plans for ambient light, I usually prefer using the material emit, or an emit texture.<br />But an &quot;ambient&quot; variable can be added very easily in the light property, it will just need some homework first<br />to know how to do a consistent result between fixed pipeline and shading pipeline.</p></blockquote></div><p>An ambient light factor (vec3) on the scene properties could work well right? Then use that factor for light calculations in both fixed and shader pipelines.</p>]]></content>
			<author>
				<name><![CDATA[skumancer]]></name>
				<uri>http://forum.maratis3d.com/profile.php?id=73</uri>
			</author>
			<updated>2011-04-24T04:07:35Z</updated>
			<id>http://forum.maratis3d.com/viewtopic.php?pid=306#p306</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Light types]]></title>
			<link rel="alternate" href="http://forum.maratis3d.com/viewtopic.php?pid=305#p305"/>
			<content type="html"><![CDATA[<p>There is a plan to add directional light, but it&#039;s not yet implemented in the renderer,<br />(mainly because of the shadow system, still not sure of the technique to use, perspective shadow buffer or other).</p><p>I don&#039;t have plans for ambient light, I usually prefer using the material emit, or an emit texture.<br />But an &quot;ambient&quot; variable can be added very easily in the light property, it will just need some homework first<br />to know how to do a consistent result between fixed pipeline and shading pipeline.</p>]]></content>
			<author>
				<name><![CDATA[anael]]></name>
				<uri>http://forum.maratis3d.com/profile.php?id=2</uri>
			</author>
			<updated>2011-04-24T04:04:55Z</updated>
			<id>http://forum.maratis3d.com/viewtopic.php?pid=305#p305</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Light types]]></title>
			<link rel="alternate" href="http://forum.maratis3d.com/viewtopic.php?pid=302#p302"/>
			<content type="html"><![CDATA[<p>I see that right now we have spot lights and point lights. Is there any plan to add directional lights and ambient lights?</p><p>Thanks,<br />- Ricardo</p>]]></content>
			<author>
				<name><![CDATA[skumancer]]></name>
				<uri>http://forum.maratis3d.com/profile.php?id=73</uri>
			</author>
			<updated>2011-04-24T03:12:49Z</updated>
			<id>http://forum.maratis3d.com/viewtopic.php?pid=302#p302</id>
		</entry>
</feed>
