大佬这个我也不知道,我是copy的内置shader,不过那个宏定义大概是开启求导什么的吧
优秀。主要是这个v_dist,这个没看懂,还有这个aa的值
加上 #extension GL_OES_standard_derivatives : enable 就可以使用 fwidth