Shadows are pretty much done.

This commit is contained in:
FakeShemp
2016-02-29 19:45:56 +01:00
parent 2ed5fad699
commit 0908be1e02
5 changed files with 26 additions and 19 deletions
@@ -2,5 +2,6 @@
<DirectionalLight xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="DirectionalLight.xsd">
<Color R="1" G="1" B="1" A="1"/>
<Intensity>0.8</Intensity>
<!--<TextureAlphaShadows>false</TextureAlphaShadows>-->
<Visible>true</Visible>
</DirectionalLight>
@@ -9,6 +9,7 @@
<xs:all>
<xs:element name="Color" type="t:Color" minOccurs="0"/>
<xs:element name="Intensity" type="t:double" minOccurs="0"/>
<!--<xs:element name="TextureAlphaShadows" type="t:bool" minOccurs="0"/>-->
<xs:element name="Visible" type="t:bool" minOccurs="0"/>
</xs:all>
</xs:complexType>
-1
View File
@@ -2,7 +2,6 @@
#define MAX_SPLITS 4
#define MIN_AMBIENT_LIGHT 0.3
#define SHADOW_STRENGTH 0.3 //Should be ambient
uniform mat4 M;
uniform mat4 V;