Skip to content

Graphical issues in iDOLM@STER SP PS/WS/MM (ULJS00167, ULJS00168, ULJS00169) relating to hair textures #12376

Closed

Description

@melipog

What happens?

The hair specular effect on character models completely fails to render on PPSSPP under all backends, including software rendering.

What should happen?

The hair specular effect should render correctly as is the case on real hardware and the the Vita's PSP emu.

What hardware, operating system, and PPSSPP version? On desktop, GPU matters for graphical issues.

OS: Windows 10 64bit
GPU: NVIDIA RTX 2060
CPU: AMD RYZEN 5 2600X
PPSSPP Version: v1.9.2-14-g633d1e761 (Note: This issue has been a thing since at least the 2015 builds of the emulator going by some old screenshots I've taken, though I only noticed it recently.)

Screenshots

PPSSPP Software Renderer (Though all backends produce a similar effect)
image
Vita built-in PSP emulator
image
Screenshot from official PS Store listing of iDOLM@STER SP Wandering Star
image
Supplementary screenshot showing how the girl on the left of the PS Store screenshot looks like in PPSSPP
2019-09-29_EUJOEfy9Nn

Debug log with dump of the next frame (next frame dump starts at line 1292127)

ppsspplog.zip

GE Debugger Screenshots

Many screenshots

2019-09-29_0le6OxYK4Y
2019-09-29_xUQqASK70R
2019-09-29_4QGDI8i9us
2019-09-29_0MOm9bnDTs
2019-09-29_c1PpbWQ8vZ
2019-09-29_GfI8BXXa5X
2019-09-29_ZrhRJMdh8d
2019-09-29_TVpNJWUKGk
2019-09-29_WsWlnb6XBc
2019-09-29_oAV3HVHU7x
2019-09-29_WhS0K4DISm
2019-09-29_srPZVKMyfT
2019-09-29_3sQKMZm7ok
2019-09-29_y6haflr5iY
2019-09-29_ay9rrVY2Ob

Activity

  1. added this to the Future milestone on Sep 30, 2019
  2. unknownbrackets commented on Oct 6, 2019

    @unknownbrackets
    Collaborator

    Could you try exporting a GE frame dump? These help a lot.

    See here for instructions - it's not hard and works on Android too:
    https://github.com/hrydgard/ppsspp/wiki/How-to-create-a-frame-dump

    You can zip that and then drag and drop it into a reply here.

    -[Unknown]

  3. melipog commented on Oct 9, 2019

    @melipog
    Author

    The ppsspp debugger site gave me a blank page on latest stable chrome so I recorded it using the other method.
    ULJS00168_0001.zip
    EDIT: I had remote debugging enabled, of course.

  4. unknownbrackets commented on Oct 12, 2019

    @unknownbrackets
    Collaborator

    I think it's using texenv mapping at 849/1884. It doesn't seem to be blending the expected colors in (even based on what's highlighted in the GE debugger.)

    -[Unknown]

  5. unknownbrackets commented on Oct 12, 2019

    @unknownbrackets
    Collaborator

    See #12413 about the debugger access issue.

    -[Unknown]

  6. melipog commented on Oct 12, 2019

    @melipog
    Author

    I've kinda managed to get remote debugging to work. Will post some comments in the associated issue later.
    Is there anything I can to do to help with this issue, by the way?

  7. unknownbrackets commented on Jan 9, 2022

    @unknownbrackets
    Collaborator

    The texenv lighting effect starts at 849/1884 - 933/1884, but is used again at 934/1884 - 950/1884, for the hair specifically.

    Here's the PSP rendering of that frame dump:
    Shine on hair half way down

    Light 1 is disabled, but used for T. Its position is 0,0,0 for all involved draws. If I disable its usage (only mapping S), I get some shine, although it's incorrect. Here's what that looks like:
    Shine well above where it should be

    There are normals, though, which looks reasonable. World matrix is an identity. The specular coefficient is 1.0. Both lights are directional throughout.

    Increasing S lowers the shine to about the right position roughly (but the wrong shape.) If, on the other hand, I take S as specular (it does have diffuse + specular enabled), I get this:

    Shine with about the right shape, but too harsh

    This is still with T using the original V. It's closer to correct, at least in shape and position, although overly harsh.

    Anyway, this gives some interesting ideas to test for UV gen based on lighting.

    -[Unknown]

  8. modified the milestones: Future, v1.21 on Sep 30, 2026
  9. hrydgard commented on Sep 30, 2026

    @hrydgard
    Owner

    This should be fixed now with #22399.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions