Blender Git Commit Log

Git Commits -> Revision b091542

August 8, 2019, 15:56 (GMT)
Avoid writing to input variables and using reserved function names.

Previously, we edited the input variables directly, OSL doesn't like that. Moreover, we used the name `noise`, which is already a built-in function, so we changed the function names to `noise_texture_*` instead.

Commit Details:

Full Hash: b091542fe91353c15dd7240ba7ce8ecf72d4011b
Parent Commit: 6c87aa8
Lines Changed: +46, -39

4 Modified Paths:

/intern/cycles/kernel/shaders/node_noise_texture.osl (+12, -8) (Diff)
/intern/cycles/kernel/svm/svm_noisetex.h (+26, -23) (Diff)
/source/blender/gpu/shaders/gpu_shader_material.glsl (+4, -4) (Diff)
/source/blender/nodes/shader/nodes/node_shader_tex_noise.c (+4, -4) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021