shader避免使用除法和if的原因

转载自:https://zhuanlan.zhihu.com/p/333613824

原文地址:https://www.cnblogs.com/mcyushao/p/14690745.html