_Time是个4维向量,跟Unity3D中的deltaTime(这是个一维的,数值)不同。

float4 _Time : Time (t/20, t, t*2, t*3), use to animate things inside the shaders。

fixed x= Speed * _Time;  等价于 fixed x= Speed * _Time.x;

Time float4 Time (t/20, t, t*2, t*3), use to animate things inside the shaders.
_SinTime float4 Sine of time: (t/8, t/4, t/2, t).
_CosTime float4 Cosine of time: (t/8, t/4, t/2, t).
unity_DeltaTime float4 Delta time: (dt, 1/dt, smoothDt, 1/smoothDt).
_ProjectionParams float4 x is 1.0 (or –1.0 if currently rendering with a flipped projection matrix), y is the camera’s near plane, z is the camera’s far plane and w is 1/FarPlane.
_ScreenParams float4 x is the current render target width in pixels, y is the current render target height in pixels, z is 1.0 + 1.0/width and w is 1.0 + 1.0/height.

参考: https://docs.unity3d.com/462/Documentation/Manual/SL-BuiltinValues.html

最新文章

  1. BZOJ4078 : [Wf2014]Metal Processing Plant
  2. [codevs 1995]黑魔法师之门(并查集)
  3. linux 多个文件中查找字符串
  4. DPI 导致的问题
  5. 使用Script元素发送JSONP请求
  6. Codeforces245H - Queries for Number of Palindromes(区间DP)
  7. eval函数
  8. 如何在webstrom中配置eslint和less
  9. perl 学习笔记
  10. (二)给IE6-IE9中的input添加HTML5新属性-placeholder
  11. SOA一些资料
  12. python_如何修改装饰器中参数?
  13. CDI服务
  14. P1316 丢瓶盖--(二分答案)
  15. mysql概述
  16. React.js 入门与实战之开发适配PC端及移动端新闻头条平台课程上线了
  17. eclipse中用maven创建web项目
  18. python实现排序算法二:归并排序
  19. fastscript例子一
  20. nginx把两个不同的网站挂到同一台服务器的80端口上

热门文章

  1. c#读取文本文档实践2-计算商品价格
  2. C#基础之类、组件和命名空间(二)
  3. 生成Apk遇到的问题
  4. javascript splice
  5. php源码编译常见错误解决方案
  6. 爬虫学习----pattern
  7. Interview----链表的倒数第K个元素
  8. OC多线程管理
  9. Web前端学习笔记(001)
  10. dedecms list 实现noflag