diff options
author | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2016-10-01 15:44:11 +0300 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2016-10-19 15:26:37 +0300 |
commit | 4da266f48c7a08ae869b244457c0699f37787e11 (patch) | |
tree | 38a219d8632ff0b18dc88ce5dfc1fec78962a062 /source/blender/gpu/shaders/gpu_shader_material.glsl | |
parent | 90e1adabbab6cbe9b56206a764943768b89a6aaa (diff) |
Fix wrong Cycles GLSL pointiness, still not supported but should be neutral 0.5.
Diffstat (limited to 'source/blender/gpu/shaders/gpu_shader_material.glsl')
-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 119bfb61fec..67da8201f66 100644 --- a/source/blender/gpu/shaders/gpu_shader_material.glsl +++ b/source/blender/gpu/shaders/gpu_shader_material.glsl @@ -2705,7 +2705,7 @@ void node_geometry( parametric = vec3(0.0); backfacing = (gl_FrontFacing) ? 0.0 : 1.0; - pointiness = 0.0; + pointiness = 0.5; } void node_tex_coord( |