gm666q / lswtcs-vita

Loader of Lego Star Wars: The Complete Saga Android that allows to run it on a PSVita.
MIT License
42 stars 0 forks source link

Very short render distance on collactables #2

Open togguleru opened 1 month ago

togguleru commented 1 month ago

Red Brick and Blue Minikits are not visible from far in 3-1. When they do render, it's too late to move and grab them, basically forcing you to do Challenge by memorizing their locations. Issue probably also extends to regular Minikits, however they are tied to shootable object.

edit: adding short clip https://github.com/user-attachments/assets/753751cc-5844-426d-b124-1b92001fd505

gm666q commented 1 month ago

Short render distance and fog can be observed on some other levels too; I'm pretty confident that this is intentional on the game side (not caused by the loader). The game uses OpenGL vendor and renderer strings to determine the graphics settings to use, the loader set them to indicate PowerVR SGX 544MP (very close to the Vita GPU). You could spoof a more powerful GPU to make it pick a higher preset, but that will likely cause performance issues or, in the worst case, use features unsupported by the Vita GPU/not implemented in vitaGL.

togguleru commented 1 month ago

Fog is 100% there for performance's sake but the rendering can hinder the experience. Yes, you can just crash the vehicle to be send before the blue minikit, so not that big of an issue but an issue nonetheless. Pod race renders blue minikits decently, probably because it's less resource heavy.

Torpedo carriers also have similar issue in 2-1, this time however effect made by Power Orb makes the pretty noticeable.

Seems like the port was not well tested with this gpu in mind.

togguleru commented 1 month ago

TIE ships also suffer from short render distamce in 4-4's secret studs area.

Haasman0 commented 1 month ago

Short render distance and fog can be observed on some other levels too; I'm pretty confident that this is intentional on the game side (not caused by the loader). The game uses OpenGL vendor and renderer strings to determine the graphics settings to use, the loader set them to indicate PowerVR SGX 544MP (very close to the Vita GPU). You could spoof a more powerful GPU to make it pick a higher preset, but that will likely cause performance issues or, in the worst case, use features unsupported by the Vita GPU/not implemented in vitaGL.

Is it possible for you to experiment with this? It would be nice if it had better render distance and other stuff too.

gm666q commented 1 month ago

I can look into it but I'm going to prioritize the more significant issues (e.g. SFX).

Haasman0 commented 1 month ago

I can look into it but I'm going to prioritize the more significant issues (e.g. SFX).

Yes I would prefer that the sfx gets fixed first.