6.30
This commit is contained in:
4
3Resources/游戏开发/性能优化/Batch & DrawCall.md
Normal file
4
3Resources/游戏开发/性能优化/Batch & DrawCall.md
Normal file
@@ -0,0 +1,4 @@
|
||||
https://zhuanlan.zhihu.com/p/68530142 Batch的前世今生
|
||||
|
||||
但是因为Pass不同
|
||||
透明度不同,可能需要半透明混合而另外一个不需要,就会形成两次[[DrawCall]]渲染层级不同等等原因
|
||||
1
3Resources/游戏开发/性能优化/Batch.md
Normal file
1
3Resources/游戏开发/性能优化/Batch.md
Normal file
@@ -0,0 +1 @@
|
||||
一个Batch即为同一批材质的游戏对象
|
||||
1
3Resources/游戏开发/性能优化/DrawCall.md
Normal file
1
3Resources/游戏开发/性能优化/DrawCall.md
Normal file
@@ -0,0 +1 @@
|
||||
CPU调用一次GPU即为一次
|
||||
0
3Resources/游戏开发/性能优化/Mesh/Mesh Baker插件.md
Normal file
0
3Resources/游戏开发/性能优化/Mesh/Mesh Baker插件.md
Normal file
3
3Resources/游戏开发/性能优化/关于Unity加载优化,你可能遇到这些问题 - 知乎.md
Normal file
3
3Resources/游戏开发/性能优化/关于Unity加载优化,你可能遇到这些问题 - 知乎.md
Normal file
@@ -0,0 +1,3 @@
|
||||
[关于Unity加载优化,你可能遇到这些问题 - 知乎](https://zhuanlan.zhihu.com/p/23733044)400 Model Not Exist
|
||||
|
||||
sk-da030f4a28444c8094d9db8b7655b4f7
|
||||
10
3Resources/游戏开发/性能优化/并行计算/CPU/SIMD(单指令多数据).md
Normal file
10
3Resources/游戏开发/性能优化/并行计算/CPU/SIMD(单指令多数据).md
Normal file
@@ -0,0 +1,10 @@
|
||||
|
||||
|
||||
- 一个普通加法指令,一次只能对两个数执行一个加法操作。
|
||||
- 一个 SIMD 加法指令,一次可以对两个数组(向量)执行加法操作。
|
||||
- 一个寄存器存多个数据同时批量处理
|
||||
|
||||
|
||||
###### CSharp中的SIMD
|
||||
位于 System.Numerics 下的Vector即可开始进行硬件级别上的处理
|
||||
Vector<T>.Count为寄存器能容纳的位数
|
||||
0
3Resources/游戏开发/性能优化/并行计算/GPU/Compute Shader.md
Normal file
0
3Resources/游戏开发/性能优化/并行计算/GPU/Compute Shader.md
Normal file
8
3Resources/游戏开发/性能优化/并行计算/GPU/SIMT.md
Normal file
8
3Resources/游戏开发/性能优化/并行计算/GPU/SIMT.md
Normal file
@@ -0,0 +1,8 @@
|
||||
|
||||
|
||||
单指令多线程
|
||||
一个指令 会有多条线程运行相同的指令
|
||||
英伟达会给出多个修饰符,例如:Bit Mask可以指定哪些线程干活 哪些空转,既可支持分支操作
|
||||
每个线程会进入锁步(lock-step)
|
||||
线程会进入被遮掩(be masked out)
|
||||
被遮掩的原因,例如:if(false) 或者循环次数不一致
|
||||
6
3Resources/游戏开发/性能优化/批量渲染 数字UI.md
Normal file
6
3Resources/游戏开发/性能优化/批量渲染 数字UI.md
Normal file
@@ -0,0 +1,6 @@
|
||||
[基于DOTS+DrawMeshInstancedIndirect的伤害数字渲染方案1:实现思路 - 知乎](https://zhuanlan.zhihu.com/p/718118444)
|
||||
|
||||
|
||||
[Unity3d HUD UI高性能方案 - 知乎](https://zhuanlan.zhihu.com/p/624580377)
|
||||
|
||||
[《重返帝国》HUD方案分析和实现 - 知乎](https://zhuanlan.zhihu.com/p/636610023)
|
||||
Reference in New Issue
Block a user