# LutGrading Desktop 3D-LUT colour grading via WorldEnvironment. ```{raw} html ▶ Run in browser ``` **Tags:** `3d` `post-process` `colour-grading` `lut` `tonemap` Drives ``WorldEnvironment.lut_enabled`` / ``lut_tex_id`` on the desktop Vulkan renderer, matching the web backend: a 3D ``rgba8`` LUT sampled post-tonemap on the final LDR colour. A warm grade (id 1) and a cool/teal grade (id 2) are registered at startup; pressing a key swaps the active LUT or disables grading entirely. The identity (no-op) state is ``lut_enabled = False``. Controls: A / D - Orbit camera left / right W / S - Pitch camera up / down 1 - No LUT (neutral) 2 - Warm grade 3 - Cool / teal grade Escape - Quit ## Source ```{literalinclude} ../../examples/features/3d/lut_grading.py :language: python :linenos: ```