博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
Unity Shader _Time 的单位
阅读量:7115 次
发布时间:2019-06-28

本文共 319 字,大约阅读时间需要 1 分钟。

 

名称 类型 说明
_Time float4 t 是自该场景加载开始所经过的时间,4个分量分别是 (t/20, t, t*2, t*3)
_SinTime float4 t 是时间的正弦值,4个分量分别是 (t/8, t/4, t/2, t)
_CosTime float4 t 是时间的余弦值,4个分量分别是 (t/8, t/4, t/2, t)
unity_DeltaTime float4 dt 是时间增量,4个分量的值分别是(dt, 1/dt, smoothDt, 1/smoothDt)

注意:这里的 t 得到的时间单位是——秒

转载于:https://www.cnblogs.com/softcat/p/6296136.html

你可能感兴趣的文章
[转载]ASP.NET伪静态页面的实现和伪静态在IIS7.0中的配置
查看>>
【转】Android源代码编译命令m/mm/mmm/make分析--不错
查看>>
C语言中不定参数函数的使用
查看>>
Ubuntu - No space left on device Is it a lie or have I run out of inodes
查看>>
解决Agent admitted failure to sign using the kye with ssh
查看>>
Linux Doxygen的安装和使用
查看>>
android adb介绍
查看>>
【SQL】SQL中笛卡尔积、内连接、外连接的数据演示
查看>>
HTTP解析
查看>>
MemCache超详细解读
查看>>
python numpy 教程
查看>>
手机web如何实现多平台分享
查看>>
策略模式和观察者模式
查看>>
详解CALayer 和 UIView的区别和联系
查看>>
eclipse中报错:java.lang.OutOfMemoryError: Java heap space
查看>>
Ubuntu 16.04 grub rescue 模式下修复 grub
查看>>
【Spring】24、<load-on-startup>0</load-on-startup>配置
查看>>
L0 Regularization
查看>>
使用JDBC向Kudu表插入中文数据乱码(转载)
查看>>
spf13-vim安装与使用
查看>>