Emulator Issues #1446
closedD3D: Problem with shaders in sms underwater
0%
Description
What steps will reproduce the problem?
- Load sms, go to delfino plaza.
- Run backwards and hop in the water.
- Press the b button several times to dive.
What is the expected output? What do you see instead?
Everything should be colored blue; instead the colors are inverted and
darkened so it looks blackish-red. Looks like a problem with the colors
getting mixed up.
Please use labels and text to provide additional information.
Probably a problem with a pixel shader?
Above water, I get this (debugfast, loglevel 5):
9:07:937 I[PE]: VIDEO Plugin raises INT_CAUSE_PE_TOKEN (btw, token: 007d)
29:07:937 I[PE]: VIDEO Plugin raises INT_CAUSE_PE_TOKEN (btw, token: 007d)
29:07:937 I[PE]: VIDEO Plugin raises INT_CAUSE_PE_TOKEN (btw, token: 007d)
29:07:937 D[PE]: (r16) 0xcc00100e
29:07:937 I[PE]: (r16) TOKEN_REG : 007d
29:07:937 D[PE]: (r16) 0xcc00100a
29:07:937 I[PE]: (r16) CTRL_REGISTER : 0003
29:07:937 D[PE]: (w16) CTRL_REGISTER: 0x0007
29:07:953 I[PE]: VIDEO Set Finish
29:07:953 D[PE]: (r16) 0xcc00100a
29:07:953 I[PE]: (r16) CTRL_REGISTER : 0003
29:07:953 D[PE]: (w16) CTRL_REGISTER: 0x000b
Below water, I get this:
29:57:031 I[PE]: VIDEO Plugin raises INT_CAUSE_PE_TOKEN (btw, token: 007d)
29:57:031 D[PE]: (r16) 0xcc00100e
29:57:031 I[PE]: (r16) TOKEN_REG : 007d
29:57:031 D[PE]: (r16) 0xcc00100a
29:57:031 I[PE]: (r16) CTRL_REGISTER : 0003
29:57:031 D[PE]: (w16) CTRL_REGISTER: 0x0007
29:57:031 D[PE]: (r16) 0xcc00100a
29:57:031 I[PE]: (r16) CTRL_REGISTER : 0003
29:57:031 D[PE]: (w16) CTRL_REGISTER: 0x000b
29:57:093 I[PE]: VIDEO Plugin raises INT_CAUSE_PE_TOKEN (btw, token: 007c)
29:57:093 D[PE]: (r16) 0xcc00100e
29:57:093 I[PE]: (r16) TOKEN_REG : 007c
29:57:093 D[PE]: (r16) 0xcc00100a
29:57:093 I[PE]: (r16) CTRL_REGISTER : 0003
29:57:093 D[PE]: (w16) CTRL_REGISTER: 0x0007
29:57:093 I[PE]: VIDEO Plugin raises INT_CAUSE_PE_TOKEN (btw, token: 0000)
29:57:093 D[PE]: (r16) 0xcc00100e
29:57:093 I[PE]: (r16) TOKEN_REG : 0000
29:57:109 D[PE]: (r16) 0xcc00100a
29:57:109 I[PE]: (r16) CTRL_REGISTER : 0003
29:57:109 D[PE]: (w16) CTRL_REGISTER: 0x0007
29:57:125 I[PE]: VIDEO Set Finish