diff options
author | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2016-10-01 15:44:11 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2016-10-01 15:47:05 +0300 |
commit | 15e756c5841db71d1b0c308f0b9c12e468f137bd (patch) | |
tree | 99db99480ac945dc1962edb013b3e6fb951799f9 /source/blender/gpu/shaders | |
parent | 40eedd5df9083ce54c38c6307946488a1fa8aae0 (diff) |
Fix wrong Cycles GLSL pointiness, still not supported but should be neutral 0.5.
Diffstat (limited to 'source/blender/gpu/shaders')
-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( |