diff options
author | Mike Erwin <significant.bit@gmail.com> | 2017-05-19 21:20:08 +0300 |
---|---|---|
committer | Mike Erwin <significant.bit@gmail.com> | 2017-05-19 21:20:37 +0300 |
commit | 8d7b98bfd3965483db4d9de36937fd4b1fa66ff3 (patch) | |
tree | b63dd8148f6dcae9fcfe1895314175f9211f4f03 /source/blender/blenlib | |
parent | a1c558e19f6fa0dfa85dcda004426d8497c21ec7 (diff) |
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
Diffstat (limited to 'source/blender/blenlib')
0 files changed, 0 insertions, 0 deletions