瀏覽代碼

【文档】补记低分辨率下 FFP 分划缺像素

记录使用者反馈的低分辨率下 VUDU 等 FFP 瞄具分划像丢像素的问题,说明 FFP/SFP 差异与镜内 FSR/DLSS 的可行方向。
PJ568 1 月之前
父節點
當前提交
65750f0341
共有 1 個文件被更改,包括 2 次插入 和 0 次删除
  1. 2 0
      docs/compatibility.md

+ 2 - 0
docs/compatibility.md

@@ -13,6 +13,7 @@
 - **无法独立设置镜内超分档**:全游戏只有一套挂在主相机上的 `SSAA`/`SSAAImpl`,镜内画面是其一部分;独立的镜内 FSR/DLSS 需要另挂一套组件,本插件不做。
 - **瞄准中改分辨率可能有一帧闪烁**:因为会销毁并重建 RenderTexture;可将“瞄准中立即应用”关闭以规避。
 - **镜内低分辨率下纹理锯齿会更明显**:镜内相机的 mipmap bias 只在 `Init()` 时设置一次,默认随画质档变化;可将「镜内贴图 mip 模式」设为「自定义」并用「Mip 偏差」覆盖它来调节。注意它改变的是**常驻 mip 与上传/磁盘 I/O**,且贴图品质为高时最多只能丢 2 级(偏差大于 2 会被截断),详见配置参考。
+- **低分辨率下 FFP 分划可能缺像素**:把镜内分辨率调低时,VUDU 等**第一焦平面(FFP)**瞄具的分划会像是丢了几块像素。FFP 分划随倍率缩放,倍率越低线宽越细,细到不足一个镜内像素时就会被光栅化丢弃;**第二焦平面(SFP)**分划不随倍率缩放,可能不受影响。可行方向是给镜内相机单独接一套 FSR/DLSS,本插件尚未实现。
 - **与其它改 `SetResolution` 的模组可能冲突**:若第三方 prefix 改写同一入参,插件检测到目标未生效后会暂停重试直至你更改目标值,避免反复重建 RenderTexture。
 - **版本敏感**:依赖具体类型与方法,EFT 更新后可能失效。
 - **CI 限制**:客户端插件必须引用专有程序集,公共 runner 无法构建,故仓库只保留 `test.yml`(跑纯逻辑单测);发行包用 `scripts/release.sh` 本地一键发布。
@@ -38,6 +39,7 @@
 - **No independent in-scope upscaler setting**: the game has a single `SSAA`/`SSAAImpl` on the main camera and the scoped image is part of it; a truly independent in-scope FSR/DLSS would require attaching a second component, which this plugin does not do.
 - **Changing resolution while scoped may flash for one frame** because the RenderTexture is destroyed and recreated; turn off "瞄准中立即应用" to avoid it.
 - **Texture aliasing becomes more visible at low in-scope resolutions**: the scope camera's mipmap bias is only set once in `Init()` and defaults to a quality-dependent value; set "镜内贴图 mip 模式 | Scope Mip Mode" to "自定义" (custom) and override it with "Mip 偏差 | Mip Bias" to adjust. Note that it changes **mip residency and upload/disk I/O**, and at high texture quality at most 2 levels can be dropped (anything above 2 is truncated); see the configuration reference for details.
+- **FFP reticles may lose pixels at low in-scope resolutions**: dialing the in-scope resolution down can make the reticle of **first focal plane (FFP)** optics such as the VUDU look as if some of its pixels are missing. An FFP reticle scales with magnification, so at low zoom its lines get thinner, and once a line is under one in-scope pixel rasterization drops it; **second focal plane (SFP)** reticles do not scale with magnification and may be unaffected. A possible direction is to give the scope camera its own FSR/DLSS, which this plugin does not implement yet.
 - **Possible conflict with other mods that patch `SetResolution`**: if a third-party prefix rewrites the same argument, the plugin detects the target not taking effect and pauses retries until you change the target, avoiding repeated RenderTexture rebuilds.
 - **Version sensitive**: it depends on specific types and methods and may break after an EFT update.
 - **CI limitation**: a client plugin must reference proprietary assemblies, which public runners cannot build, so the repository keeps only `test.yml` (pure-logic unit tests); release packages are produced locally with `scripts/release.sh`.