Skip to content

Instantly share code, notes, and snippets.

View ramonmeza's full-sized avatar

Ramon ramonmeza

View GitHub Profile

Additional settings for Tokyo Xtreme Racer, HDR, VSM, Streaming, Weather, Time of Day and more

This UE4SS script will allow you to adjust render settings in Tokyo Xtreme Racer.

This allows you to:

  • Enable 10 bit HDR Display Output, requires HDR enabled in Windows settings
  • Enable Virtual Shadow Maps, more crisp and accurate shadows
  • Disable textures streaming. Game will load all texture assets on level load to reduce CPU overhead at a cost of memory usage. Requires 8GB GPU or better.
  • Enable lowest possible settings for a low end hardware, to improve compatbility with old hardware, run game with -dx11 launch argument.
  • Control time of day with key bindings
@bramreth
bramreth / Godot4FPS.gd
Last active December 26, 2024 00:40
The code for a first person movement youtube tutorial in Godot 4
extends CharacterBody3D
const SPEED = 5.0
const JUMP_VELOCITY = 4.5
# Get the gravity from the project settings to be synced with RigidDynamicBody nodes.
var gravity: float = ProjectSettings.get_setting("physics/3d/default_gravity")
@onready var neck := $Neck
@onready var camera := $Neck/Camera3d
@myusuf3
myusuf3 / delete_git_submodule.md
Created November 3, 2014 17:36
How effectively delete a git submodule.

To remove a submodule you need to:

  • Delete the relevant section from the .gitmodules file.
  • Stage the .gitmodules changes git add .gitmodules
  • Delete the relevant section from .git/config.
  • Run git rm --cached path_to_submodule (no trailing slash).
  • Run rm -rf .git/modules/path_to_submodule (no trailing slash).
  • Commit git commit -m "Removed submodule "
  • Delete the now untracked submodule files rm -rf path_to_submodule