cocos2d/cocos2d-x — pull request #7669 by codesuki (2014-08-05 10:03:12+00:00)
Title: Enable easy usage of alpha test builtin shader.

Added setAlphaTestValue() to Director and setup built-in uniform in CCShader.
Can be used together with DepthTest to achieve better batching.