Blender Git Commit Log

Git Commits -> Revision 7673867

Revision 7673867 by Clément Foucault (master)
August 10, 2018, 14:16 (GMT)
GPUMaterial: Fix color ramp node with constant interpolation

Color ramp with constant interpolation must bypass texture filtering and
use nearest neighboor sampling in order to appear correctly sharp.

This patch use a GLSL hack to use nearest sampling on thoses particular
color band.

Commit Details:

Full Hash: 767386736070cfe7294e217f3734c1e7b736f4ae
Parent Commit: 2cbffc8
Lines Changed: +15, -2

2 Modified Paths:

/source/blender/gpu/shaders/gpu_shader_material.glsl (+6, -0) (Diff)
/source/blender/nodes/shader/nodes/node_shader_valToRgb.c (+9, -2) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021