Blender Git Loki
Git Commits -> Revision 48e2a15
Revision 48e2a15 by Brecht Van Lommel (master) November 2, 2021, 17:56 (GMT) |
Fix T77681, T92634: noise texture artifacts with high detail We run into float precision issues here, clamp the number of octaves to one less, which has little to no visual difference. This was empirically determined to work up to 16 before, but with additional inputs like roughness only 15 appears to work. Also adds misisng clamp for the geometry nodes implementation. |
Commit Details:
Full Hash: 48e2a15160d276c8080cd8d4f6dc0ba752dbb410
Parent Commit: 978f2cb
Lines Changed: +109, -59
10 Modified Paths:
/intern/cycles/kernel/osl/shaders/node_musgrave_texture.osl (+1, -1) (Diff)
/intern/cycles/kernel/osl/shaders/node_noise.h (+4, -4) (Diff)
/intern/cycles/kernel/svm/fractal_noise.h (+4, -4) (Diff)
/intern/cycles/kernel/svm/musgrave.h (+1, -1) (Diff)
/source/blender/blenlib/intern/noise.cc (+72, -22) (Diff)
/source/blender/gpu/shaders/material/gpu_shader_material_fractal_noise.glsl (+4, -4) (Diff)
/source/blender/gpu/shaders/material/gpu_shader_material_tex_musgrave.glsl (+20, -20) (Diff)
/source/blender/nodes/shader/nodes/node_shader_tex_musgrave.cc (+1, -1) (Diff)
/source/blender/nodes/shader/nodes/node_shader_tex_noise.cc (+1, -1) (Diff)
/source/blender/nodes/shader/nodes/node_shader_tex_wave.cc (+1, -1) (Diff)
/intern/cycles/kernel/osl/shaders/node_noise.h (+4, -4) (Diff)
/intern/cycles/kernel/svm/fractal_noise.h (+4, -4) (Diff)
/intern/cycles/kernel/svm/musgrave.h (+1, -1) (Diff)
/source/blender/blenlib/intern/noise.cc (+72, -22) (Diff)
/source/blender/gpu/shaders/material/gpu_shader_material_fractal_noise.glsl (+4, -4) (Diff)
/source/blender/gpu/shaders/material/gpu_shader_material_tex_musgrave.glsl (+20, -20) (Diff)
/source/blender/nodes/shader/nodes/node_shader_tex_musgrave.cc (+1, -1) (Diff)
/source/blender/nodes/shader/nodes/node_shader_tex_noise.cc (+1, -1) (Diff)
/source/blender/nodes/shader/nodes/node_shader_tex_wave.cc (+1, -1) (Diff)