Blender Git Commit Log

Git Commits -> Revision b2974d7

Revision b2974d7 by Lukas Stockner (master)
October 30, 2016, 00:16 (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: b2974d7ab79a257f8628c24c05d43da25791018d
Parent Commit: 5aa6a2e
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