原创 VSM
float EPLISON = 0.00001; float chebychevUpperBound(vec4 fragPosLightSpace) { vec3 projCoords = fragPosLightSpace
原创 Timeline獲取Cinemachine相關
public override void OnBehaviourPlay(Playable playable, FrameData info) { if (!Application.isPlaying)
原创 Lz4的編譯和使用
Lz4:Git Source Lz4 Release:Git Release Lz4源碼編譯: 找到lz4\visual,可以選擇VS2017和VS2010,本人使用的是VS2017 編譯:會報一些.h找不到的錯誤,修改屬性,VC++目錄
原创 NodeJs安裝
https://www.cnblogs.com/goldlong/p/8027997.html
原创 Jenkins自動化部署報Failed to get socket connection from
Failed to get socket connection from UnityShaderCompiler.exe shader compiler 在使用jenkins對Unity進行自動打包部署時,遇到了上面的問題。從搜索結果來
原创 mingw32編譯lua
cd到lua/src目錄 mingw32-make mingw
原创 SublimeText3配置UnityShader編輯環境
參考:https://www.cnblogs.com/meteoric_cry/p/7880514.html 工具Unity-Shader:https://github.com/cjsjy123/Unity-Shader 實現功能 1.U
原创 Angle和角度轉換
public static Vector3 RadianToVector3(float radian) { return new Vector3((float)System.Math.Cos(radian), 0, (float
原创 ToLua創建Action/Delegate
Action的使用 --callback function local func = function(ref,obj) print("rer.IAssetRef = "..ref.AssetName.." obj =
原创 tolua添加pbc
準備 1.tolua_runtime:https://github.com/topameng/tolua_runtime 2.pbc:https://github.com/cloudwu/pbc 3.msys2:本人使用的事配置好的msy
原创 lua5.1實現string.pack的int to string的pack和unpack
local pack_little = string.pack("<I2",259) local pack_bigger = string.pack(">I2",259) print("pack_little = "..pack_lit
原创 Lua Table實現deep copy
local function deepcopy(orig) local orig_type = type(orig) local copy if orig_type == 'table' then
原创 Lua bit庫擴展
LuaJIT中添加了bit庫的擴展,bit庫。一共有12個方法的擴展,依次是 bit.tobit 轉成位格式 bit.tohex 轉出16進制格式 bit.bnot 取反 bit.band 與操作 bit.bor 或
原创 打開Excle出現配置進度解決方法【WPS罪魁禍首】
轉載自:http://blog.sina.com.cn/s/blog_1358fe4a70102xo9o.html網上的最多的解決方案如果解決不了,想一下最近是不是安裝或者卸載過WPS,以下是WPS導致配置進度的解決方案。安裝Office