Merge pull request #945 from hourai-dev/shader-fix

Fix crash due to shader program linking error
This commit is contained in:
yvt 2021-03-07 14:14:08 +09:00 committed by GitHub
commit 2d972c00c7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -24,7 +24,7 @@ void PrepareForRadiosity_Map(vec3 vertexCoord, vec3 normal) {
hemisphereLighting = 1. - normal.z * .2;
}
void PrepareForRadiosityForMap_Map(vec3 vertexCoord, vec3 normal) {
void PrepareForRadiosityForMap_Map(vec3 vertexCoord, vec3 centerCoord, vec3 normal) {
hemisphereLighting = 1. - normal.z * .2;
}