Quantcast

Jump to content

» «
Photo

GTA V Dithering and Stripple Research and Fix

36 replies to this topic
BlackScout
  • BlackScout

    Andrew Bayer's #1 Fan

  • Members
  • Joined: 08 Sep 2013
  • None

#31

Posted 25 January 2018 - 05:20 PM

The result visible on the last screen on the left is very nice, but does not it break anti-aliasing?

I don't think so... I had taken some screenshots with AA enabled but now my screenshots folder is so messy that I can't really find it.


robi29
  • robi29

    VisualV creator

  • Members
  • Joined: 20 Jun 2009
  • Poland

#32

Posted 25 January 2018 - 09:31 PM

Hmmm, I've tried that and I've found this:

 

Before:

cR5tl0M.png

 

After:

bJqxQ2G.png

 

 

Unfortunately, the fix has its drawbacks.

  • BlackScout likes this

lastpackage
  • lastpackage

    Square Civilian

  • Members
  • Joined: 11 Aug 2015
  • Poland

#33

Posted 14 February 2018 - 03:32 AM

Awesome job, now I can actually play without suffering. Can you BlackScout or robi29 provide your patched default.fxc? I don't really know how to calculate and apply this checksum. Also which one should I patch, "common.rpf/default.fxc" or "update/update.rpf/default.fxc"?

  • CartmanKusanagi likes this

lastpackage
  • lastpackage

    Square Civilian

  • Members
  • Joined: 11 Aug 2015
  • Poland

#34

Posted 2 weeks ago

bump

It's sad that problem is solved but there is no mod or anything, only screenshots of fixed game. I asked BlackScout on PM for some files, but they doesn't seem to work on my game. However I'm a filthy pirate, so maybe that's the reason.

You can give it a try:

https://drive.google...eOKvhkchtZ4A2f6

or

http://www91.zippysh...pfhhN/file.html

 

There are 2 folders of 2 variants and according to him, you have to replace:

update.rpf/common/shaders/win32_40_final/default.fxc

in your game files.

Tell if it works for you or not.


BlackScout
  • BlackScout

    Andrew Bayer's #1 Fan

  • Members
  • Joined: 08 Sep 2013
  • None

#35

Posted 2 weeks ago

I would have investigated this further but I am just too lazy.
There are no proper tools that can make editing those files easier... So.


lastpackage
  • lastpackage

    Square Civilian

  • Members
  • Joined: 11 Aug 2015
  • Poland

#36

Posted 2 weeks ago

https://i.imgur.com/klOLaNt.png

the left one is problem 100% solved, cone sh*t is just r* trick, same with lost transparency, there is just no true semi-transparency in deferred rendering

Anyway, does it work for you at this moment? I mean these files you sent me?

  • CartmanKusanagi likes this

Spider-Vice
  • Spider-Vice

    Aurora Creek, Oregon, PNW

  • Moderator
  • Joined: 09 Oct 2006
  • Portugal
  • Best GTA Series Historian
    Best Contributor in Rockstar Games 2017
    Best Newsletter 2017 [GTAF Weekly]
    Contribution Award [GTAF Weekly]
    Best Poster [Rockstar Games] 2016
    Contribution Award [GTA V]

#37

Posted 2 weeks ago

This may be because Rockstar still uses deferred shading in GTA V, straight from GTA IV but in a DX10/11 game (allowing MSAA*). Transparency (needed for many reasons) using this technique usually needs dithering as this kind of shading doesn't like it, and that's why reversing the code will break glass shaders. It's called screen-door transparency and it's used used for polygon-fill, in this case, it might be why the Vinewood antenna looks super skinny once the effect is reversed, because polygon-fill is used to make LODs look better, at the expense of having to use dithering for transitions.

 

Also likely more an engine thing than a last-gen port performance tradeoff, because RDR2 screens still have a sh*tton of alpha dithering.
 
https://en.wikipedia...g#Disadvantages
https://gamedev.stac...nge.com/a/47847
 
*

DirectX 10 introduced features allowing shaders to access individual samples in multisampled render targets (and depth buffers in version 10.1), giving users of this API access to hardware anti-aliasing in deferred shading.

  • CartmanKusanagi likes this




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users