【战斗结算】提交renderTexture属性修改

main
chenyuqi 2024-08-15 16:53:50 +08:00
parent 442cdbbd23
commit d38adf49e6
1 changed files with 2 additions and 1 deletions

View File

@ -147,8 +147,9 @@ public class GameSceneHelper : Singlenton<GameSceneHelper>
private void _CreateRt()
{
var rtFormat = PerformanceManager.instance.data.enableHDR ? RenderTextureFormat.DefaultHDR : RenderTextureFormat.ARGB32;
_rTexture = RenderTexturePool.Instance.Create("GameSceneHelper_rt", PerformanceManager.instance.fullScreenWidth,
PerformanceManager.instance.fullScreenHeight);
PerformanceManager.instance.fullScreenHeight, RenderTexturePool.DEFAULT_DEPTH, rtFormat);
}
private void _ReleaseRt()