Project

General

Profile

Actions

Emulator Issues #9489

closed

Allow user adjustable anaglyph 3D shader colors

Added by ryanebola16 about 8 years ago. Updated over 7 years ago.

Status:
Invalid
Priority:
Normal
Assignee:
-
% Done:

0%

Operating system:
N/A
Issue type:
Bug
Milestone:
Regression:
No
Relates to usability:
No
Relates to performance:
No
Easy:
No
Relates to maintainability:
No
Regression start:
Fixed in:

Description

I'm not too familiar with the workings of anaglyph 3D so fell free to correct me if I'm misunderstanding something.

See the attached images for pictures taken through the red and cyan lenses of my 3D glasses. The cyan lens produces a pretty clear image but the red one doesn't. I'm assuming that I'll need to adjust the color of the shaders in Dolphin to resolve this problem. If this is something that you don't want users to be able to change, can you tell me how to manually change the shader color when compiling Dolphin? I downloaded Visual Studio but I haven't looked at how to use it yet.

What are your PC specifications? (CPU, GPU, Operating System, more)

Win 10 Pro x64
Intel Core i7-4702MQ CPU @2.20GHz
GeForce GT 750M
GeForce Game Ready Driver 364.72


Files

Red Left.jpg (718 KB) Red Left.jpg ryanebola16, 04/15/2016 01:51 PM
Cyan Right.jpg (680 KB) Cyan Right.jpg ryanebola16, 04/15/2016 01:52 PM
NORMAL.PNG (1.34 MB) NORMAL.PNG ryanebola16, 04/17/2016 08:50 PM
Actions #1

Updated by JosJuice about 8 years ago

Is this the same issue as the following one? https://bugs.dolphin-emu.org/issues/8388

Actions #2

Updated by ryanebola16 about 8 years ago

Not quite. The other issue wants to add new color combinations but it wouldn't allow users to manually adjust those colors. That feature request wouldn't help my problem as red-cyan is already implemented but I need to make adjustments to the color for proper display.

Actions #3

Updated by ddnava96 about 8 years ago

Could you upload a screenshot of the game? I mean, not a photo through the glasses
I'm pretty sure it's a problem with your glasses (A glimpse of cyan light through the red lens), since it's a very common issue, but a screenshot would really help. It could also be a screen issue, tho (If it's a tv, it's more likely to be a tv post-processing issue. You should try to disable all post-processing filters the tv could add, since it also creates lag. Most tv's have this option as a Game or Graphics video mode)
Also, you should try the green-magenta combination. It has less noticeable artifacts and is way more comfortable than the red-cyan combination (let's not start talking about biology). The only caveat is that green-magenta anaglyphic is only available on OpenGL (Yes, I'm the one who requested it).

Actions #4

Updated by ryanebola16 about 8 years ago

Yes the problem likely is that my glasses have slightly different colors than what Dolphin expects. I'm hoping that the solution I am proposing will be easy to implement as it should resolve the problem regardless of display settings or differences in filter color. Simply changing an RGB color value or editing an image in Photoshop is no problem for me.

I'd try green-magenta if I had the glasses but I don't. I spent a whole dollar on these red-cyan glasses so I'd like to be able to use them!

I attached the image with no 3D filters applied. The images taken through my glasses were displayed on my laptop's screen without any other post-processing filters.

Actions #5

Updated by ryanebola16 almost 8 years ago

Now that 5.0 has been released I'd like to look into this issue again. I have Visual Studio 2015 but I've only used it to compile a debugfast version of Dolphin. If I could be told the file(s) or code(s) that control the anaglyph shader color I'd be willing to try editing it myself.

Actions #6

Updated by Armada over 7 years ago

Stereoscopy support in the OpenGL backend supports different Anaglyph shaders. When setting the stereoscopy mode to Anaglyph the post-processing shader will switch to an Anaglyph shader.

The default is the dubois shader, but you can select other shaders. You can even write your own shader if you want to completely customize it, you don't need to recompile Dolphin, you can just put the shader into your Documents\Dolphin Emulator\Shaders\Anaglyph folder. You can see an overview of the source code of the default shaders here: https://github.com/dolphin-emu/dolphin/tree/master/Data/Sys/Shaders/Anaglyph

Note that the type of color bleeding you've shown is normal for anaglyph glasses if you want to see a bit of color. If you're fine with not showing any color you can select the grayscale shader which should have less color bleeding.

Actions #7

Updated by ryanebola16 over 7 years ago

I didn't realize Dolphin can load custom anaglyph shaders from Documents\Dolphin Emulator\Shaders\Anaglyph. Since that allows me to relatively easily modify the shader this issue can be closed.

I'm still hoping that DirectX (including DX12) gets post-processing shaders but that issue has already been made.

Actions #8

Updated by JosJuice over 7 years ago

  • Status changed from New to Invalid

I'm closing the issue then.

Actions

Also available in: Atom PDF