unity-standard-shader-mobile icon indicating copy to clipboard operation
unity-standard-shader-mobile copied to clipboard

Code redundancy

Open nylonee opened this issue 8 years ago • 0 comments

A lot of the code is redundant, especially between lightmapped and non-lightmapped functions.

The defines can also be improved, especially where they depend on each other, eg the NORMAL_ON define won't work without PHONG_ON defined.

nylonee avatar Dec 21 '16 06:12 nylonee