Blender Git Loki
Git Commits -> Revision 4f3178e
Revision 4f3178e by Brecht Van Lommel (blender-v2.77-release, fracture_modifier, fracture_modifier-master, temp-fracture-modifier-2.8) April 5, 2016, 08:36 (GMT) |
Fix T47670: cycles GLSL incorrect layer weight / fresnel. World space and view space normals were mixed up, we should only convert from world to view space if a custom normal is connected, otherwise it is already in view space. |
Commit Details:
Full Hash: 4f3178e4a5424b10653c908f86465791b09077c3
Parent Commit: 22a2853
Committed By: Sergey Sharybin
Lines Changed: +31, -9
13 Modified Paths:
/source/blender/gpu/shaders/gpu_shader_material.glsl (+5, -7) (Diff)
/source/blender/nodes/shader/nodes/node_shader_bsdf_anisotropic.c (+2, -0) (Diff)
/source/blender/nodes/shader/nodes/node_shader_bsdf_diffuse.c (+2, -0) (Diff)
/source/blender/nodes/shader/nodes/node_shader_bsdf_glass.c (+2, -0) (Diff)
/source/blender/nodes/shader/nodes/node_shader_bsdf_glossy.c (+2, -0) (Diff)
/source/blender/nodes/shader/nodes/node_shader_bsdf_refraction.c (+2, -0) (Diff)
/source/blender/nodes/shader/nodes/node_shader_bsdf_toon.c (+2, -0) (Diff)
/source/blender/nodes/shader/nodes/node_shader_bsdf_translucent.c (+2, -0) (Diff)
/source/blender/nodes/shader/nodes/node_shader_bsdf_velvet.c (+2, -0) (Diff)
/source/blender/nodes/shader/nodes/node_shader_bump.c (+2, -0) (Diff)
/source/blender/nodes/shader/nodes/node_shader_fresnel.c (+3, -1) (Diff)
/source/blender/nodes/shader/nodes/node_shader_layer_weight.c (+3, -1) (Diff)
/source/blender/nodes/shader/nodes/node_shader_subsurface_scattering.c (+2, -0) (Diff)
/source/blender/nodes/shader/nodes/node_shader_bsdf_anisotropic.c (+2, -0) (Diff)
/source/blender/nodes/shader/nodes/node_shader_bsdf_diffuse.c (+2, -0) (Diff)
/source/blender/nodes/shader/nodes/node_shader_bsdf_glass.c (+2, -0) (Diff)
/source/blender/nodes/shader/nodes/node_shader_bsdf_glossy.c (+2, -0) (Diff)
/source/blender/nodes/shader/nodes/node_shader_bsdf_refraction.c (+2, -0) (Diff)
/source/blender/nodes/shader/nodes/node_shader_bsdf_toon.c (+2, -0) (Diff)
/source/blender/nodes/shader/nodes/node_shader_bsdf_translucent.c (+2, -0) (Diff)
/source/blender/nodes/shader/nodes/node_shader_bsdf_velvet.c (+2, -0) (Diff)
/source/blender/nodes/shader/nodes/node_shader_bump.c (+2, -0) (Diff)
/source/blender/nodes/shader/nodes/node_shader_fresnel.c (+3, -1) (Diff)
/source/blender/nodes/shader/nodes/node_shader_layer_weight.c (+3, -1) (Diff)
/source/blender/nodes/shader/nodes/node_shader_subsurface_scattering.c (+2, -0) (Diff)