{"id":"dolphin.lightlab--DolphinLocalShadowSample","name":"DolphinLocalShadowSample","owner":"dolphin","package":"dolphin.lightlab","kind":"function","signature":"external DolphinLocalShadowSample(int sample,int dimension,int pixel,int axis) returns float","description":"The disk axes need distinct radical-inverse bases. Merely changing the rotation of a shared base leaves fixed-receiver samples on a shifted diagonal. This local-shadow sequence does not alter existing transport dimensions.","context":"Build bounded lighting experiments with geometry, visibility, transport, film, and GPU/CPU contracts.","parameters":[{"name":"sample","type":"int","description":"Supply sample as int."},{"name":"dimension","type":"int","description":"Supply dimension as int."},{"name":"pixel","type":"int","description":"Supply pixel as int."},{"name":"axis","type":"int","description":"Supply axis as int."}],"returns":"float","members":[],"tags":["cpu","dolphin","dolphin.lightlab","function","lightlab","source-example"],"updated":"2026-09-09","source":{"repository":"dolphin","path":"packages/lightlab/src/local_lights.yh","line":67,"sha256":"7a2fe0dbd5b172ea94fa518c3b9a940dba1fb513b346464b02911f8bd84178d7"},"status":"source-declared","notes":["Package presence and a declaration do not establish support on every host. Host services need their platform and lifecycle setup."],"examples":[{"id":"usage","title":"Use DolphinLocalShadowSample","description":"A complete small caller. Values are illustrative; check the returned result and package requirements before connecting live resources.","code":"using dolphin.lightlab\n\n// Build bounded lighting experiments with geometry, visibility, transport, film, and GPU/CPU contracts.\nint sample = 1\nint dimension = 1\nint pixel = 1\nint axis = 1\nfloat result = DolphinLocalShadowSample(sample, dimension, pixel, axis)\nConsole.Log(Text.From(result))\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.dolphin_lightlab__dolphinlocalshadowsample\"\nversion = \"0.1.0\"\nlanguageEdition = \"yeho-core-2026.1\"\n\n[app]\nkind = \"headless\"\n\n[[dependencies]]\npackage = \"dolphin.lightlab\"\nversion = \"0.1.0\"\npath = \"../../../dolphin/packages/lightlab\"\n\n[[dependencies]]\npackage = \"dolphin.materials\"\nversion = \"0.1.0\"\npath = \"../../../dolphin/packages/materials\"\n\n[[dependencies]]\npackage = \"dolphin.math\"\nversion = \"0.1.0\"\npath = \"../../../dolphin/packages/math\"\n\n[[dependencies]]\npackage = \"dolphin.spatial3d\"\nversion = \"0.1.0\"\npath = \"../../../dolphin/packages/spatial3d\"\n","tags":["cpu","source-example"],"verification":"type checked","run":"cpu-oracle","sha256":"43dee342a79ae3966143ad1cf4daf9758a6934023a0a3fdc68632865f181772b","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null}],"searchTerms":[],"url":"https://demonhunterlabs.com/academy/api?item=dolphin.lightlab--DolphinLocalShadowSample","json":"https://demonhunterlabs.com/reference/items/dolphin.lightlab--DolphinLocalShadowSample.json","markdown":"https://demonhunterlabs.com/reference/text/dolphin.lightlab--DolphinLocalShadowSample.md"}
