Blender Git Commit Log

Git Commits -> Revision 176f010

Revision 176f010 by Sergey Sharybin (master)
November 4, 2014, 11:55 (GMT)
Fix T42445: Clamp flag has no effect on result value in Math and MixRGB shader nodes (Blender Render)

Quite striaghtforward implementation, with the only weird thing that for some reason
my video driver wasn't happy with calling the function "clamp" giving some weirdo
shader compilation error messages.

Called the GPU function clamp_val which can handle float and vec3.

Commit Details:

Full Hash: 176f0102eaacc9f9caa5de24326137a8c3fa0f89
Parent Commit: 988b3d7
Lines Changed: +30, -4

3 Modified Paths:

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