脚本/功能 【更新】Adaptive Split Screen 1.3.0

Unity插件信息
插件名称: Adaptive Split Screen
插件官网: https://assetstore.unity.com/packages/tools/camera/adaptive-split-screen-223436
版本: 1.3.0
解压密码:
素材类型: 脚本/功能









This package contains fast lightweight solution for split screen It is developed with DOTS in mind, as result it takes advantage of Unity's latest technology stack like SIMD mathematics, Jobs and Burst compiler.

It is recommended for co-op style games. Especially if world is not small and players can be far away from each other.

This is novel solution of split screen based on voronoi diagrams. One can think of it as extension of traditional dynamic split screen for up to 4 players.

Key Behaviours
Fairness - option for each player to have similar screen region area.
Centered - option for each player to be centered in their screen region.
Direction Indicated - each split indicates direction to other player.
Fusible - players screen regions can be merged once they are close enough.

The package is designed to be easily customizable and approchable from artist's to developer's background.

There are 4 layers of API
SplitScreenEffect - the main MonoBehaviour component that applies split screen effect on camera.
Modifier - custom MonoBehaviour components for modifying logic of SplitScreenEffect.
SplitScreen4, SplitScreen3 and SplitScreen2 - structs for generating split screen effect.
VoronoiBuilder, VoronoiDiagram - structs for generating voronoi diagrams from sites.


本软件包包含用于分屏的快速轻量级解决方案。它是以 DOTS 为核心开发的,因此可充分利用 Unity 的最新技术栈,如 SIMD 数学、Jobs 和 Burst 编译器。

建议用于合作类游戏。尤其是当游戏世界不小,玩家之间可能相距甚远时。

这是一种基于 voronoi 图的新颖分屏解决方案。可以将其视为传统动态分屏的扩展,最多可支持 4 名玩家。

主要行为
公平--每个玩家可选择拥有相似的屏幕区域。
居中 - 可选择让每位玩家在各自的屏幕区域居中。
指示方向 - 每个分屏都会向其他玩家指示方向。
可融合 - 玩家的屏幕区域一旦足够接近,就可以合并。

该软件包的设计易于定制,从艺术家到开发人员都可以使用。

有 4 层应用程序接口
SplitScreenEffect - 主要的 MonoBehaviour 组件,用于在摄像机上应用分屏效果。
Modifier - 用于修改 SplitScreenEffect 逻辑的自定义 MonoBehaviour 组件。
SplitScreen4、SplitScreen3 和 SplitScreen2 - 用于生成分屏效果的结构体。
VoronoiBuilder、VoronoiDiagram - 结构体,用于从站点生成 voronoi 图。




作者 cg小白兔 发表于 2023-11-10 11:57:18
您需要登录后才可以回帖 登录 | 立即注册
cg小白兔

关注0

粉丝0

发布4056

热门作品推荐
glow
Log Cabin 适配UE4.18 - 4.27, 5.0 - 5.2木
glow
Realistic Blood VFX - Niagara Blood Effe
glow
Animated Rain - Waterdrop Material & FX
glow
UAsset Browser 1.3.2 适配UE5.1-5.2
glow
【更新】Soap - ScriptableObject Architec
glow
Amplify Shader Editor 1.8.1 Unity3d材质
glow
【更新】A Pathfinding Project Pro 5.0.6
glow
C4D中世纪木质道具高品质栅栏桌椅板凳木箱
glow
Clayxels 1.9 雕刻模型工具
glow
Shader World procedural landscape, ocea