码迷,mamicode.com
首页 >  
搜索关键字:lighting    ( 163个结果
What is _MainTex_ST ?
【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
uGUI练习(三) Light UI
前言 在我之前的文章 Unity 2D Sprite Lighting ,讲到在2D Sprite中可以使用灯光,非常高兴的是,在Unity的新UI系统中我们也可以使用灯光 步骤 1、创建一个Panel,默认是没有材质的 2、为Panel选择 Default-Diffuse 材质 3、选择完材质之后...
分类:其他好文   时间:2014-09-15 15:48:09    阅读次数:195
[base]Mipmapping Normal Maps
来自nvidia的小短文,处理远处normal map不正确的计算导致的specular lighting,反射等闪烁的问题。 核心思想是把远处平均后的normal的长度作为衡量normal变化率的标志,基于此来修正用normal map计算的东东(specular lighting,env reflection...)。...
分类:移动开发   时间:2014-09-13 10:38:35    阅读次数:264
UVA 11400 Lighting System Design DP
最优情况不可能跨过一种灯泡,为什么? 因为如果A换成C是划算的那么如果A换成B是不划算的那么可以将A和B都换成C,肯定是划算的= =然后就是简单DP了。#include #include #include #include #include #include #include #include #i...
分类:其他好文   时间:2014-09-11 23:35:32    阅读次数:245
UVa 11400 Lighting System Design(DP 照明系统设计)
题意  设计某个地方的照明系统  一共需要n种不同类型的灯泡  接着输入 每种灯泡的电压v  对应电压电源的价格k  每个灯泡的价格c   需要这种灯泡的数量l   电压低的灯泡可以用电压高的灯泡替换   每种灯泡只需要一个对应的电源   求完成这个照明系统的最少花费 比较简单的DP  容易知道 当要替换一种灯泡中的一个到令一种电压较高的灯泡时  只有全部替换这种灯泡为另一种时才可能使总花费变小...
分类:其他好文   时间:2014-08-23 16:52:31    阅读次数:219
UVA 14000 Lighting System Design(DP)
You are given the task to design a lighting system for a huge conference hall. After doing a lot of calculation & sketching, you have figured out the requirements for an energy-efficient design that c...
分类:其他好文   时间:2014-08-18 00:21:55    阅读次数:211
uva 11400 - Lighting System Design(动态规划 最长上升子序列问题变型)
本题难处好像是在于 可以把一些灯泡换成电压更高的灯泡以节省电源的钱 ,所以也才有了对最优方案的探求 好的处理方法是按照电压从小到大排序,只能让前面的换成后面的,也就满足了把一些灯泡换成电压更高的灯泡 的要求; 一种电压的灯泡,要么不换,要换则应该全换:换,说明用当前的电源不值;而既然不值则应该全部换掉以避免使用当前电源,不然即增加了灯泡费用又没节省电源费用,亏大了。。。 状态转移详见代码 ...
分类:其他好文   时间:2014-08-07 19:02:38    阅读次数:267
HTML5 画布上的 Three.js 环境灯光(HTML5 Canvas Three.js Ambient Lighting)
HTML5 画布上的 Three.js 环境灯光(HTML5 Canvas Three.js Ambient Lighting)...
分类:Web程序   时间:2014-08-03 23:27:46    阅读次数:387
Writing Surface Shaders
【Writing Surface Shaders】 Writing shaders that interact with lighting is complex. There are different light types, different shadow options, differen....
分类:其他好文   时间:2014-08-02 12:17:33    阅读次数:295
[ZZ] RGBM and RGBE encoding for HDR
Deferred lighting separate lighting rendering and make lighting a completely image-space technique. This is very different the forward rendering. At f...
分类:其他好文   时间:2014-07-27 21:43:45    阅读次数:1430
163条   上一页 1 ... 13 14 15 16 17 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!