Various shadow calculation methods implemented and ready for use.

This commit is contained in:
FakeShemp
2016-02-27 16:35:15 +01:00
parent 38d8cdded2
commit ecab5de056
4 changed files with 82 additions and 85 deletions
+1 -9
View File
@@ -1,18 +1,10 @@
#version 430
//in VertexData{
// vec3 Position;
//}Input;
//layout(location = 0 ) out vec4 ShadowMap;
layout(location = 0 ) out float ShadowMap;
void main()
{
//ShadowMap = vec4(vec3(gl_FragCoord.z), 1.0);
//ShadowMap = (gl_FragCoord.z);
}