Unity3d 内置世界变量
来源:互联网 发布:域名购买之后 编辑:程序博客网 时间:2024/06/07 11:52
// The following built-in uniforms (except _LightColor0) // are also defined in "UnityCG.cginc", // i.e. one could #include "UnityCG.cginc" uniform float4 _Time, _SinTime, _CosTime; // time valuesuniform float4 _ProjectionParams;// x = 1 or -1 (-1 if projection is flipped)// y = near plane; z = far plane; w = 1/far planeuniform float4 _ScreenParams; // x = width; y = height; z = 1 + 1/width; w = 1 + 1/heightuniform float4 unity_Scale; // w = 1/scale; see _World2Objectuniform float3 _WorldSpaceCameraPos;uniform float4x4 _Object2World; // model matrixuniform float4x4 _World2Object; // inverse model matrix // (all but the bottom-right element have to be scaled // with unity_Scale.w if scaling is important) uniform float4 _LightPositionRange; // xyz = pos, w = 1/rangeuniform float4 _WorldSpaceLightPos0; // position or direction of light sourceuniform float4 _LightColor0; // color of light source
0 0
- Unity3d 内置世界变量
- unity3d--内置shader详解
- Unity3d shader内置矩阵
- Unity3D内置运行函数
- Unity3D内置着色器
- unity3d内置着色器
- Unity3D世界的坐标系
- Unity3d:世界坐标系
- 用户自定义变量 内置变量
- ahk变量与内置变量
- perl内置变量
- Perl的内置变量
- nginx 内置变量大全
- PERL 内置变量 [转]
- Smarty 内置变量
- GLSL语言内置变量
- Nginx内置常用变量
- perl 内置变量介绍
- J2EE监听器和过滤器基础
- 获取聊天窗口内容
- 设计模式之中介模式
- 视域分析-转载
- Android实战技巧:ViewStub的应用
- Unity3d 内置世界变量
- How to Check and Enable/Disable Oracle Binary Options (Doc ID 948061.1)
- 海量数据库解决方案之视图合并应用原理
- View工作原理(四)view的layout过程
- 某客户在使用vmware将Oracle从物理机迁移到虚拟机碰到问题
- uploadify3.2.1使用详解
- 从零开始学iOS7开发系列教程2-To-do List软件开发实战(已完结)
- std::string 在字符串中查找第n个字符的位置
- Linux 学习小结(Linux文件权限与目录配置)