【UV动画Shader】 UV-Animatinoallows you to create effects such as waterfalls, rivers, lava flows, and so on. 首先,添加x、y速度属性。 还需要引用_MainTex的uv,如下: ...
分类:
其他好文 时间:
2014-09-18 16:03:24
阅读次数:
438
【RampTexture】 RampTexture(渐变纹理),可以是1D/2D纹理. This allows you to accentuate the surface's colors to fake the effects of more bounce light or a more ad.....
分类:
其他好文 时间:
2014-09-18 13:04:43
阅读次数:
250
【Half Lambert】 Half Lambert was a technique created by Valve as a way of getting the lighting to show the surface of an object in low-light areas. It....
分类:
其他好文 时间:
2014-09-18 13:03:03
阅读次数:
200
【SurfaceShader自定义光照】1、在pragma中添加自定义光照函数名: #pragma surface surf BasicDiffuse2、实现自定义光照函数。下面就是Lambert光照模型。 _LightColor0是Unity提供的变量。3、有3种类型的光照函数可以选择: ...
分类:
其他好文 时间:
2014-09-17 20:13:42
阅读次数:
271
【What is _MainTex_ST ?】 在Unity自带的Unlit/Texture中,有引用到float4 _MainTex_ST,如下:// Unlit shader. Simplest possible textured shader.// - no lighting// - no ....
分类:
其他好文 时间:
2014-09-16 14:14:50
阅读次数:
795
详细讲解如何进行Tangent Space的计算,并最终实现Bump Mapping...
分类:
移动开发 时间:
2014-09-13 22:49:36
阅读次数:
324
shader has error or is not supported by your graphics card
分类:
其他好文 时间:
2014-09-12 11:48:03
阅读次数:
197
SurfaceHolder.Callback
(2012-03-09 09:15:44)
转载▼
标签:
杂谈
分类: android
一 前文概要说明
首先得简单说明一下Surface与SurfaceHolder.Callback之间的联系。
Surface是android的一个重要元素,...
分类:
移动开发 时间:
2014-09-09 16:18:09
阅读次数:
345
先说一下题目,ArcMap中没有由栅格直接生成等值面的功能,但由栅格直接生成等值线的功能存在,可通过如下方式得到等值面:1.提取等值线由dem直接提取等值线:Spatial Analyst Tools—— Surface——Contour,可由dem得到等值线;2.得到等值面a.用准备好的区域的边界...
分类:
其他好文 时间:
2014-09-08 10:48:16
阅读次数:
367
详细讲解Bump Mapping中关于将高度图转化为法线贴图的过程。...
分类:
移动开发 时间:
2014-09-07 12:21:15
阅读次数:
294