Files
obsidian-notes/log_learn/shader入门精要.md
zzz 13acdc6b62 同步
同步
2023-04-14 00:19:11 +08:00

18 lines
580 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

1、模型空间到切线空间的推导
精要如果一个变换中仅存在平移和旋转那么这个变换的逆矩阵就等于它的转置矩阵M = (M^-1)^T
https://www.jianshu.com/p/4d742fec15ca
2、切线空间的优势
--todo
3、渲染队列
在Background通道渲染背景 、 Geometry里渲染不透明 、 AlphaTest中渲染需要透明测试的
这三个通道都开启了深度测试和深度写入
建议Transparent中写关闭深度写入开启了透明混合的shader该通道还会按从后往前顺序渲染
Overlay渲染后处理
4、pass