查看: 6914|回复: 6
打印 上一主题 下一主题

[Shaders] Next-Gen Soft-Shadows 1.32 - 柔和阴影的插件(5.6专用)

[复制链接]

9903

主题

126

听众

7万

积分

首席设计师

Rank: 8Rank: 8

纳金币
53456
精华
316

最佳新人 热心会员 灌水之王 活跃会员 突出贡献 荣誉管理 论坛元老

跳转到指定楼层
楼主
发表于 2017-5-8 23:40:31 |只看该作者 |倒序浏览

QQ截图20170508233415.jpg
f611825f-cc5d-4233-a0eb-d8242b4748dc_scaled.jpg
69164e11-f406-412a-88bb-261e779bda94_scaled.jpg
805b6cf3-7c78-47ee-a8b2-f58397442e4d_scaled.jpg
7211ccdd-3ac2-42a2-b104-2888e0285749_scaled.jpg
5bcc4447-dab5-47e7-8736-a72d9800f25a_scaled.jpg
64ee6e81-851d-46fa-8ff6-70ae60e296a2_scaled.jpg
089f6861-757b-4e62-92a7-970f3af6b6e2_scaled.jpg

Requires Unity 5.6.0 or higher.

Custom shadows filters for Unity built-in lights with adaptive penumbra size.

The technique
This technique unifies shadows across all Unity lights using a Monte Carlo filtering that produces random persistent stable kernels. It removes aliasing and banding on extremely tiny shadowmaps textures. It requires less sampling to smooth/AA out shadows while being faster than any other similar solutions on the Asset Store. Plus, it works on any platforms where Unity support shadows.

Two variations at your disposal: A full PCSS filtering for spot/point/directional shadows and a cheaper variant that simulates PCSS (requires less samples). Both techniques automatically changes penumbra size based on distance between receiver/caster and light positions. They are both visually similar but the PCSS is more physically correct.

The package comes with two setup files and the installation is only few steps setup. No need to do anything with your shaders or scripts, it will work with anything that uses Unity shadows. The shadow smoothness and type can be tweaked using Unity built-in lights properties such as Strength and Shadows Type.

Current Shadow Features:
- Contact Shadows (Screen Space Raymatched shadows) - Point Light Shadows PCSS + Approximation filters
- Spot Light Shadows Approximation filter
- Directional Light Shadows Approximation filter
- Improved Bias support (more control and precision)

Upcoming NGSS Features:
- Spot Light PCSS filtering
- Directional PCSS filtering
- Shadow quality sets for all lights
- New bias algorithms for Point/Spot lights.

Support: This shadow system works on any platform where Unity support dynamic shadows and is used by our current game (and future ones too). It's an ongoing support process. You'll be getting updates and new features as we push them to our projects. Plus you'll have full source code access.

Next-Gen Soft-Shadows.rar

156.77 KB, 阅读权限: 10, 下载次数: 310

分享到: QQ好友和群QQ好友和群 腾讯微博腾讯微博 腾讯朋友腾讯朋友 微信微信
转播转播0 分享淘帖0 收藏收藏2 支持支持0 反对反对0
回复

使用道具 举报

0

主题

9

听众

3987

积分

中级设计师

Rank: 5Rank: 5

纳金币
317
精华
0

最佳新人 活跃会员 热心会员 灌水之王 突出贡献

沙发
发表于 2017-5-9 11:16:13 |只看该作者
资源包似乎不对哟。导入U3D。显示的不是1.32。。是1.1 ,和官方对比了下发现少了写东西
回复

使用道具 举报

mimiX    

0

主题

2

听众

738

积分

初级设计师

Rank: 3Rank: 3

纳金币
194
精华
0

最佳新人 活跃会员 热心会员 灌水之王 突出贡献

板凳
发表于 2017-5-10 13:29:42 |只看该作者
是1.1版本的啊
回复

使用道具 举报

1

主题

1

听众

207

积分

设计实习生

Rank: 2

纳金币
51
精华
0

最佳新人

地板
发表于 2017-5-26 09:50:29 |只看该作者
这东西不错哦!
回复

使用道具 举报

26

主题

6

听众

2714

积分

中级设计师

Rank: 5Rank: 5

纳金币
1326
精华
0

最佳新人 活跃会员 热心会员 灌水之王 突出贡献

5#
发表于 2017-6-3 11:25:26 |只看该作者
感谢楼主分享啦
回复

使用道具 举报

16

主题

5

听众

4304

积分

中级设计师

Rank: 5Rank: 5

纳金币
1
精华
0

最佳新人 活跃会员 热心会员 灌水之王 突出贡献

6#
发表于 2017-6-3 20:27:37 |只看该作者
是1.1。。。。。。。。。。。。。。。。。。
回复

使用道具 举报

0

主题

1

听众

2458

积分

中级设计师

Rank: 5Rank: 5

纳金币
176
精华
0

最佳新人 活跃会员 热心会员 灌水之王 突出贡献

7#
发表于 2017-7-18 09:15:07 |只看该作者
效率如何?耗费资源大么?
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

关闭

站长推荐上一条 /1 下一条

手机版|纳金网 ( 闽ICP备08008928号

GMT+8, 2024-4-19 12:21 , Processed in 0.090736 second(s), 35 queries .

Powered by Discuz!-创意设计 X2.5

© 2008-2019 Narkii Inc.

回顶部