好久没写shader了,有些生疏,刚弄了个植物shader,分享一下。
先上图片:
重点需要注意的是fragment shader的透明部分
需要如此声明
Tags{ "LightMode" = "ForwardBase" "Queue" = "AlphaTest" "IgnoreProjector" = "True" "RenderType" = "Tra...
分类:
编程语言 时间:
2015-04-30 14:16:16
阅读次数:
323
索引快速全扫描(INDEX FAST FULL SCAN)和索引全扫描(INDEX FULL SCAN)的区别
分类:
其他好文 时间:
2015-04-29 21:16:50
阅读次数:
126
导致Hbase挂掉的场景HMasterHMaster会出现异常(执行abort())停止的场景如下:1.zk异常导致的master停止服务是最常见的场景,涉及操作包含但不限于以下:a)Zk链接超时,超时时间通过zookeeper.session.timeout配置,默认为3分钟,如果fail.fast.expired.active.master配置的值为f..
分类:
其他好文 时间:
2015-04-29 10:14:57
阅读次数:
684
innodb_fast_shutdown=0 , 1 , 2时的意思分别是0把buffer pool中的脏页刷到磁盘和合并insert buffer,当然包括redo log也会写到磁盘中。2只把redo log刷到磁盘中,然后关闭1关于1,它解释说,是先暂时略过一些flush操作,但没有具体说忽略...
分类:
数据库 时间:
2015-04-29 00:34:24
阅读次数:
252
原文地址:http://xiaochu.blog.51cto.com/1048262/1639613Genymotion是一款运行速度快,且易于使用的android模拟器,非常适合与android程序的开发和测试。【翻译自官网:Genymotion is a fast and easy-to-use...
分类:
移动开发 时间:
2015-04-28 13:53:49
阅读次数:
169
原文地址:http://www.phpernote.com/news/723.html 做 php 开发的应该都知道 php 运行模式概念吧,本文将要和大家分享的是关于php目前比较常见的五大运行模式:包括cgi 、fast-cgi、cli、isapi、apache模块的DLL ,下面作者就这...
Node.js® is a platform built onChrome's JavaScript runtimefor easily building fast, scalable network applications. Node.js uses an event-driven, non-b...
分类:
Web程序 时间:
2015-04-27 19:41:13
阅读次数:
114
To be honest, after I finished the teacher's lecture, I didn't quite understand the two topics (maybe due to the fast speed of teaching or something e...
分类:
其他好文 时间:
2015-04-27 14:46:50
阅读次数:
124
Descrtion:Please help Xiao Ming Write a Super Fast Function which result is like below:int cmp(int a, int b, int c){ SuperLong factorial = 1; for (int...
分类:
其他好文 时间:
2015-04-26 15:00:36
阅读次数:
171
一直找不到opencv stereo matching的根据和原理出处,下面这个文章贴了个链接,有时间看看:
Basically OpenCV
provides 2 methods to calculate a dense disparity
map:
cvFindStereoCorrespondenceBM: Fast (can
proce...
分类:
编程语言 时间:
2015-04-26 12:26:24
阅读次数:
1812