E: Could not open lock file /var/lib/dpkg/lock-frontend -open(2: No such file or directory)
E: Unable to acquire the dpkg frontend lock(/var/lib/dpkg/lock-frontend), are you root?
TexelSize在制作玻璃折射效果时会用到。 // Get the normal in tangent space
fixed3 bump UnpackNormal(tex2D(_BumpMap, i.uv.zw)); // Compute the offset in tangent space
float2 offset bump.xy * _Distortion * _RefractionTex_TexelSize.xy;
i.scrPos.xy offset * i…
d e t ( a ) det(a) det(a)表示求方阵的秩 t r a c e ( a ) trace(a) trace(a)表示求方阵对角线之和 i n v ( a ) inv(a) inv(a)表示求方阵的逆矩阵 t r i u ( a ) triu(a) triu(a)表示求矩阵的上三角部分,其余变成0 t r i l ( a ) tril(a) tril(a)表示求矩阵的…