Принудительно сглаживать Direct3D в игре Direct3D?

3564
James McLaughlin

Некоторые старые игры в настоящее время выглядят очень неровно на больших дисплеях без сглаживания, но в них нет встроенных опций, чтобы включить их.

На ПК с графической картой NVIDIA возможно принудительное сглаживание в панели управления NVIDIA, которое действительно может улучшить это. Но я играю в игру в Parallels на Mac, и хотя у Mac есть видеокарта NVIDIA, это эмулируемая карта Parallels, которую видит Windows, и поэтому очевидно, что нет панели управления NVIDIA.

Есть ли какой-нибудь общий способ принудительного сглаживания для игры Direct3D без использования панели управления NVIDIA?

2
Поддержка этого зависит от самого драйвера. Маловероятно, что вы найдете драйвер с возможностью работы в Parallels. это может сделать это. Ramhound 10 лет назад 0
У Parallels есть свои собственные драйверы, и у них нет панели управления, как у драйверов NVIDIA. Вот почему мне было интересно, есть ли более общий способ сделать это в D3D. James McLaughlin 10 лет назад 0
Водители должны будут поддерживать этот метод, что очень маловероятно. Ramhound 10 лет назад 0
Примечание: добавлены теги Mac и Parallels: я просто ищу _общий_ способ принудительного сглаживания для игры Direct3D, который не зависит от конкретных драйверов. Хотя способ сделать это с драйверами Parallels был бы великолепен, это не совсем то, что я ищу. James McLaughlin 10 лет назад 0

3 ответа на вопрос

4
galacticninja

You can force SMAA on a DirectX 9, 10 or 11 game by using injectSMAA. It should work with any graphics card brand.

Description

  • adds "Subpixel Morphological Antialiasing" to an application
  • is based on "injectFXAA" (written by "some dude")
  • is supposed to work only with directx 9, directx 10, directx 11, x86 applications
  • may be incompatible with any other form of antialiasing
  • may be incompatible with overlays (Steam Overlay, MSI Afterburner, Fraps, ...)

SMAA is a very efficient GPU-based MLAA implementation, capable of handling subpixel features seamlessly, and featuring an advanced pattern detection & handling mechanism.

http://www.iryoku.com/smaa/

injectSMAA screenshots from the game, Halo: Combat Evolved (does not have an in-game anti-aliasing (AA) option and does not support graphics driver-forced AA):

Click image thumbnails below to view higher-resolution, original-sized image.
No AA:

With SMAA:

Screenshots source: http://mrhaandi.blogspot.com/p/injectsmaa.html (more screenshots from other games from the same webpage)

Именно то, что я искал. Спасибо! James McLaughlin 10 лет назад 0
1
Vinayak

My answer may not be relevant to the question you're asking because I'm not sure it can introduce anti-aliasing into a game that doesn't support it.

But if you're looking to improve the general graphics quality of games that use DirectX 9, you might want to consider using a modded DirectX driver. I know of one popular mod called ENB Series that can help improve the overall graphics quality of a game.

However, it does require spending a lot of time tinkering with a lot of settings to get it "just right". The mod works for old DX9 games like Deus Ex as well as newer games like GTA IV.

Here are a few screenshots of the mod in action (for Deus Ex. Complete screens here):

ENB Mod: Deus Ex

To see a detailed analysis of the mod can do, read the GTA IV optimization guide for ENB Series mod.

Update:

SweetFX
I found out about another shader injector tool called SweetFX. It's based on InjectSMAA and improves upon it and other similar tools like InjectFXAA and FXAAtool (according to its own admission)

You can download SweetFX from here. However, it will only work on 32-bit DirectX 9, 10 and 11 games.

Luckily, this tool has a lot of tutorial/configuration videos for it created by the gamer community, so it is highly recommended that you watch these videos to get better acquainted with the tool.

There's also a configuration tool available called SweetFX Configurator that eases the configuration building.

Here's a list of effects that SweetFX supports (from the forum post):

* SMAA Anti-aliasing : Anti-aliases the image using the SMAA technique - see http://www.iryoku.com/smaa/ * LumaSharpen : Sharpens the image, making details easier to see * Bloom : Makes strong lights bleed their light into their surroundings * HDR : Mimics an HDR tonemapped look * Technicolor : Makes the image look like it was processed using a three-strip Technicolor process - see http://en.wikipedia.org/wiki/Technicolor * Cineon DPX : Makes the image look like it was converted from film to Cineon DPX. Can be used to create a "sunny" look. * Lift Gamma Gain : Adjust brightness and color of shadows, midtones and highlights (avoids clipping) * Tonemap : Adjust gamma, exposure, saturation, bleach and defog. (may cause clipping) * Vibrance : Intelligently saturates (or desaturates if you use negative values) the pixels depending on their original saturation. * Curves : Contrast adjustments using S-curves. * Sepia : Sepia tones the image - see http://en.wikipedia.org/wiki/Sepia_tone#Sepia_toning * Vignette : Darkens the edges of the image to make it look more like it was shot with a camera lens. - see http://en.wikipedia.org/wiki/Vignetting ) * Dither : Applies dithering to simulate more colors than your monitor can display. This lessens banding artifacts - see http://en.wikipedia.org/wiki/Dithering#Digital_photography_and_image_processing ) * Splitscreen : Enables the before-and-after splitscreen comparison mode. 
0
user3407161

I'm not sure if this is an answer since i don't have parallels myself, but you may want to try running NvidiaInspector.

It'll forcefully change the AA settings of games if you have a nvidia gpu. (Try running it on the windows platform)