今天写shader流光效果,shader代码少了个括号,unity shader compiler卡死且不提示原因 好在找到了原因,shader 代码如下,原理是提高经过的颜色亮度 void surf(Input IN, inout SurfaceOutputStandard o) { // Albedo comes from a texture tinted by color fixed2 scrolledUV = IN.uv_MainTex; fixed xScrollValue = 5 *…