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

Former-commit-id: 866c0778a3dcdc259618e577649a1116ae3a57e8 [formerly 4905c256960813c8f7b9c5e15b70ba906baa0b90]
Former-commit-id: b880a6fe12f937c5cd766a8cf37fd6794d146e84
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