Documentation
¶
Overview ¶
Command flythrough renders a large procedural terrain with a sky gradient, distance fog, slope-and-height shading, and an instanced forest, and flies a camera over it. It measures frame times and GC pauses to show that Go drives heavy Vulkan workloads without hitching. Run:
go run ./examples/flythrough # windowed, runs until closed/Escape go run ./examples/flythrough -frames 1800 -n 640 -trees 16000
It prints a frame-time and GC report on exit.
Click to show internal directories.
Click to hide internal directories.