Blender Git Loki

Git Commits -> Revision 553dd71

Revision 553dd71 by Brecht Van Lommel (master)
June 24, 2013, 13:46 (GMT)
Fix GLSL not showing shading properly on the backside of faces. Now it flips
the normal towards the viewer, seems to give consistent results with blender
internal, cycles, normal maps, etc.

Started from patch #32761 by Vitor Balbio, but changed it to do normal flipping
earlier so it solves all cases.

Commit Details:

Full Hash: 553dd71efbd69e15157d1b69cc5d4deb628ba7b0
SVN Revision: 57702
Parent Commit: 1a55b53
Lines Changed: +18, -7

2 Modified Paths:

/source/blender/gpu/intern/gpu_codegen.c (+15, -4) (Diff)
/source/blender/gpu/shaders/gpu_shader_material.glsl (+3, -3) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021