目录索引
译文
在Cg和HLSL中,我们都可以找到有助于我们编程效果的内在函数。这样的函数对应于一般的数学运算,我们根据希望获得的结果在特定情况下使用它们。我们可以找到最常见的函数如下:
![图片[1]-《Unity着色器圣经》4.0.7. | Intrinsic functions.-软件开发学习笔记](https://gamedevfan.cn/wp-content/uploads/2025/05/image-47-1024x275.jpeg)
我们将在下面对这些函数进行定义.
原文对照
In both Cg and HLSL, we can find intrinsic functions that will help us program effects. Such functions correspond to general mathematical operations, and we use them in specific cases depending on the result we wish to obtain. Among the most common we can find:
![图片[1]-《Unity着色器圣经》4.0.7. | Intrinsic functions.-软件开发学习笔记](https://gamedevfan.cn/wp-content/uploads/2025/05/image-47-1024x275.jpeg)
Which we will define below.
© 版权声明
文章版权归作者所有,未经允许请勿转载。如若本站内容侵犯了原著者的合法权益,可联系我们进行处理。
THE END
暂无评论内容