{"id":25255628,"url":"https://github.com/killop/urp-12-extension","last_synced_at":"2025-04-09T10:09:08.315Z","repository":{"id":47842012,"uuid":"516339154","full_name":"killop/URP-12-Extension","owner":"killop","description":"URP-12-Extension","archived":false,"fork":false,"pushed_at":"2023-06-02T08:11:02.000Z","size":58022,"stargazers_count":276,"open_issues_count":3,"forks_count":63,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-04-02T08:11:10.161Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/killop.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-07-21T11:14:27.000Z","updated_at":"2025-04-01T07:47:20.000Z","dependencies_parsed_at":"2025-02-12T06:08:04.608Z","dependency_job_id":null,"html_url":"https://github.com/killop/URP-12-Extension","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/killop%2FURP-12-Extension","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/killop%2FURP-12-Extension/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/killop%2FURP-12-Extension/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/killop%2FURP-12-Extension/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/killop","download_url":"https://codeload.github.com/killop/URP-12-Extension/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248018061,"owners_count":21034048,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-02-12T05:57:53.358Z","updated_at":"2025-04-09T10:09:08.290Z","avatar_url":"https://github.com/killop.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n\nTable of Contents\n- [概要](#概要)\n- [X-Post-Processing](#x-post-processing)\n- [Timeline-Volume](#timeline-volume)\n- [URP-12-GammaUIAndSplitResolution](#urp-12-gammauiandsplitresolution)\n- [AdaptivePerformance](#adaptiveperformance)\n- [更新日志](#更新日志)\n    - [2023-06-02](#2023-06-02)\n    - [2023-05-16](#2023-05-16)\n\n## 概要\n  这个库使用的URP版本是 URP 12.1.10,适配unity 2021.3.18f1,在绝大多数安卓苹果手机上，都测试过，没有发现问题。 URP 12.1.7 +2021.3.4 这个组合在部分机型是有bug的（深度贴图适配问题）\n## X-Post-Processing\n* 主要搬运自[X-PostProcessing-URP](https://github.com/tkonexhh/X-PostProcessing-URP), 深度集成到URP12 里面，在原有官方基础上新增70+ 后处理效果\n* 采用UPR 12 内置的RenderTargetSwapBuff 减少不必要的 RT分配\n* 增加了后处理shader的 ShaderTripper 功能，减少了shader编译时间 \n## Timeline-Volume\n* 针对URP内置的volume framework 增加timeline轨道,方便 timeline 控制各种后效的效果\n## URP-12-GammaUIAndSplitResolution\n* 本项目囊括了[URP-12-GammaUIAndSplitResolution](https://github.com/killop/URP-12-GammaUIAndSplitResolution)里面所有的功能，并且了优化\n* 而且 UI相机的target 是不是硬件屏幕还是 swapbuffer，你可以任意切换，说白了，这个库实现了 市面上所有的关于 UI 和场景相机分辨率分离的 思路，按需切换即可\n## AdaptivePerformance\n* 给出URP 如何做适配\n\n## 更新日志\n\n#### 2023-06-02\n* 所以增加了 sEnableUICameraUseSwapBuffer 静态变量来控制 UI相机使用 swapBuffer，这样UI 相机也支持后处理，但是多了一次blit操作，有效率消耗，所以建议这个选项只在必要的时候打开\n* 原来的 sIsGammaCorrectEnable 也加回来了，来控制是不是要启动 Gamma矫正\n#### 2023-05-16\n* 实现了 [URP渲染优化总结](https://zhuanlan.zhihu.com/p/626256175?)文章里面 所说的优化\n* 场景相机用 swapbuffer 渲染，UI 相机直接用cameraTarget渲染，省去了一次blit 操作和一张RT\n* 这次更新之后，暂时不支持 UI相机的gamma空间渲染，如果想支持，也是非常简单，修改UI 相机的cameraTarget为RT，UI元素在gamma 空间渲染，最终用FinaBlitPass 到屏幕上，参考2023-05-16 之前的版本\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkillop%2Furp-12-extension","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkillop%2Furp-12-extension","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkillop%2Furp-12-extension/lists"}