{"id":"dolphin.lightlab--DolphinEnvironmentColor","name":"DolphinEnvironmentColor","owner":"dolphin","package":"dolphin.lightlab","kind":"function","signature":"external DolphinEnvironmentColor(float dx,float dy,float dz,float sunx,float suny,float sunz,float time,float coverage,float wind,int octaves) returns Vector3","description":"Original, inexpensive artistic sky. Directions are normalized; this is a distant cloud sheet, not participating-media transport or a weather solver. The scalar body is also lowered into the GPU map kernel by the owned generator.","context":"Build bounded lighting experiments with geometry, visibility, transport, film, and GPU/CPU contracts.","parameters":[{"name":"dx","type":"float","description":"Supply dx as float."},{"name":"dy","type":"float","description":"Supply dy as float."},{"name":"dz","type":"float","description":"Supply dz as float."},{"name":"sunx","type":"float","description":"Supply sunx as float."},{"name":"suny","type":"float","description":"Supply suny as float."},{"name":"sunz","type":"float","description":"Supply sunz as float."},{"name":"time","type":"float","description":"Supply time as float."},{"name":"coverage","type":"float","description":"Supply coverage as float."},{"name":"wind","type":"float","description":"Supply wind as float."},{"name":"octaves","type":"int","description":"Supply octaves as int."}],"returns":"Vector3","members":[],"tags":["cpu","dolphin","dolphin.lightlab","function","lightlab","source-example"],"updated":"2026-09-09","source":{"repository":"dolphin","path":"packages/lightlab/src/environment.yh","line":7,"sha256":"f269cf7c34adee69943ce9debc1cfff556f5ff189fdba670bfa90f922c0a046f"},"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 DolphinEnvironmentColor","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.\nfloat dx = 1.0\nfloat dy = 1.0\nfloat dz = 1.0\nfloat sunx = 1.0\nfloat suny = 1.0\nfloat sunz = 1.0\nfloat time = 1.0\nfloat coverage = 1.0\nfloat wind = 1.0\nint octaves = 1\nVector3 result = DolphinEnvironmentColor(dx, dy, dz, sunx, suny, sunz, time, coverage, wind, octaves)\nConsole.Log(\"Inspect result in your debugger\")\n","manifest":"manifestVersion = \"2\"\npackage = \"api.example.dolphin_lightlab__dolphinenvironmentcolor\"\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":"0d810c353fe77c41579a00eb3177e3a6ed73abc3c431363a27ab60e83b5a4f07","checked":"2026-09-09","diagnostic":"","observedOutput":null,"checkedBackend":null}],"searchTerms":[],"url":"https://demonhunterlabs.com/academy/api?item=dolphin.lightlab--DolphinEnvironmentColor","json":"https://demonhunterlabs.com/reference/items/dolphin.lightlab--DolphinEnvironmentColor.json","markdown":"https://demonhunterlabs.com/reference/text/dolphin.lightlab--DolphinEnvironmentColor.md"}
