Blender Git Commit Log
Git Commits -> Revision 054950d
Revision 054950d by Bartosz Moniewski (master) April 9, 2020, 19:48 (GMT) |
Shading: add Roughness input to Noise and Wave texture nodes Currently in fractal_noise functions, each subsequent octave doubles the frequency and reduces the amplitude by half. This patch introduces Roughness input to Noise and Wave nodes. This multiplier determines how quickly the amplitudes of the subsequent octaves decrease. Value of 0.5 will be the default, generating identical noise we had before. Values above 0.5 will increase influence of each octave resulting in more "rough" noise, most interesting pattern changes happen there. Values below 0.5 will result in more "smooth" noise. Differential Revision: https://developer.blender.org/D7065 |
Commit Details:
Full Hash: 054950def946ed7638c2d9c18ef850cbba94d9d7
Parent Commit: f3433fc
Committed By: Brecht Van Lommel
Lines Changed: +272, -181
13 Modified Paths:
/intern/cycles/kernel/shaders/node_noise.h (+28, -24) (Diff)
/intern/cycles/kernel/shaders/node_noise_texture.osl (+24, -20) (Diff)
/intern/cycles/kernel/shaders/node_wave_texture.osl (+6, -3) (Diff)
/intern/cycles/kernel/svm/svm_fractal_noise.h (+28, -24) (Diff)
/intern/cycles/kernel/svm/svm_noisetex.h (+60, -31) (Diff)
/intern/cycles/kernel/svm/svm_wave.h (+19, -13) (Diff)
/intern/cycles/render/nodes.cpp (+27, -19) (Diff)
/intern/cycles/render/nodes.h (+2, -2) (Diff)
/source/blender/gpu/shaders/material/gpu_shader_material_fractal_noise.glsl (+28, -24) (Diff)
/source/blender/gpu/shaders/material/gpu_shader_material_tex_noise.glsl (+44, -20) (Diff)
/source/blender/gpu/shaders/material/gpu_shader_material_tex_wave.glsl (+4, -1) (Diff)
/source/blender/nodes/shader/nodes/node_shader_tex_noise.c (+1, -0) (Diff)
/source/blender/nodes/shader/nodes/node_shader_tex_wave.c (+1, -0) (Diff)
/intern/cycles/kernel/shaders/node_noise_texture.osl (+24, -20) (Diff)
/intern/cycles/kernel/shaders/node_wave_texture.osl (+6, -3) (Diff)
/intern/cycles/kernel/svm/svm_fractal_noise.h (+28, -24) (Diff)
/intern/cycles/kernel/svm/svm_noisetex.h (+60, -31) (Diff)
/intern/cycles/kernel/svm/svm_wave.h (+19, -13) (Diff)
/intern/cycles/render/nodes.cpp (+27, -19) (Diff)
/intern/cycles/render/nodes.h (+2, -2) (Diff)
/source/blender/gpu/shaders/material/gpu_shader_material_fractal_noise.glsl (+28, -24) (Diff)
/source/blender/gpu/shaders/material/gpu_shader_material_tex_noise.glsl (+44, -20) (Diff)
/source/blender/gpu/shaders/material/gpu_shader_material_tex_wave.glsl (+4, -1) (Diff)
/source/blender/nodes/shader/nodes/node_shader_tex_noise.c (+1, -0) (Diff)
/source/blender/nodes/shader/nodes/node_shader_tex_wave.c (+1, -0) (Diff)