⏺ lunatic-engine - eval_lua (MCP)(code: "-- Switch to lighting gallery and set up extreme DoF to test \"full bokeh\"\nswitch_scene(\"lighting\")\n-- Get the camera entity and check current DoF settings\nlocal cam = lunatic.query(\"camera\")[1]\nlocal camera = lunatic.get(cam, \"camera\")\nreturn camera") ⏺ lunatic-engine - eval_lua (MCP)(code: "-- Set extreme DoF: very close focus, narrow range, large blur\nlocal cam = lunatic.query(\"camera\")[1]\nlunatic.add(cam, \"camera\", {\n dof_focus_dist = 3.0,\n dof_focus_range = 2.0,\n dof_blur_radius = 20.0\n})\nreturn \"dof set\"") Searched for 1 pattern, read 1 file (ctrl+o to expand) ⏺ lunatic-engine - eval_lua (MCP)(code: "-- Use ref to set DoF\nlocal cam = lunatic.query(\"camera\")[1]\nlocal cam_ref = lunatic.ref(cam, \"camera\")\ncam_ref.dof_focus_dist = 5.0\ncam_ref.dof_focus_range = 2.0\ncam_ref.dof_blur_radius = 20.0\nreturn {cam_ref.dof_focus_dist, cam_ref.dof_focus_range, cam_ref.dof_blur_radius}") ⏺ lunatic-engine - screenshot (MCP)
The clanker can just run random Lua while your game is running and have it make screenshots to verify the results. #lunatic