投射阴影方法一:添加一个单独的pass通道pass{ Tags{"LightMode" = "ShadowCaster"}}ShadowCaster:阴影投射器,可以投射阴影方法二:添加物体默认阴影投射FallBack "Diffuse"然后给光线开启阴影:效果如下:(效果图为添加平行光)如果要让我们的shader支持点光源阴影投射,就添加 FallBack "Diffuse"添加点光源后...
分类:
其他好文 时间:
2016-03-23 22:24:43
阅读次数:
553
首先我们要知道setTag方法是干什么的,SDK解释为 Tags Unlike IDs, tags are not used to identify views. Tags are essentially an extra piece of information that can be assoc
分类:
移动开发 时间:
2016-03-23 11:19:43
阅读次数:
260
当浏览器从 web 服务器请求服务时,可能会发生错误。从而有可能会返回下面的一系列状态消息: 原文来自:http://www.w3school.com.cn/tags/html_ref_httpmessages.asp
分类:
Web程序 时间:
2016-03-14 21:34:06
阅读次数:
236
一 从网页中提取关键词 $meta = get_meta_tags('http://www.emoticode.net/'); $keywords = $meta['keywords']; // Split keywords $keywords = explode(',', $keywords );
分类:
Web程序 时间:
2016-03-12 10:29:52
阅读次数:
203
struts2标签库主要包括一些html标签,一些控制标签 下面我将我用到的struts2标签列出来以供参考 首先,声明标签库的使用: <%@ taglib prefix="s" uri="/struts-tags" %> 一些常用标签: <s:property />标签。 它有一个value属性,
分类:
其他好文 时间:
2016-03-12 00:06:55
阅读次数:
255
MOBILE2 - Mobiles no tags You have been asked to buy a gift for your baby brother, Ike. However, you have noticed that Ike has a very particular taste
分类:
其他好文 时间:
2016-03-07 19:04:16
阅读次数:
203
trunk。就是主干,这个目录以下直接放源代码了,我们创建项目的时候,把项目源代码放到这个目录。import进svn branches。就是分支,以下可能有非常多trunk,比方trunk_1_0_1,表示trunk1.0.1版本号,就是改动1.0版本号存在的bug,trunk2.0等。就是在分支上
分类:
其他好文 时间:
2016-03-07 09:01:09
阅读次数:
117
HTML5 Input type: Traditionally presentational tags, the i, b, em, and strong tags have been given new semantic meanings: The i tag represents text in
分类:
Web程序 时间:
2016-03-06 19:13:02
阅读次数:
225
1.要使用Spring MVC提供的表单标签,首先需要在视图页面添加: <%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %> 2.form标签: <form:form modelAttribute="co
分类:
编程语言 时间:
2016-03-04 16:07:11
阅读次数:
299
SVN在项目开发过程中有两种模式: 第一种:Subversion有一个很标准的目录结构,是这样的。比如项目是proj,svn地址为svn://proj/,那么标准的svn布局svn://proj/|+-trunk+-branches+-tags 这是一个标准的布局,trunk为主开发目录,branc
分类:
其他好文 时间:
2016-03-04 10:28:16
阅读次数:
149