(04-18-2013, 06:26 AM)degasus Wrote: dEnigma:It's nice of you to assume I could do that, but even if I had time, I think I wouldn't be up to the task
Just implement this shaders. It shouldn't be as hard as discribed there. And I don't think two passes would speed up (much), so this can be implemented easyly in dolphin.
[Shader] FullScreen Smoothing + Scanlines
|
05-11-2013, 04:23 AM
Interesting. Its dead easy and pretty difficult to go wrong. This is a very useful thread that will be reference long into the future...thanks for this.
@ degasus: Hello, thank you for your suggestion. I didn't even know anybody was talking in this thread since I last posted. I never got an email notification until today's post. Unfortunately, I don't excel in this type of thing because I haven't studied it. My talents lie in Art and Kinetic Imaging, not irl Coding. I am a quick learner and I may take up a course in a class (if I don't get too old first) but for right now, I need that cash I 'edited' this together (as stated in file) from the Nightvision filter. I put it together because of failed request attempts. People kept saying "why, what's the point, I'm not doing useless things, etc." and I just wanted to have the 2 basic features that every other emulator has because it is the most used thing for me with every emu, pc game (if it exists), etc. I found the pattern and experimented with it to make what I wanted. However, if you or anyone else would like to make the adjustments so that the coding would be optimized, that would be fine and I would probably use that one instead because I like having all the best things. Who's waiting for these filter features to be able to be used with dx11 with 3DVision? This guy! xD
Take it easy and have a good one. 05-11-2013, 08:14 AM
@shinra: I don't talked about coding - I talked about signal processing, but I'm sure this is also useful and even needed for digital art. In signal processing, the windowing function is one of the best method to describe a "filter" (eg blur, edge detection, sharpning ...). http://en.wikipedia.org/wiki/Windowing_functions Maybe you've heard about a gaussian blur? The gaussian window function is draw on wikipedia :-)
But don't wait for a dx11 postprocessing implementation :-P 05-26-2013, 10:28 PM
(04-14-2013, 03:54 AM)shinra358 Wrote: I don't know if something like this has already been made or not but this is a fullscreen smoothing filter with scanlines shader (similar to that of which is on EPSXE with Pete's Opengl 2.9 plugin) that I made. The fullscreen smoothing, scanline thickness, and scanline opacity can all be edited individually to suit each person's resolution/taste. Edited meaning the ability to turn one or the other off/on and the smoothing intensity level, scanline thickness level, and scanline opacity levels. Here are some screenshots with a few combinations in 1920x1080 internal dolphin resolution:I downloaded the file and put the *.txt in the shaders directory of dolphin. I'm using OpenGl and activated the correspondending shader. Right now I don't have any effect. How can I tell dolphin to use the different values of you shader? I also get an error "failed to compile pixel shader". And this is the user dump: Quote:;//Fullscreen Smoothing + Scanlines Filter by ShinRa358 (Edited from nightvision2scanlines)Any suggestions?
float vPos = uv0.y*resolution.y / 3; // <--- # to the left of the ';' for scanline thickness [Higher# = THICKER / Lower# = THINNER] ***DON'T GO BELOW 2*** | ***9999 = SCANLINES OFF***
float line_intensity = (((vPos - floor(vPos)) * 9) - 4) / 50; // <---# to the left of the ';' for scanline darkness [Higher# = LIGHTER / Lower# = DARKER] ***DON'T GO BELOW 25*** float smoothing_size = 1.0; // <--- # = [Higher# = MORE SMOOTHING / Lower# = LESS SMOOTHING] ***0 = SMOOTHING OFF*** I don't know about your error because I'm not getting it. My resolution on my monitor is 1920x1080. That is what I play dolphin in and on lesser resolutions in windowed mode. Is your resolution higher than that (even though I don't know if that has anything to do with it or not)? Your specs are up to par to play dolphin decently correct? Also post screenshot of the effect that you are getting so that others can see and maybe they would have something to add. 05-27-2013, 01:35 AM
(05-27-2013, 12:01 AM)shinra358 Wrote: I don't know about your error because I'm not getting it. My resolution on my monitor is 1920x1080. That is what I play dolphin in and on lesser resolutions in windowed mode. Is your resolution higher than that (even though I don't know if that has anything to do with it or not)? I use a 3,2 Ghz Quadcore and a 560TI and 8 GB ram, without the shader the emu runs good with Resident Evil 0. I will try the whole thing on a windows 7 machine since I only tested on my second Windows XP installation. Maybe it's because of that. I use 1920x1080 and 1600 x 1320 native. This here is the warning message at startup. After the message the emulator starts, without the shader of course. 05-27-2013, 06:51 AM
This shader is written for the current development version of dolphin. I guess you've tried it with the stable 3.5 release?
On glsl merge, the syntax for postprocessing shaders has changed, so they can't be mixed. 05-27-2013, 06:42 PM
(05-27-2013, 06:51 AM)degasus Wrote: This shader is written for the current development version of dolphin. I guess you've tried it with the stable 3.5 release?Oh yeah forgot to mention. Tested with 3.5 and 3.5 - 367. Doesn't work with the latest though. So for what version is this shader? |
« Next Oldest | Next Newest »
|
Users browsing this thread: 1 Guest(s)