Real Shadow

MIT
JavaScript
跨平台
2012-05-03
红薯

这个插件可以创建非常真实的阴影效果。非常适合做 demo 或者首页。

示例代码:

$(selector).realshadow(); // options are optional

$(selector).realshadow({

    followMouse: false,   // true by default

    pageX:       x,       // x coordinate of the light source
    pageY:       y        // y coordinate of the light source

    c: {                  // shadow color
        r: 1,             // red   channel for shadow
        g: 1,             // green channel for shadow
        b: 1,             // blue  channel for shadow
    }

});
加载中

评论(0)

暂无评论

暂无资讯

暂无问答

Credentials and Access Control in Linux

Credentials and Access Control in Linux ======================================= File ower and permission [important] ------------------------------------ File mode (permission),...

2013/10/16 11:32
58
0
[siggraph2011]Secrets of CryENGINE 3 Graphics Technology

Crytek图形三巨头NickolayKasyan, NicolasSchulz, TiagoSousa 轮番轰炸,73页的一个ppt。 link:http://advances.realtimerendering.com/s2011/SousaSchulzKazyan%20-%20CryEngine%203%20R...

2012/03/09 14:08
186
0
靠,论文怎么都这么罗嗦

其实很直白的几句话就可以把事情说清楚了,非得写的巨麻烦,然后就是无穷多的数学推理。 abstract里面写的又不够全面。 个人觉得是不是为了中论文,就要写的要让人不能一下子看懂,否则就太肤...

2012/03/09 14:06
12
0
reverse reprojection caching

http://developer.amd.com/media/gpu_assets/Nehab-Accelerating_Real-Time_Shading_with_Reverse_Reprojection_Caching(GH07).ppt http://www.cs.virginia.edu/~jdl/papers/reproj/nehab_gh...

2012/03/09 14:08
32
0
Shadow Mapping

Shadow Mapping Shadow mapping was introduced by Lance Williams in 1978, in a paper entitled "Casting curved shadows on curved surfaces". It has been extensively used since, both...

2012/11/22 14:47
61
0
[sig09]Rendering Technology at Black Rock Studio

siggraph09, black rock studio在《pure》&<split/second>中的渲染技术介绍:link link1 这篇文章的含金量颇让我吃惊,短小强悍。 --------------------------------- ground cover render ...

2012/03/09 14:10
22
0
使用jQuery插件realshadow实现超酷真实阴影效果

日期:2012-5-4 来源:GBin1.com 在线演示 本地下载 大家有没有尝试使用纯CSS和Javascript来生成带有颜色的元素阴影?如果你也想生成这样超酷的特效的话,大家可以尝试使用这个jQuery插件: ...

2012/05/04 11:29
51
0
用wrk测试nginx/nodejs/golang

硬件环境 $ lscpu Architecture: x86_64 CPU 运行模式: 32-bit, 64-bit Byte Order: Little Endian CPU(s): 8 On-line CPU(s) list: 0-7 每个核的线程数:2 每个座的核数: 4 Socket(s): 1...

2017/11/16 15:19
16
0
The Status Quo of China's Bitcoin Development

It is appropriate to use the word ‘turbulence’ to describe Bitcoin currency. Bitcoin was proposed by Konosuke Nakamoto in 2009. Unlike the previous cryptocurrency, Bitcoin is...

09/01 14:47
0
0

没有更多内容

加载失败,请刷新页面

返回顶部
顶部