A "Retro" RayCaster Demo in Godot4 Video Demonstration: https://youtu.be/NH7wMO-KD3g
This is a simple ray caster example and is equivalent and based upon the example in the tutorial by @3DSage here:
YT Video Tutorial: https://www.youtube.com/watch?v=gYRrGTC7GtA CSource: https://github.com/3DSage/OpenGL-Raycaster_v1
The original was written in C. I have tried to stick to Godot principles and naming and split out the functionality into different scenes and functions. This was intended as a learning excercise but I quite like how it translates into Godot.