hzqst / MetaHookSv

MetaHook (https://github.com/nagist/metahook) porting for SvEngine (GoldSrc engine modified by Sven-Coop)
MIT License
143 stars 34 forks source link

Weird transparency issues with the sprites #488

Open Blackgrowl opened 2 weeks ago

Blackgrowl commented 2 weeks ago

I have noticed some strange problem with the transparency regarding sprites, it seems that they can now lighten up the edges of the texture itself, this is not prevalent if you don't use Renderer.dll

Here's a picture to showcase the problem, you can easily see it with the visible bright "cubes" from where I fired and especially when I fire. image

This is a similar picture with Renderer.dll was not loaded into plugins, you can see there are no problems where I fire and when I fire. image

EDIT: I've just noticed that this problem occurs when r_fxaa is set to 0. Here is a picture with FXAA off image And this is with FXAA on image

hzqst commented 2 weeks ago

This is a trade off for r_gamma_blend 1. turning r_gamma_blend off would probably the best way to mitigate the artifacts.

Blackgrowl commented 2 weeks ago

This is a trade off for r_gamma_blend 1. turning r_gamma_blend off would probably the best way to mitigate the artifacts.

I gave it a try but the results are not favourable: image

Turning FXAA on does fix it though, despite r_gamma_blend 0: image

This is with both FXAA and r_gamma_blend turned on: image