- 博客(6)
- 收藏
- 关注
翻译 Privacy policy
This app respects and protects the privacy of all users who use the service. In order to provide you with more accurate and personalized services, this app will use and disclose your personal informat...
2019-06-14 13:57:32
186
转载 Unity Shader : logo闪光效果 源代码
Shader "myPractices/LogoShader"{ Properties { _MainTex ("Texture", 2D) = "white" {} } SubShader { Tags{"Queue"="Transparent" "IgnoreProjector"="True" "RenderType"=&q
2018-10-08 15:43:09
984
转载 unity shader水波源码
// Upgrade NOTE: replaced '_Object2World' with 'unity_ObjectToWorld' Shader "ylq/Water Wave" { Properties { _Color ("Main Color", Color) = (0, 0.15, 0.115, 1)//物体原本的颜色 _MainTex ("Base (...
2018-10-08 15:42:08
602
转载 Unity Shader 数学函数
CG标准函数库的函数只要分为这几类:数学函数,几何函数,纹理映射函数,偏导数函数;1:数学函数 数学函数用于执行数学上的常用计算,包括:三角函数,幂函数,向量和矩阵的操作函数。这些函数都被重载,以支持标量和向量作为输入参数。abs(x) 返回输入参数的绝对值; acos(x) 反余弦函数,输入参数范围[-1,1],返回[0,π]区间的角度值; all(x) 如果输入的参数均不为0,则...
2018-10-08 15:40:43
3875
1
转载 Unity Shader内置函数
内置shader辅助函数定义在UnityCG.cginc文件中顶点转换函数: Function: Description: float4 UnityObjectToClipPos(float3 pos) Transforms a point from object space to the camera’s clip s...
2018-10-08 15:39:08
2119
1
转载 GameObject.FindGameObjectsWithTag 通过标签查找游戏对象列表
GameObject.FindGameObjectsWithTag 通过标签查找游戏对象列表JavaScript ⇒ static function FindGameObjectsWithTag(tag: string): GameObject[];C# ⇒ static GameObject[] FindGameObjectsWithTag(string tag);Param
2016-12-22 13:03:09
9728
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人