Blender Git Commit Log

Git Commits -> Revision 199d7dc

January 20, 2017, 10:25 (GMT)
Cycles: Add smoothing option to the Brick Texture

This option allows to create a smoother transition between Bricks and Mortar - 0 applies no smoothing, and 1 smooths across the whole mortar width.
Mainly useful for displacement textures.

The new default value for the smoothing option is 0.1 to give some smoothing that helps with antialiasing, but existing nodes are loaded with smoothing 0 to preserve compatibility.

Reviewers: sergey, dingto, juicyfruit, brecht

Reviewed By: brecht

Subscribers: Blendify, nutel

Differential Revision: https://developer.blender.org/D2230

Commit Details:

Full Hash: 199d7dc70dc446cc2497d473451c4b20b1835411
Parent Commit: e921186
Committed By: Sergey Sharybin
Lines Changed: +54, -18

5 Modified Paths:

/intern/cycles/kernel/shaders/node_brick_texture.osl (+15, -6) (Diff)
/intern/cycles/kernel/svm/svm_brick.h (+22, -10) (Diff)
/intern/cycles/render/nodes.cpp (+9, -1) (Diff)
/intern/cycles/render/nodes.h (+1, -1) (Diff)
/source/blender/nodes/shader/nodes/node_shader_tex_brick.c (+7, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021