world.renderFeature
Abyssal Garden drawn by the engine. Runs the original `abyssal.abyssal` feature's generation unchanged (it calls the same `abyssal.gen.*` compute shaders, read-only, into its own `abyssal_engine.*` buffers and `abyssal_engine_*` textures, so the original is never touched), then h…
world
Abyssal Garden drawn by the engine. Runs the original abyssal.abyssal feature's generation unchanged (it calls the same abyssal.gen.* compute shaders, read-only, into its own abyssal_engine.* buffers and abyssal_engine_* textures, so the original is never touched), then hands the result to the engine instead of drawing it with raster passes of its own: the seabed becomes an engine mesh built straight from the generator's GPU buffers (abyssal_engine.vertices converts them to the engine vertex layout), drawn through renderer.mesh.drawInstanced with an engine surface material, so the engine's lighting, shadows, ray-traced GI and TAA apply to it. Used by scenes/engine; the solids, leaves, creatures and sprites follow the same path as they are added.
Interface
What this asset declares: the schema it conforms to, what it exposes, and the rendered structured payload.
conforms to
zero/source-extract/v2strict
gpuBuf(name: string, len: number, usage: { string }?) → any
| arg | type | description |
|---|---|---|
| name | string | |
| len | number | |
| usage | { string }? |
u32Buf(name: string, words: { number }, usage: { string }?) → any
| arg | type | description |
|---|---|---|
| name | string | |
| words | { number } | |
| usage | { string }? |
wg(n: number, size: number) → void
| arg | type | description |
|---|---|---|
| n | number | |
| size | number |
gridUniform(name: string, nx: number, ny: number, nz: number, ox: number, oy: number, oz: number, vs: number, e: number, vslot: number, islot: number) → any
| arg | type | description |
|---|---|---|
| name | string | |
| nx | number | |
| ny | number | |
| nz | number | |
| ox | number | |
| oy | number | |
| oz | number | |
| vs | number | |
| e | number | |
| vslot | number | |
| islot | number |
generateA( ) → void
detailStep(mode: number, lev: number, n: number) → void
dispatchEx takes no per-dispatch params, so each step's mode and level ride in a buffer of their own
| arg | type | description |
|---|---|---|
| mode | number | |
| lev | number | |
| n | number |
generateB(nverts: number) → void
| arg | type | description |
|---|---|---|
| nverts | number |
makeBlocks( ) → void
bufName(b: any) → string
| arg | type | description |
|---|---|---|
| b | any |
engineMesh(name: string, V: any, IX: any, v0: number, nv: number, i0: number, ni: number, lo: { number }, hi: { number }) → any
one range of generator vertex records (+ its indices) -> an engine mesh, built on the GPU and kept there
| arg | type | description |
|---|---|---|
| name | string | |
| V | any | |
| IX | any | |
| v0 | number | |
| nv | number | |
| i0 | number | |
| ni | number | |
| lo | { number } | |
| hi | { number } |
identityXf(name: string) → any
| arg | type | description |
|---|---|---|
| name | string |
solidMesh(id: number) → any
| arg | type | description |
|---|---|---|
| id | number |
buildSolids( ) → void
the generator's solid records (3 vec4 each: position + scale, rotation, material / seed / texture scale / bob, and a mesh id) read back once and stood as one engine population per mesh. The matrices are written from the CPU because the engine places only CPU-written populations in its ray-traced scene, which its GI and shadows trace.
setupDraws(cnt: { number }) → void
| arg | type | description |
|---|---|---|
| cnt | { number } |
copyTextures(ctx: any) → void
copied every frame until a readback of the volume atlas shows the generator's data landed (a pass is dropped on a frame its pipeline is still compiling), then bound to every material
| arg | type | description |
|---|---|---|
| ctx | any |
setup(ctx: ?) → void
| arg | type | description |
|---|---|---|
| ctx | ? |
render(ctx: ?) → void
| arg | type | description |
|---|---|---|
| ctx | ? |
teardown( ) → void
Sub-parts
Everything contained inside this part. Assets are composite children (clickable cards). Files are leaf payloads. Expand any row to view its source.
Showing up to 3 levels deep. Open a part to see what it holds further down.
Problems
Everything affecting this asset right now: its own problems, anything wrong inside it, and problems on its direct dependencies.
agent_score is exposed.+ quality × 0.35
+ performance × 0.25
± compat factor
Usability ratings
Did the part work as advertised when consumers tried to drop it in. Separate from upvotes: those are taste; this is "did it function".
Scoped to this part · feeds back into the world's score.