Metal fixes

This commit is contained in:
Lubos Lenco
2020-05-11 13:44:46 +02:00
parent 28622ae420
commit 2579c3c3d4
7 changed files with 7 additions and 3 deletions
@@ -314,7 +314,7 @@ void createBasis(vec3 normal, out vec3 tangent, out vec3 binormal) {
";
public static var str_shIrradiance = "
vec3 shIrradiance(const vec3 nor) {
vec3 shIrradiance(const vec3 nor, const vec4 shirr[7]) {
const float c1 = 0.429043;
const float c2 = 0.511664;
const float c3 = 0.743125;