Skip to content

motoyinc/MotoyincLabRenderPipeline

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Motoyinc Lab RenderPipeline

这是MotoyincLabRP对Unity的Scriptable Render Pipeline (SRP)特性的研究管线。MotoyincLabRP的结构大致与Unity的通用渲染管线(URP)类似,细节上稍有不同,Pass的组织方式也不会像URP那样复杂。

📌 管线环境

  • Unity版本:6000.0.x
  • 关联包体:
    • com.unity.render-pipelines.core v17.0.3
    • 关联包体在安装MotoyincLabRP时会自动安装

⚙️ 管线功能

功能类别 功能 Feature 支持状态
🎨 渲染模式 前向渲染 Forward
前向渲染+ Clustered Forward+
前向渲染+ Tiled Forward+
延迟渲染 Deferred
💡 光照模型 漫反射 Lambertian Diffuse
高光反射 Cook-Torrance Specular
☀️ 主光源 直射光照明 Directional Lighting
🌓 主光影 4 级级联阴影 Cascaded Shadow Mapping, CSM
平均 PCF 过滤 Avg-PCF, Percentage Closer Filtering
锥型 PCF 过滤 Tent-PCF, Percentage Closer Filtering
PCSS 软阴影 Percentage Closer Soft Shadows
🔥 附加光源 直射光照明 Directional Light
点光源照明 Point Light
聚光照明 Spot Light,内外角可调
🌑 附加光源阴影 阴影贴图 Shadow Map
软阴影 Soft Shadows
🌍 间接光照 光照贴图 Lightmap
基于图像照明 IBL, Image-Based Lighting
球谐函数光照 SH, Spherical Harmonics
🏗️ 静态光 阴影遮罩 Shadow Mask
  • 代表已完成或支持的功能
  • 代表尚未实现或计划中的功能

🚀 安装管线

https://github.com/motoyinc/MotoyincLabRenderPipeline.git?path=/Packages/com.motoyinc.render-piplines.motoyinclab
  • 将链接复制到PackageManager -> install package from git URL 后等待安装完成,有可能会出现网络原因的安装失败,多试几次就行 image 动画 image

📜 开发日志 Development logs

https://zhuanlan.zhihu.com/p/810720751

📚 参考文献 References

[1] J. Flick, “tutorials for Unity” Catlike Coding, [Online]. Available: https://catlikecoding.com/unity/tutorials/.

[2] Unity Technologies, “Universal Render Pipeline (URP) Source Code,” GitHub repository, 2020. [Online]. Available: https://github.com/Unity-Technologies/Graphics.

Releases

No releases published

Packages

No packages published