Emulator Issues #3454
closed
Star Wars The Force Unleashed: Broken Character Lighting and Shading since r2971
Added by Hefran64 about 14 years ago.
Relates to performance:
No
Relates to maintainability:
No
Description
What steps will reproduce the problem?
- Run Star Wars The Force Unleashed using OpenGL or Direct3D9 graphic plugins.
- Enter Duel or Story mode.
What is the expected output? What do you see instead?
Dynamic lighting and shading effects on character models are broken on hardware plugins (see attached images). The software renderer produces a correct image.
Dolphin version with the problem? Other Dolphin version without the
problem?
The last build which displayed correct Lighting AND Shading on Hardware plugins was r2971.
OS version and versions of tools/libraries used?
Tested on Win XP and Win7 x64, using Nvidia GeForce GTX 275 with latest drivers.
Please provide any additional information below.
The shading and lighting effects were broken by the texture scaling changes in r2972. Character shadows and shine effects have been broken since then.
Have you tried to set in the graphic plugin EFB scale to "integral" instead of "fractional"? (In Force Unleashed 2 doing so results in no graphic glitches)
Thanks for the tip, but this is an issue with texture handling in hardware plugins, and has little to do with EFB.
It was introduced in r2972, which was committed long before EFB scaling was implemented.
Judging by how long ago that commit was, are you sure the current behavior isn't the correct behavior? Have you tried verifying against the real hardware to verify whether or not this is actually a bug?
Top screenshot is way too dark, so I would reckon the current implementation is more correct.
- Status changed from New to Fixed
This issue was closed by revision r6504.
Okay, looks like I was wrong about it possibly being more "correct". Nice to see another issue nailed.
Indeed it has been fixed. Thanks again donko!
Also available in: Atom
PDF