Blender Git Loki
Git Commits -> Revision 1d09197
Revision 1d09197 by Sergey Sharybin (opensubdiv-modifier) July 3, 2014, 10:32 (GMT) |
Implement smooth shading for OpenSubdiv This is rather an experiment commit which places all the needed bits for the smooth shading in viewport. Approach is similar to the simpleCpu example application, which computes lo-res normal on CPU and passes them to OpenSubdiv. Then the shader then have access to vertex normals and passes them to the fragment shader. At this point all the shading is smooth currently, flat shading will be landed when all the material from Blender are taken into account. |
Commit Details:
Full Hash: 1d09197f52f3a8adc7d213a7c66aa45de1b9db29
Parent Commit: cad3a7d
Lines Changed: +84, -20