Blender Git Loki

Git Commits -> Revision 002deb2

Revision 002deb2 by Brecht Van Lommel (master)
March 5, 2016, 13:33 (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: 002deb29cbc2fe1045189aef42bf61785c614cb8
Parent Commit: 40b748d
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)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021