Blender Git Loki
Git Commits -> Revision 8d7b98b
Revision 8d7b98b by Mike Erwin (master) May 19, 2017, 18:20 (GMT) |
OpenGL: cleanup material shader GLSL prefer vector math over scalar prefer * over / shorten vec3(x, x, x) to vec3(x) use clamp, max, etc. instead of custom logic declare loop vars as part of for loop spacing |
Commit Details:
Full Hash: 8d7b98bfd3965483db4d9de36937fd4b1fa66ff3
Parent Commit: a1c558e
Lines Changed: +40, -52
1 Modified Path:
/source/blender/gpu/shaders/gpu_shader_material.glsl (+40, -52) (Diff)