Merge pull request #945 from hourai-dev/shader-fix
Fix crash due to shader program linking error
This commit is contained in:
commit
2d972c00c7
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user