Emulator Issues #7755
closedSilent Hill Shattered Memories D3D flashlight issue [Viewport Issue]
0%
Description
Game Name:
Silent Hill Shattered Memories
Game ID
R5WEA4
What's the problem? Describe what went wrong in few words.
Everyone knows about flashlight issue on D3D, and galop1n branch fixes it, but his last commit was very huge, so it's really hard to find exact changes. But i found that in files: VertexShaderGen.cpp, VertexShaderGen.h, VertexShaderManager.cpp, VertexShaderManager.h, D3D/Render.cpp
all changes in these files connected with ViewportNonStandard() value fixes this
and since i'm not a coder it much likely will break some other stuff, so please some one look at this code
I also think it will fix some other D3D specified issues
Tested on latest git modiffied with this
What are your PC specifications? (including, but not limited to: Operating
System, CPU and GPU)
Core i7 4770k @4,6Ghz
GF 780 GTX Driver 340.52
Windows 7 x64
and proof screen
http://i.minus.com/iiWVTigwhotkr.jpg
Updated by JMC4789 about 10 years ago
- Status changed from New to Accepted
Can you narrow it down a bit. This seems useful. Make as small of a patch as possible to fix it.
Updated by Autoran1 about 10 years ago
Well, here's the part of galop1n's code i've used to take it down
Updated by NeoBrainX about 10 years ago
@autoran: please don't assume "everyone knows about the flashlight issue on d3d"... that sort of destroys the whole purpose of this issue report, and what's more it basically blocks anyone who hasn't worked on the original SH issues to do anything useful with this.
Updated by JMC4789 about 10 years ago
I asked Kayru and neobrain to check out the patch, hopefully one of them will be able to do something with it.
Updated by JMC4789 about 10 years ago
- Status changed from Accepted to Fixed
Fixed by 4.0-3748 -> https://dolphin-emu.org/download/dev/78deebd73281a3c4e451736d6e43bb49b7e7eaed/
I don't have this game to check, but I'm pretty damn sure this will work.
Updated by Autoran1 about 10 years ago
Amazing like the other viewport marked issues this one is fixed as well
Updated by JMC4789 about 10 years ago
Yeah... we screwed up a setting in D3D. Whoops! It was a one word change.