Page 2 of 2

Re: Reshade Effects in Oolite

Posted: Thu Sep 24, 2015 8:48 pm
by another_commander
Toying with Reshade: Oolite in black & white, with plenty of filmgrain and CRT scanline fx applied. Looks like a retro movie a bit.
Image

Image

Re: Reshade Effects in Oolite

Posted: Thu Sep 24, 2015 9:24 pm
by Layne
another_commander wrote:
Toying with Reshade: Oolite in black & white, with plenty of filmgrain and CRT scanline fx applied. Looks like a retro movie a bit.
It was another typical day in Zaonce; all days in Zaonce are typical. /This planet is a tedious place./ Well, between the locals in their grey-toned, tall-collared, bland as curdled milk and stiff as a dried fish expressions, and the traders peddling their cargoes of Laveian grubs and air processors, I'd just about given up on the day and returned to the bottle that tucked me in the night before.

Then she walked in. When a fella sees legs like that, he usually expects a giraffe to follow them, or at least a Queen Anne desk. I could tell she wasn't the typical client right off the mark-- most clients wait until after I've named a price before pulling a gun, but she was an over-achiever. I didn't waver. When you get to be my age, another bullet scar, more or less, isn't likely to be a big impediment to your social life...


Oolite Noir.

Re: Reshade Effects in Oolite

Posted: Mon Apr 17, 2017 1:37 pm
by another_commander
Reshade is now on version series 3.0.x and has been open sourced for a while now. The FX injector has basically received a rewrite that makes its interface much simpler to use and it can be used in-game and apply effects real-time. Here is a quick tutorial on how to set up this version to work with the Windows version of Oolite. Note: OpenGL 4.3 support is the minimum requirement.

The latest version of the app has some problems with Oolite, so we want to get one of the slightly earlier ones. Versions up to and including 3.0.4 are fine, so we can use 3.0.4 for this. You can download the older version from the online repository in the link below.
https://www.mediafire.com/folder/8ar1jh ... 1ko4203njp
Warning: This is a mediafire link.
Be very careful where to click to download the app because mediafire is doubleplus evil and I wish people stopped using it forever. Anyway, once you download 3.0.4, all you have to do is run it. It will ask you to point it to the game of your choice. Click the big "Select game" button and browse.
Image
You want to select the oolite.exe inside oolite.app.

Once done, Reshade will try to autodetect the graphics API used (DirectX or OpenGL) and will wait for confirmation.
Image
Click on the already selected OpenGL radio button to confirm API auto-detection.

Next, you will be asked whether you want to download some already prepared effects, currently stored on github.
Image Image
Choose the ones you want and go ahead to download. Once the download is compelte, you are done.

Close the Reshade installer and go to your Oolite folder. You will notice one added folder and two new files. The folder contains the downloaded shaders and the new files are the opengl32.dll injector dll and the associated ini file. We are good to go.
Image

Launch Oolite normally. You will see that Reshade is now injecting its code in the game, as you will see its startup message during game launch.
Image
Initially all looks just like it always had, because no effects have been applied yet. To apply, we need to bring up the in-game interface. Default key-combo for that is Shift-F2 but I would recommend changing that to something like F9 or F10, because F2 is in use by the game and it makes you switch to rear view at the same time you bring up the Reshade window. The first time you open that window, it will start a very brief 3-step mini-tutorial, where it will ask you to define a settings file for Oolite for storing information about the shader parameters in use and for enabling quick startup of all preferred effects whenever the game launches.
Image
It will then proceed to explain the two parts of the window, namely the effects enable-disable list
Image
and the individual effects parameters directly below it.
Image
You can switch effects entirely on or off using the check boxes in the top and adjust individual effect parameters on the bottom, always while running the game. There is a lot of experimentation to be had. The combinations are practically endless and some use up more system resources than others, so you will definitely have to fine tune it for your system. There is no predefined works-for-all combination. However, some of those effects are really nice and most likely worth the time spent setting them up, as they can enhance the experience significantly. I like the HDR, light bloom and colorization effects, but others may prefer more exotic effect types. Play and experiment and see what works for you.

Each effect can be assigned a toggle hotkey combo and hotkeys can be assigned to the entirety of the effects suite in order to turn them all instantly on or off. Your changes are saved automatically in the ini file you specified at the first step of the in-game tutorial and will be applied automatically upon restart. A clock and an FPS counter are also available from within Reshade, Settings tab.
Image

Enjoy! Here is Oolite running in monochrome, courtesy of Reshade:
Image Image

Re: Reshade Effects in Oolite

Posted: Tue Apr 18, 2017 7:17 pm
by pleiadian
This does not work for me. I get this on a stock 1.84 with only my DeeperSpace HUD and Combat MFD installed:

Image

No idea how to proceed. I have a Radeon HD 7700 series card with 2 GB RAM, so it's definitely able to do shaders.

Re: Reshade Effects in Oolite

Posted: Tue Apr 18, 2017 8:01 pm
by another_commander
Looks like this is an error on a particular effect (FXAA). If this is the only occurrence, try to disable completely that effect. It could be a driver related problem. In any case, you need OpenGL 4.3 as minimum for this to work, so make sure that your gfx card and drivers support it. I updated my previous post with this information.

Re: Reshade Effects in Oolite

Posted: Wed Apr 19, 2017 12:02 pm
by pleiadian
So I can confirm that my card is definitely able to do OpenGL 4.3. I'll see what happens if I remove the "offending" shader and what it does.

Either way, I tried on my live installation, meaning the one I play my real commander with... something funky happens: The spinning Cobra seems have to disappeared, only a few polygons appear and disappear but you can still see the model spinning.

Since this is not happening on a stock 1.84, I can only assume that maybe there is a conflict with Griff's shader ships?

Re: Reshade Effects in Oolite

Posted: Wed Apr 19, 2017 4:25 pm
by another_commander
pleiadian wrote: Wed Apr 19, 2017 12:02 pm
Either way, I tried on my live installation, meaning the one I play my real commander with... something funky happens: The spinning Cobra seems have to disappeared, only a few polygons appear and disappear but you can still see the model spinning.

Since this is not happening on a stock 1.84, I can only assume that maybe there is a conflict with Griff's shader ships?
This sounds to me like the issue I was seeing on the NVidia cards with v3.0.7. I would suggest trying a different 3.0.x version, if it is not too much trouble. If the problem is not solved this way, then I am not too sure what to tell you, other than making sure that the card runs on latest drivers (or it could be something related to Griff's ships, not sure). I did try to report the issues I had with 3.0.7 on NVidia, but unfortunately the github repository for Reshade does not have an Issues tab that we can use.

Re: Reshade Effects in Oolite

Posted: Wed Apr 19, 2017 6:53 pm
by another_commander
This is what JJ Abrams Oolite would look like. Normal screenies above, same ones reshadered below.

Image
Image
Image



Image
Image
Image

Link to ini file generating those: https://drive.google.com/file/d/0BwG6R5 ... sp=sharing
Best if you don't try this on anything lower than a GTX 960 or equivalent.