Cycles: disable anisotropic BSDF on CUDA sm 1.x, to try to get it building again.

This commit is contained in:
Brecht Van Lommel
2012-11-22 16:08:18 +00:00
parent eb75e43685
commit f4297c2ec5
4 changed files with 15 additions and 9 deletions

View File

@@ -283,7 +283,7 @@ __device void svm_node_normal_map(KernelGlobals *kg, ShaderData *sd, float *stac
N = normalize(sd->N + (N - sd->N)*strength);
}
stack_store_float3(stack, normal_offset, normalize(N));
stack_store_float3(stack, normal_offset, N);
}
__device void svm_node_tangent(KernelGlobals *kg, ShaderData *sd, float *stack, uint4 node)