Someone on the Godot Discord helped adapt a Pull Request for the engine that would add the option to set a custom camera projection matrix, which achieved what I wanted.
godotengine:master
← huwpascoe:custom_camera
opened 05:00AM - 04 Mar 25 UTC
Partially Implement https://github.com/godotengine/godot-proposals/issues/2713, … https://github.com/godotengine/godot-proposals/issues/11436
Only exposes the interface for advanced usage.
Copied the impl from https://github.com/godotengine/godot/pull/84454 since it seems good. May need to credit @DxUr.
Example usage:
```gdscript
extends Camera3D
func _ready() -> void:
var p := get_camera_projection() # should be orthographic
# set oblique projection (camera should be rotated -45 degrees x axis)
p[1].y *= sqrt(2.0)
RenderingServer.camera_set_custom(get_camera_rid(), p)
```
1 Like