Jump to content

[C++/Py] Enabling Screen Filtering Disabled by Ymir


Recommended Posts

  • Active+ Member

Hi, I'm migrating Metin2 completely to shader, and inevitably, a lot of files/code are wasted in the process, and I end up removing them all.
Yesterday, while migrating the contents of GrpScreen.cpp to shader, I noticed the ScreenFilter.cpp file. It's a tiny, unused file that was sitting there, but disabled.
I looked into it a bit and discovered that it filters the screen by coloring it. Of course, it doesn't work in its current state, and ymir disables it by setting it to FALSE.

I tried enabling it by setting it to TRUE, but it didn't work because the render function is broken. They also used incorrect values in the pack. In short, after some effort, I finally got it working. Since these codes were of no use to me, and since I was already doing this with shaders, I wanted to fix them and share them with anyone who wants to use them instead of deleting the file directly.
The steps are short and simple. However, be careful.

You can use it for any purpose you want. It's up to your imagination. I hope it works on DirectX 8 too but I'm not sure. Tested on DirectX 9 and no issues were found.

"I apologize for my bad English."

This is the hidden content, please

 

Final(Map C1):

Original and Filtering

spacer.png

Edited by blaxis
added note
  • Metin2 Dev 17
  • Flame 1
  • Good 4
  • muscle 3
  • Love 9

Don't use any images from : imgur, turkmmop, freakgamers, inforge, hizliresim... Or your content will be deleted without notice...
Use : https://metin2.download/media/add/

Please use https://metin2.download/ when uploading files smaller than 100MB, otherwise the approval will take longer due to manual upload.

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.