From 2bd0746886f144ca6b1026bf6b16eeaceae8df4b Mon Sep 17 00:00:00 2001 From: Nicolas Pope <nwpope@utu.fi> Date: Wed, 2 Oct 2019 14:15:37 +0300 Subject: [PATCH] Increase normal smooth radius --- components/renderers/cpp/src/normals.cu | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/renderers/cpp/src/normals.cu b/components/renderers/cpp/src/normals.cu index b6ffc18de..0a4c12ae8 100644 --- a/components/renderers/cpp/src/normals.cu +++ b/components/renderers/cpp/src/normals.cu @@ -76,7 +76,7 @@ void ftl::cuda::normals(ftl::cuda::TextureObject<float4> &output, computeNormals_kernel<<<gridSize, blockSize, 0, stream>>>(temp, input); cudaSafeCall( cudaGetLastError() ); - smooth_normals_kernel<1><<<gridSize, blockSize, 0, stream>>>(temp, output, input, 0.04f); + smooth_normals_kernel<3><<<gridSize, blockSize, 0, stream>>>(temp, output, input, 0.04f); cudaSafeCall( cudaGetLastError() ); #ifdef _DEBUG -- GitLab