注册 | 登录

游侠NETSHOW论坛





游侠NETSHOW论坛 游侠NETSHOW论坛 质量效应3 《质量效应》A卡X1000系列不关闭景深解决马赛克问题 ...
查看: 3649|回复: 2
打印 上一主题 下一主题

《质量效应》A卡X1000系列不关闭景深解决马赛克问题 [复制链接]

帖子
13
精华
0
积分
7
金钱
107
荣誉
0
人气
0
评议
0
跳转到指定楼层
楼主
发表于 2009-7-4 12:59:42 |只看该作者 |正序浏览
不关闭景深解决马赛克问题,已看过或已解决的就当路过~~
这两天才下载ME,我的显卡是X1950GT,刷成了X1950pro,深被马赛克问题困扰,到处找解决办法,只找到了关闭景深的折中方法,让我深感郁闷.
发现ATI催化剂没用,AMD(ATI)遗弃了我们!~~~最后终于在国外bioware的网站上找到比较好的解决办法,作者adger44,以下是引用的部分原内容:
-------------------------------------------------------------------
This following outlines a workaround that allows the ATI Radeon x1650, x1950, etc.. to use DOF and Bloom (and not be all blocky)

Over the weekend I was thinking about the ME DOF(Depth of Field)/Bloom problems on R500 cards.
I remembered that the R500 class cannot filter 16/32 bit float textures.
I mocked up a similar case on my MacBook Pro using OpenGL Shader Builder.
In my mock-up I used a manual bilinear filter to "solve" the problem
Anyhow I found a simple workaround to "fix" this and allow me to enjoy ME in ALL its blurry glory

NOTE: This is only required for video cards that cannot filter float16 or float32 textures (r500 class)
NOTE: Only tested on an ATI Radeon x1650 Pro at 800x600

Requires: The 1.01a ME patch or better(需打过1.01a补丁,设完后可用游侠免cd第三版进入游戏)

正式开始以下步骤:

Step 1: Open the file below with Notepad (or some text editor)
X:\\Program Files\\Mass Effect\\Engine\\Shaders\\
UberPostProcessBlendPixelShader.usf
(就是用记事本打开X:\\Program Files\\Mass Effect\\Engine\\Shaders\\目录下UberPostProcessBlendPixelShader.usf这个文件)

Step 2: Backup the file somewhere with somename you will remember...
(备份一个原文件先)
Step 3: Find the line that reads...
"half4 UnfocusedSceneColorAndWeight = MAX_SCENE_COLOR * tex2D(BlurredImage,UV);"\\找到这行
(we want that to be a filtered lookup)
Step 4: Now replace that line with...\\用以下内容替换上面找到的那行,注:改成自己用的分辨率#define WIDE 800,#define HIGH 600


#define WIDE 800
#define HIGH 600
half4 UnfocusedSceneColorAndWeight;
const float2 wh = floor(float2(WIDE, HIGH) * 0.25f) + 2.f;
const float4 pix_shift = float4(-0.5f, 0.5f, -0.5f, 0.5f) / wh.xxyy;
float4 tc = UV.xxyy + pix_shift;
float2 f = frac(tc.xz * wh);
half4 s0 = tex2D(BlurredImage, tc.xz);
half4 s1 = tex2D(BlurredImage, tc.yz);
half4 s2 = tex2D(BlurredImage, tc.xw);
half4 s3 = tex2D(BlurredImage, tc.yw);
UnfocusedSceneColorAndWeight = lerp(lerp(s0, s1, f.x), lerp(s2, s3, f.x), f.y);
UnfocusedSceneColorAndWeight *= MAX_SCENE_COLOR;


Step 5: Change the 800 and 600 to the screen resolution you run your game at
(将#define WIDE 800,#define HIGH 600修改成自己想用的分辨率,和游戏里设置的一样,否则没效果)

Step 6: Now make ME recompile the darn shader...\\让me重编译darn shader
(this is were the patch comes in)
Goto the Mass Effect configuration thingy
Click on "Repair"
Click on "Delete Local Shader Cache Files"
(打开Mass Effect configuration,点"Repair",然后再点"Delete Local Shader Cache Files".其他非XP系统可能要设置成兼容xp sp2模式才有该选项,需1.01a版本)

Step 7: Run the game... Squint hard at the blurry out of focus areas\\运行游戏,失败再重复Step 6,以下不备注了

If the game crashes on startup (complaining about shader compilation) you have typed in the shader mod wrong
If the blurry areas look distorted or wrong... you either do not need the mod OR put in the wrong screen dimensions (if so goto Step 5)

In order to undo this procedure....
Just restore your backup of UberPostProcessBlendPixelShader.usf and goto Step 6.

Final notes....
1: Devs/Mods can I post my modified UberPostProcessBlendPixelShader.usf?
2: I still see blockiness ON the surface of planets i.e. the intro screen
I am not sure what path that is going down -- If I find and fix I will post here...
3: Enjoy Focal depth and light bleeding!!!

Last final note (I promise)
1: Since I have NEVER seen this game on ANY other hardware (nor xbox360) I have no clue if this looks as intended
I just think it looks much better than blocky blocks
----------------------------------
原贴地址:http://meforums.bioware.com/view ... 44389&forum=127
这位adger44真是高人

使用道具 举报

帖子
1188
精华
0
积分
595
金钱
2664
荣誉
0
人气
6
评议
0
板凳
发表于 2010-3-27 22:29:30 |只看该作者
路过支持下,1代早通关了。。。。。。。。

使用道具 举报

帖子
13
精华
0
积分
7
金钱
107
荣誉
0
人气
0
评议
0
沙发
发表于 2010-3-27 21:54:05 |只看该作者
自己顶,玩质量效应2之前翻出一代来玩……

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

手机版|Archiver|游侠NETSHOW论坛 ( 苏ICP备2023007791号 )

GMT+8, 2025-8-20 20:45 , Processed in 0.339300 second(s), 12 queries , Gzip On, Memcache On.

Powered by Discuz! X2

© 2001-2011 Comsenz Inc.

分享到