Skip to content
modkitv0.2

Example 63 - retained scene hierarchy, collection, LOD, and rendering.

← All examples63_scene

Controls: drag to orbit, scroll to zoom, L toggles the distant row, T toggles tone mapping, B toggles bloom, F toggles FXAA, ESC quits. Set MK_SCENE_ENV to an HDR path to attach a scene-owned IBL environment and sky when the optional IBL package is enabled. MK_SCENE_TONEMAP, MK_SCENE_BLOOM, and MK_SCENE_FXAA set the initial post state. Set MK_SCENE_GLASS=1 to make the center object transmissive.

Example 63 - retained scene hierarchy, collection, LOD, and rendering.

Runs the WebAssembly build on this page. Click the canvas to give it keyboard focus.

Number
63
Tags
3dgeometryinputpbribllightingscene
Requires
MODKIT_ENABLE_SCENE
Source
examples/63_scene/main.c

Build and run

./scripts/build-linux.sh release --target=63_scene --run