RigsOfRods / rigs-of-rods

Main development repository for Rigs of Rods soft-body physics simulator
https://www.rigsofrods.org
GNU General Public License v3.0
995 stars 175 forks source link

Added setting to use alternative vehicle materials #2996

Closed CuriousMike56 closed 1 year ago

CuriousMike56 commented 1 year ago

After the release of 2022.12, some players apparently prefer the other vehicle materials instead of the current NiceMetal-based materials. This brings those back by adding "Use alternative vehicle materials" to the graphics settings.

~PR is currently a draft as~ I'd like to also fix the slight flickering the materials have, introduced after 2020.01: https://streamable.com/3unrvg After tinkering with the materials a little, I managed to stop the flickering by commenting out all depth_bias lines in managed_mats_vehicles.material and changing the value in shadows.material to depth_bias -20. However, with this change vehicles now look like this when the camera is far away: image (Lowered FOV)

CuriousMike56 commented 1 year ago

Discussed this with @tritonas00 and we believe its best to just disable shadow receiving for now. screenshot_2022-12-29_02-30-37_1

tritonas00 commented 1 year ago

Works fine here.

CuriousMike56 commented 1 year ago

@tritonas00 @only-a-ptr Good to merge?

tritonas00 commented 1 year ago

Its fine with me. But we keep cycling here instead of finishing Ogre 13 port and redo the materials properly.