diff options
author | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2013-05-10 20:57:17 +0400 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2013-05-10 20:57:17 +0400 |
commit | eaa6479ae3482b643e6e5d553f09b1a1100b48ee (patch) | |
tree | a7fcb0702a4b463df1777f395575b4b5d0d9386d /source/blender/gpu | |
parent | 2f9f3dd5903eeec514640de05a45cfd21d168397 (diff) |
Cycles: bump node changes to add a Distance input that controls the overall displacement
distance, and an Invert option to invert the bump effect.
Diffstat (limited to 'source/blender/gpu')
-rw-r--r-- | source/blender/gpu/shaders/gpu_shader_material.glsl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/gpu/shaders/gpu_shader_material.glsl b/source/blender/gpu/shaders/gpu_shader_material.glsl index d9f5d99f950..fd519a86fc9 100644 --- a/source/blender/gpu/shaders/gpu_shader_material.glsl +++ b/source/blender/gpu/shaders/gpu_shader_material.glsl @@ -2260,7 +2260,7 @@ void node_object_info(out vec3 location, out float object_index, out float mater random = 0.0; } -void node_bump(float strength, float height, vec3 N, out vec3 result) +void node_bump(float strength, float dist, float height, vec3 N, out vec3 result) { result = N; } |