Revert "Revert "Shadows""

This reverts commit 73b8bff1f3.
This commit is contained in:
FakeShemp
2016-03-07 19:45:46 +01:00
parent 3edc2f4819
commit 2049d630e9
21 changed files with 2280 additions and 9 deletions
@@ -1,6 +1,7 @@
#version 430
#define MIN_AMBIENT_LIGHT 0.3
#define MAX_SPLITS 4
uniform mat4 M;
uniform mat4 V;
@@ -69,6 +70,7 @@ in VertexData{
vec2 TextureCoordinate;
vec4 ExplosionColor;
float ExplosionPercentageElapsed;
vec4 PositionLightSpace[MAX_SPLITS];
}Input;
out vec4 sceneColor;