Transcendental mathematical functions (such as pow, exp, log, cos, sin, tan, etc) will tax the GPU greatly, so a good rule of thumb is to have no more than one such operation per fragment.
一些超越数学函数(如pow,exp,log,cos,sin,tan等)将增大GPU计算的负担,所以一个好的法则就是在每个片段中使用不多于一次的这种操作。
Transcendental mathematical functions (such as pow, exp, log, cos, sin, tan, etc) will tax the GPU greatly, so a good rule of thumb is to have no more than one such operation per fragment.
一些超越数学函数(如pow,exp,log,cos,sin,tan等)将增大GPU计算的负担,所以一个好的法则就是在每个片段中使用不多于一次的这种操作。
应用推荐