Advanced Post-Processing in MX Simulator

Post anything about MX Simulator here. Please. I'm begging you.
lars@crossmag
Posts: 421
Joined: Thu Nov 14, 2013 10:05 pm
Location: The Lab
Contact:

Advanced Post-Processing in MX Simulator

Post by lars@crossmag »

Image

Advanced Post-Processing in MX Simulator

This is a tutorial and a bit of a walkthrough on enabling post-processing filtering in MX Simulator. It's even simpler than you might have thought.

Image

First of all these are some example shots that I took with my current configuration that you can find for download below. No editing other than resizing it to 1280 x 720 px applied. I took these shots on RaceFactoryGaming.com's 2016 version of Anaheim 1 (High Resolution). You can find my MX Simulator graphics settings at the bottom of this post.

First Person
Image
Image

Third Person
Image
Image


Note: Now before you go on and download all the stuff that I've provided below, make sure to update your GPU's drivers first prior to trying it out. Using outdated versions of the GPU's drivers caused an immense drop of FPS for some of my testers and made it nearly unplayable for them. You'll still need a good computer for running this though, since using all those filters is very performance demanding on your PC for sure.


Installation:
This is the simplest part of getting it to work. All you need to do is dragging the files from my ZIP to your MX Simulator installation directory (NOT YOUR PERSONAL FOLDER!!!).

After you've done that, all you need to do is launch your MX Simulator like normal. Now you should easily spot a notification in the upper left of your menu screen that tells you what version of ReShade you are using and that the compiling of your effects has succeeded. If everything is working for you now, all you need to do is launch a race or session of time trial. After the track and bikes have been loaded, you should immediately notice a huge difference. The post-processing filters are successfully applied and running. You can also toggle the post-processing filters on and off using the scroll-lock key on your keyboard.


Configuration:
If everything worked accordingly, you can now start with customizing your configuration to your likings (or just keep my cofiguration). Therefore you go back to your installation directory where you pasted the files into and open the MasterEffect.h file with your favorite text editor. I myself prefer Sublime Text, but any other editor like Notepad ++ for instance is just fine.

The first things you can edit in there is setting a key for toggling the filters on and off, as well as enabling the splitscreen mode that I used for my comparison shots.
From line 25 to line 78 you can find the values for enabling the huge variety of effects that you can now use and play around with. Basically you just change the values from 0 to 1 to enable an effect and other way round from 1 to 0 for disabling. Most of the time there are very helpful basic descriptions/comments written behind those effects, so you can read first what this particular effect applies to the game.
Down from line 80 you can find all configuration parameters for any of the above listed effects, so you can fine-tune everything to your likings. Again make sure to read the comments first before typing in random values, so it won't cause any trouble or crash the game. Just try out what everything does and play around with the values a little bit.
Besides just the code, you can also edit/replace the overlay PNGs like the image noise/grain or the lensedirt that you can find in your MasterEffect folder that sits right there with the other files in your installation directory.


Uninstalling:
Uninstalling ReShade from your MX Simulator is just as easy as installing it. Just delete the before pasted files and voila. Uninstalled.


Configuration Downloads:

Completely stock configuration with everything disabled:
https://mega.nz/#!3BZR2RjC!hW-SXJfMEyWj ... YhsNMgPCg4

Best Optimization:
This is a config I'm really liking for the all-day like usage. It's not that heavy on the performance and only causes a FPS drop of maximum 15-20 frames from your usual framerate while still keeping all the key features. It uses the following effects: Technicolor color correction, Curves, Lenzflare, Depth of Field (very subtle and optimized though), sharpening, grain/noise, SMAA and the HD6 Vignette overlay. I'm getting constant 110-125 FPS with this.
https://mega.nz/#!fQAUTTDQ!hoOg89qMxp2i ... 28FZ3IHsRk

Medium Optimization:
This config is more like a combination of better quality visual effect quality but yet with a solid and a still usable framerate. It's a bit of a heavier hit and creates a drop of 25-40 FPS yet being still pretty smooth and playable. It uses the following effects: Technicolor color correction, Curves, Lenzflare, Godrays, Depth of Field (more accurate and distinctive than in the config above), sharpening, grain/noise, SMAA and the HD6 Vignette overlay. I'm getting constant 85-100 FPS with this.
https://mega.nz/#!SBJhTTaC!Y8LVc-C9SHA_ ... iaQrbc8xKA

High End PC Optimization:
This one is made for really fast computers, or screenshotting only. It's totally set up for high quality rendering and refining the features I used in the samples above. Also it's the only configuration that uses the really performance intensive Ambient Occlusion (HBAO) feature as well as a 16 bit rendering bitrate. This config uses the following effects: Technicolor color correction, Curves, Lenzflare, Godrays, Depth of Field (Very accurate and distinctive), ambient occlusion (Raymarch HBAO, very high quality), sharpening, grain/noise, SMAA and the HD6 Vignette overlay.
https://mega.nz/#!jVY2TRqK!0t_SxhDM3Q33 ... NKNaD5VAls

My old personal config (outdated):
https://mega.nz/#!XEAwzQ6J!JT-RyRT1NxH_ ... WuhpYOxQTM


Image

Color Grading with 3D LUTs

This is a tutorial about color grading with 3D LUTs. I included some of my LUTs as examples again and some ingame screenshots for before/after comparison. If you're interested on what these "Look-Up Tables" are and how they work, I highly recommend reading this great article on NoFilmSchool.com
http://nofilmschool.com/2011/05/what-is ... lut-anyway


My presets:

Supercross: High contrast, a slight tint of dark blue, a levels correction suited for "dark" stadium environments and very rich colors. This one looks best with grain enable as it mimics the "night"-feel the best.
Image
Image

Nationals Cloudy: Enhanced contrast, correct white balance for the "normal day at the track" feel, overall very realistig but rich colors. Suits tracks with cloudy or regular skyboxes and lighting.
Image
Image

Nationals Sunny: Very contrasty image, warmer white balance with slight tint of orange, high saturated colors. Suits tracks like Milville or any other extremely sunny and "warm" looking tracks.
Image
Image

Presets Download:
Here is a download for all the presets that you can see above including the neutral LUT.
https://mega.nz/#!DJYgmTiA!7QqSYvOdaMqq ... mWAyM7xu5k


Installation:
Deselect any color modifying parameters like technicolor for instance in your config file. Enable the "USE_LUT" effect on line 26 and make sure that the "iLookupTableMode" is set to "2" on line 85. Next go to your MX Simulator installation directory and open the "MasterEffect"-folder. Delete the PNG named "mclut3d.png" from this folder and replace it with a 3D LUT of your choice. Just make sure to rename the file that you placed to "mclut3d.png" so ReShade can locate it and successfully load it into the game.


Creating your own 3D LUT
This is very simple again. Launch MX Simulator with any color correction effects disabled and start a race or time trial session on a track of your choice. Go to either first or 3rd person riding mode and then just simply take a regular screenshot within your game.

The next thing you want to do is simply loading the screenshot that you've taken before in a new Photoshop document. Next you take the Neutral 3D LUT that I've included in my example pack that I've uploaded with this post. Just place the LUT anywhere in the image but just one layer above you screenshot.

The main thing for the creation of your own LUT is creating some adjustment layers above your LUT and screenshot layer. That could be either levels, curves, brightness/contrast or any one of the available options as long as it just modifies the color of your base screenshot. Play around with the adjustment layers until you're liking the color correction/grading that you've added to your screenshot.

So basically this is about it. Just duplicate the Neutral LUT layer you placed in the first step and all of your adjustment layers that are placed above it. After you've done that, you merge the duplicated layers to just one single layer. This single layer now contains all of your color correction information. The last step would be cropping the layer to 256 x 16 pixels so only the LUT is left on it and then saving it as a PNG.

If you've done everything correctly. Your screenshot will now look exactly the same as your ingame colors when you've loaded it into the game afterwards. If you already forgot about how to install these, read the installation chapter carefully again. The coolest thing about it is, that you could always create a LUT after you've regulary edited a screenshot with the method described above.


Advanced Graphics Setup (Ingame):
Ground Geometric Detail: 100.00
Ground Texture Levels: 10.00
Ground Texture Resolution: 512x512
Enable Ground Mipmaps: Yes
Compress Textures: No
Terrain Rendering Method: Shaders/Direct
Use Shader Programs: Yes
Model Geometric Detail: 100.00
Model Texture Detail: 10.00
Roost Density: 0.00
Enable Lens Flares: No
Enable Reflections: Yes


My PC Setup:
OS: Windows 10
GPU: AMD Radeon R9 280, 3GB
CPU: Intel Core i5 4690
RAM: 8GB Crucial Ballistix Sport DDR3-1600
SSD: Crucial BX200 250GB (OS)
HDD: WD Black 2TB (MX Simulator)


Useful links:
How to correctly install new GPU drivers: http://forum.mxsimulator.com/viewtopic.php?f=17&t=3004
ReShade: http://reshade.me/
MasterEffect ReBorn: http://reshade.me/forum/shader-presenta ... ial-thread


Credits:
The whole team from ReShade for creating this awesome post-processing framework that also works for OpenGl based games
Marty McFly for providing his compilation of filters with his MasterEffect shadersuite
Ben McLeod, Toby Stocks and Jackson Semmens for beta testing
JLV for this awesome game (that now looks even better)


Note and Disclaimer:
English isn't my first language so please understand that there will be some misspellings and grammar fails here and there. I tried my best on writing some stuff that anyone can understand though :lol: Please note that this is still for testing purposes only and I take no responsibility/liability if something doesn't work correctly. This is just a guide how you can use the ReShade filters and MasterEffect shader-suite with MX Simulator and you are doing all of this at your own risk.
Last edited by lars@crossmag on Wed Jan 20, 2016 9:20 pm, edited 1 time in total.
John23
Posts: 2961
Joined: Tue Oct 28, 2014 12:38 am

Re: Advanced Post-Processing in MX Simulator

Post by John23 »

yeah, you will need a good pc for this. I have a 960 and on lower settings than you, I am locked at 14 FPS
jlv wrote:This post is useless.
theargeman123
Posts: 379
Joined: Fri Jan 03, 2014 11:41 pm
Team: Bud Clan
Location: NEPA

Re: Advanced Post-Processing in MX Simulator

Post by theargeman123 »

John23 wrote:yeah, you will need a good pc for this. I have a 960 and on lower settings than you, I am locked at 14 FPS
somethings not right there
Andy_Hack
Posts: 2441
Joined: Mon Nov 01, 2010 11:47 am
Team: SplitFire
Location: Germany/Bavaria
Contact:

Re: Advanced Post-Processing in MX Simulator

Post by Andy_Hack »

I'm honestly not really impressed.
*fancy signature*
d4u5d6u7 wrote:good staff, nice skins, like
KaseoDip
Village Idiot
Posts: 1876
Joined: Sat Feb 04, 2012 10:39 pm
Team: Tegridy Farms
Location: Kansas

Re: Advanced Post-Processing in MX Simulator

Post by KaseoDip »

Definitely looks good, just getting 30 fps.
James_122
Posts: 4271
Joined: Wed Mar 07, 2012 8:50 pm
Team: Channel 4 News
Location: News Room

Re: Advanced Post-Processing in MX Simulator

Post by James_122 »

Andy_Hack wrote:I'm honestly not really impressed.
Lol
Racers52
Posts: 3216
Joined: Sun Feb 03, 2013 8:10 pm
Location: Texas
Contact:

Re: Advanced Post-Processing in MX Simulator

Post by Racers52 »

Pretty cool. Andy... you just Andy... :wink:
James Webb
Posts: 835
Joined: Wed Jan 02, 2013 1:26 am
Team: Evergood

Re: Advanced Post-Processing in MX Simulator

Post by James Webb »

Looks awesome, my game gets locked at 8 fps no matter what though lol :/
yzmxer608
Posts: 15352
Joined: Mon Dec 29, 2008 4:30 am
Team: SYS
Location: Wisconsin, U.S.A

Re: Advanced Post-Processing in MX Simulator

Post by yzmxer608 »

You can get vivid colors and whatnot, but for racing I would find it annoying to use, especially any effects (like dof), would just get in the way and be harder to concentrate. Plus it's not like a game like Skyrim where ENB can totally change the way it looks and plays, you don't want super dark contrasty tracks like a dungeon or something. Also most of what would make the game look better is on jlv's end (which he has plans for I'm pretty sure, with reflections at least).

Just my opinion, seems cool to mess with and for screenshots (I played around with the program Shadow found a long time ago, and the one Pulse posted about), but not for using all the time. Good work setting it up and the tutorial though :).
TeamHavocRacing wrote:If I had a nickel for every time someone asked for this, I would have a whole shitload of nickels.
lars@crossmag
Posts: 421
Joined: Thu Nov 14, 2013 10:05 pm
Location: The Lab
Contact:

Re: Advanced Post-Processing in MX Simulator

Post by lars@crossmag »

Thank you for all the replies! After all those confirmations that the performance is pretty weak on many computers, I'll take a further look into optimization later.

As I already said it's very important to have the latest GPU drivers up and running as this will affect your overall performance heavily. Disabling the ambient occlusion will generate a massive gain of fps as well. Tonight I'll focus entirely on enhancing the overall performance at a minimal loss of graphics quality based on my old configuration.

As Nate already said, it's cool for playing around with for screenshots, but I believe you can easily improve/modify the config for gameplay purposes only. I'll also look into that too.

If JLV could unlock this thread for me, I'll keep this post active and will update it with some more information on optimization, as well as a showcase video to show you what all those filters apply to the game. I'll also add some more configurations for different purposes of usage.
onefoureight
Posts: 924
Joined: Sun Dec 23, 2012 2:54 am
Team: Not Splitfire
Location: Shit Posting Capital of the world

Re: Advanced Post-Processing in MX Simulator

Post by onefoureight »

Andy_Hack wrote:I'm honestly not really impressed.
Is it bad I expected a comment like that?

hahahahahahahah
2015 Australian Supercross 450 champion | rF Villain | Wolf Pack Racing Leader | CBL Gaming
James_122
Posts: 4271
Joined: Wed Mar 07, 2012 8:50 pm
Team: Channel 4 News
Location: News Room

Re: Advanced Post-Processing in MX Simulator

Post by James_122 »

Why alter my games performance for a screenshot when I can do the same thing in Photoshop?
lars@crossmag
Posts: 421
Joined: Thu Nov 14, 2013 10:05 pm
Location: The Lab
Contact:

Re: Advanced Post-Processing in MX Simulator

Post by lars@crossmag »

James_122 wrote:Why alter my games performance for a screenshot when I can do the same thing in Photoshop?
Because A this is a legal way on how to archieve good looking screenshots (considering that probably 90% of the people in this community use pirated versions of Photoshop).

B: You can toggle it on and off in just one second. So if it's toggled off you won't notice any loss of performance.

C: You don't have to edit your screenshot for like a full hour to make it even look good.

Sure completely editing you screenshots in Photoshop will achieve a higher quality in the end, but by no means as quick and easy as with this solution. So I kinda agree and disagree with you at the same time.
John23
Posts: 2961
Joined: Tue Oct 28, 2014 12:38 am

Re: Advanced Post-Processing in MX Simulator

Post by John23 »

lars@crossmag wrote:(considering that probably 90% of the people in this community use pirated versions of Photoshop).
Image
jlv wrote:This post is useless.
lars@crossmag
Posts: 421
Joined: Thu Nov 14, 2013 10:05 pm
Location: The Lab
Contact:

Re: Advanced Post-Processing in MX Simulator

Post by lars@crossmag »

John23 wrote:
lars@crossmag wrote:(considering that probably 90% of the people in this community use pirated versions of Photoshop).
Image
Sorry to dissapoint you John, but at least I'm not lazy af and trying to tell people kooky stories about going to military college to get a new computer. Try trolling someone else.
Post Reply