Cycles: CUDA bicubic and tricubic texture interpolation support.
[blender-staging.git] / intern / cycles / kernel / osl / osl_services.cpp
index 5b991bf065c9dc0add3aa8e81c7257474cd4a828..8ae004031e17d86929be9a118ce9da454902e719 100644 (file)
@@ -1043,7 +1043,7 @@ bool OSLRenderServices::texture3d(ustring filename,
        bool status;
        if(filename.length() && filename[0] == '@') {
                int slot = atoi(filename.c_str() + 1);
-               float4 rgba = kernel_tex_image_interp_3d(kg, slot, P.x, P.y, P.z);
+               float4 rgba = kernel_tex_image_interp_3d(kg, slot, P.x, P.y, P.z, INTERPOLATION_NONE);
 
                result[0] = rgba[0];
                if(nchannels > 1)