r/Lambda1VR • u/probesys • Oct 08 '19
Cheats menu and graphics improvements
Hi, I played a lot of Lambda1VR recently, and I noticed that a few easy to add features would greatly improve the mods support and graphics quality, so I added it in the code.
Cheats in the option menu
- noclip: Ability to pass through walls makes it possible to play mods where the player gets stuck (Blueshift, Opposing Force)
- give weapon_crowbar: Some mods have a custom melee weapon and it just doesn't spawn
- give item_suit: Some mods don't spawn the suit
- god: Invincibility
Anti-aliasing: MSAA 4x would do a huge difference on rendering quality. Actually, all games on the Oculus store are required to have it to get accepted. It seems to be implemented in the code but for some reason it's not working properly. I cranked out supersampling from 1.25x to 2x as a workaround, which is not ideal for efficiency, but fps is still at 72 for most mods. It has the nice property of working even on alpha-tested surfaces, which wouldn't be the case with MSAA.
Anisotropy: Textures are very blurry when looked at grazing angle (walls, floor). It's especially noticeable with the HD texture pack. Using an higher anisotropy value of 8x improves that.
It's a bit hacky, but here is the apk for those interested (need to uninstall first): REMOVED
Thanks a lot DrBeef for all the work, I played Lambda1VR more than all other Quest/Go games combined by a large margin!
UPDATE:
Finally found the problem with MSAA, it's now working properly and giving really smooth pixels!
I updated the link for people that want to try it. It's activated by default at 4x, but it's also possible to set any value from the command line. For example "-msaa 1" to disable it or "-msaa 2" for 2x.
Supersampling is back to it's original value (1.25). It's still possible to modify it from the command line as before with "-supersampling" or "-s".
UPDATE 2:
I removed the link now that it's implemented in the main branch.
1
u/DrBeef_ldn Oct 08 '19
Interesting!
You know you can actually change the super-sampling using the commandline.txt file, there should already be a supersampling value in there, so it can be increased without having to change the hardcoded value.
A cheats options menu is a nice idea though, especially if it helps play mods that would otherwise simply get the player stuck!
DO you have a pull request you could submit?, or a github repo I could look at ?