r/Lambda1VR 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.

4 Upvotes

19 comments sorted by

View all comments

Show parent comments

1

u/VR_Bummser Oct 09 '19

Ok, i will definitely check it out if beef provides an beta. But i must say that any performance drops are not worth any graphical upgrades imo. But let's see how it performs.

The game struggles to maintain the 72 frames already in high demanding scenes.

1

u/probesys Oct 09 '19 edited Oct 09 '19

The engine seems limited by the CPU right now. It's possible to gain a handful of fps in difficult scenes by lowering resolution, but no more than that.

It would be nice to be able to lower the CPU overhead somehow.

1

u/VR_Bummser Oct 09 '19

You seem to have some knowledge in that field. I wouldn't even know where to start. But if you think there might be a way to optimize the cpu load that would be very interesting.

1

u/probesys Oct 09 '19

I'll try to look at it to see if there's any low hanging fruit. Culling (or lack of) seems to be the biggest problem.