
godot-map-builder
A brush-based level editor plugin for Godot 4 that lets you create and edit 3D maps directly in the editor viewport, inspired by TrenchBroom.
它通过共享缓存(输出图像和输入数据)实现高性能(1000 个旋转对象约 160 FPS),并采用引用计数,在不再使用时自动释放。
A Godot 4 node that renders pseudo 3D sprite stacks from a single sheet of pixel-art face views.
res://addons/..., and enable the addon.texture, the
grid is applied automatically from source_mode (4 Faces = 2x2).What gets rendered is the final output image per angle (rotation, stack, shadow composited) frames live in a cache shared by all SpriteStack2D instances with the same input and parameters, so a thousand identical nodes render each angle once in total (≈160 FPS for 1.000 spinning objects).
The prepared input (cut frames, carved slices) is likewise shared per input texture, and both caches are reference-counted: when the last node using an input is freed, its cached data is purged.
res://test/perf_test.tscn is a stress-test scene with live stats. Tested on Godot 4.7.
MIT.
Render pseudo 3D sprite node from a single 2D texture of different view angles