摘要:
// 将设置放入此文件中以覆盖默认设置 { //-------- 搜索配置 -------- "search.exclude": { "**/node_modules": true, "**/bower_components": true, "**/.git": true, "**/.DS_Sto... 阅读全文
摘要:
1 Shader "LordShader/AnimateSprite" { 2 Properties { 3 _MainTint ("Diffuse Color", Color) = (1,1,1,1) //颜色属性,可以在u3d inspector面板控制该变量 4 _MainTex("Base (RGB)",2D) = "... 阅读全文
摘要:
_Time是个4维向量,跟Unity3D中的deltaTime(这是个一维的,数值)不同。 float4 _Time : Time (t/20, t, t*2, t*3), use to animate things inside the shaders。 fixed x= Speed * _Tim 阅读全文