Actions
Emulator Issues #13734
closed[Graphical emulation issue] Z-textures are incorrectly affected by swaptable
Status:
Fixed
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:
2503-67
Description
Game Name/ID?
Any game
What's the problem? Describe what went wrong.
Current implementation does something like the following:
tevTex = getSample(uv, tmap).agrb;
zVal = dot(tevTex, zTex) + zbias;
Where the pixel value is swizzled depending on the swaptable. When the last stage texture is used for z-texture the swizzled value is used.
From testing I determined that Z-textures are unaffected by the swaptable, so something like the following should be done instead:
rawTevTex = getSample(uv, tmap);
tevTex = rawTevTex.agrb;
zVal = dot(rawTevTex, zTex) + zbias;
Is the issue present in the latest development version?
Yes, Issue occurring as of rev 2412-225
Is the issue present in the latest release?
Yes, as of rev 2409.0
Files
Updated by flacs about 2 months ago
- File zbuff_test_hardware_fifoplayer.png zbuff_test_hardware_fifoplayer.png added
- Status changed from New to Accepted
Updated by flacs about 1 month ago
- Status changed from Accepted to Fix pending
Updated by Billiard26 10 days ago
- Status changed from Fix pending to Fixed
- Fixed in set to 2503-67
Actions