Skip to content

This repository provides some options to improve GTA4 EFLC shadows and remove pixelated aspect.

License

Notifications You must be signed in to change notification settings

RaphaelK12/GTA4-Improved-Soft-Shadows

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 

Repository files navigation

GTA4-Improved-Soft-Shadows

!This is an old/dead repo, use https://github.com/ThirteenAG/GTAIV.EFLC.FusionFix for something better and more up to date!

This repository provides some options to improve GTA4 EFLC shadows and remove (reduce) the pixelated aspect.

In the shader folder there are some folders with shader options to use in GTA4, just choose an option and copy the file "deferred_lighting.fxc" to the game folder "GTA_IV\common\shaders\win32_30_atidx10" (at least it's the folder that game uses for my computer), together it also has the shader assembly to be used with some shader injector.

Tested on version 1.0.8.0 with Ryzen 5600G using integrated graphics.

Some options need the d3d9.dll file to work correctly (I also provided a version without), I used a modified version of ThirteenAG's dx-wraper to unlock the original resolution of the shadow map, something that doesn't affect performance, it just prevents the game to reduce the shadow resolution by half (in GTA4 the low quality shadow is 512x512 pixels, so the game generates the shadow and rescales it to 256x256 which is useless), just copy the file "d3d9.dll" to the "GTAIV.exe" game executable folder.

For dual version shaders one needs this d3d9.dll to work correctly without artifacts and the other only works without this d3d9.dll due to the difference in shadow map resolution.

Original Shadows (low, medium, high, very high)

image image image image

Some examples of the new shadows (low, medium, high):

Disk

image image image

Simple (hard) bilinear

image image image

Soft bilinear

image image image image

These new shadows are not free of artifacts (see the simple bilinear), but it is possible to see big improvements in all levels of quality (mostly low) being unnecessary very high quality for shadow (perhaps for those who play at 4k or more it will be useful I believe) .

The original low quality shadow is horrible, totally pixelated, with any of these shaders it is possible to have much higher quality without performance losses, reducing pixelation and flickering shadows.

Todo

Achieve this result without compromising performance and without producing more glitch: image image

About

This repository provides some options to improve GTA4 EFLC shadows and remove pixelated aspect.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published