阅读背景:

报错解决 unable to unroll loop, loop does not appear to terminate in a timely manner (994 iterations) or unrolled loop is too large, use the [unroll(n)] attribute to force an exact higher number

来源:互联网 

在 Unity 写 Shader 的时候,在一个循环里面使用了 tex2D 函数,类似与下面这样:在 Unity 写 Shader 的时候,在一个循环里面使用了 tex2D 函数,类似与下面这




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: