Ready for release

This commit is contained in:
samcake 2015-08-05 17:41:23 -07:00
parent 7be736d6de
commit 07a9dd3404

View file

@ -33,7 +33,7 @@ vec3 bestFitNormal(vec3 normal) {
texcoord = (texcoord.x < texcoord.y ? texcoord.yx : texcoord.xy);
texcoord.y /= texcoord.x;
vec3 cN = normal / maxNAbs;
float fittingScale = texture2D(normalFittingMap, texcoord).a;
float fittingScale = texture(normalFittingMap, texcoord).a;
cN *= fittingScale;
return (cN * 0.5 + 0.5);
}