Merge branch 'master' of https://github.com/DigitalPulseSoftware/NazaraEngine into Documentation-Update

Former-commit-id: 16ef7368ec0c27e3b941625a8b49d092fdededc3 [formerly ecaced20d9577ef1a58f8cd296a66af0c42e7f8f]
Former-commit-id: 5937a6b71285a4c0aff1796ee2ea67df237f50a8
This commit is contained in:
Gawaboumga
2016-06-06 19:33:33 +02:00
61 changed files with 2892 additions and 76 deletions

File diff suppressed because one or more lines are too long

View File

@@ -94,6 +94,7 @@ float VectorToDepthValue(vec3 vec, float zNear, float zFar)
return (normZ + 1.0) * 0.5;
}
#if SHADOW_MAPPING
float CalculateDirectionalShadowFactor(int lightIndex)
{
vec4 lightSpacePos = vLightSpacePos[lightIndex];
@@ -119,6 +120,7 @@ float CalculateSpotShadowFactor(int lightIndex)
return visibility;
}
#endif
void main()
{

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long