Author Topic: Full body colourization  (Read 1651 times)

FriendlyFire

  • *
  • Posts: 31
  • i'm an idiot. spics should die though.
    • View Profile
Full body colourization
« on: April 12, 2017, 04:54 »
Disclaimer: I do not own this, a friend gave it to me, however, I'm deciding to upload it here because I did not find it anywhere else.
https://www.dropbox.com/s/mu8f6i989bm2th7/fullbodycolourization.zip?dl=0
To install it, I'd recommend putting the zip on the data folder and putting the following line in DATAFILES.CFG
data/fullbodycolourization.zip
Spoiler
(DOES NOT WORK ON THE D3D CLIENT)
https://forum.fonline2.com/index.php?topic=12838.msg182567#msg182567 <<<< Ermac made his own take on this, you should probably check that one out since he seemed to do a pretty good job.
« Last Edit: September 02, 2018, 00:58 by FriendlyFire »

Ermac

  • Full Member
  • ***
  • Posts: 150
  • Darth Sausage
    • View Profile
    • sSs Zandronum clan
Re: Full body colourization
« Reply #1 on: December 09, 2017, 23:16 »
It's very useful mod in fights, but code is a little bit complicated (to understand). Yet I decided to make my own first variant of it.

So here it is:


Download link: http://www.mediafire.com/file/qjvwsfyq2ukkftb/makron.zip

To install it there're two ways:
1. Make new folder "effects" in FOnline2S3en/data and drag and drop Contour_Default.glsl from makron.zip archive into it.
2. Put makron.zip in FOnline2S3en/data and then include it in DataFiles.cfg by typing data/makron.zip as the last line.

Then you might need to delete cache in data folder and start the client over.

Explanation: Contour_Default.glsl is a shader file (program written in glsl designated for graphics card) used for rendering behaviour. It comes separated in vertex and fragment shader. Vertex shader determines position of the pixels and Fragment shader determines their colours. In this case they're together in one file. What we do is we override cvet's default shader Contour_Default.glsl (I guess he wrote it and it's located in client/data/data.zip) with our shader. Just don't forget to delete cache in case it doesn't work.

And please test in Direct3D client which doesn't work for me.

Good Luck! :)
« Last Edit: August 07, 2018, 01:04 by Ermac »
Faith implies fate

SEGA_RUS

  • Guest
Re: Full body colourization
« Reply #2 on: December 10, 2017, 01:05 »
And please test in Direct3D client which doesn't work for me.
There is only OGL shader in archive so it will not work on D3D version.

Ermac

  • Full Member
  • ***
  • Posts: 150
  • Darth Sausage
    • View Profile
    • sSs Zandronum clan
Re: Full body colourization
« Reply #3 on: December 11, 2017, 17:37 »
And please test in Direct3D client which doesn't work for me.
There is only OGL shader in archive so it will not work on D3D version.

I got your point and my mistake - that is I need to write .fx file (in HLSL which I haven't used before and it's for Direct3D). GLSL shader is only for Open GL  ::)
I'd probably need someone's help; in addition that my Direct3D client is not working. But thanks for pointing that out.  ;)
Faith implies fate

Ermac

  • Full Member
  • ***
  • Posts: 150
  • Darth Sausage
    • View Profile
    • sSs Zandronum clan
Re: Full body colourization
« Reply #4 on: August 07, 2018, 01:06 »
I can proclaim my work here as deprecated, please download the latest redhexV11GTR or redhexV11GTW from Lil' Mod thread.
Faith implies fate