Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrecht Van Lommel <brechtvanlommel@gmail.com>2016-10-01 15:44:11 +0300
committerBrecht Van Lommel <brechtvanlommel@gmail.com>2016-10-01 15:47:05 +0300
commit15e756c5841db71d1b0c308f0b9c12e468f137bd (patch)
tree99db99480ac945dc1962edb013b3e6fb951799f9 /source/blender/gpu
parent40eedd5df9083ce54c38c6307946488a1fa8aae0 (diff)
Fix wrong Cycles GLSL pointiness, still not supported but should be neutral 0.5.
Diffstat (limited to 'source/blender/gpu')
-rw-r--r--source/blender/gpu/shaders/gpu_shader_material.glsl2
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(