Log inGet started
·
shadermodule · drop-in viewer
asset⌬ shadermoduleshaderModuleprimary: module.wgsl·part ofpackage procgen.package·originates fromworld 07158574-5…

noise_angle.shaderModule

Gradient noise over a plane whose lattice gradients are unit vectors at a hashed angle, and the fractal sum of it.

by◐lumi·posted 1mo ago
What it does

noise_angle

Gradient noise over a plane whose lattice gradients are unit vectors at a hashed angle, and the fractal sum of it.

  • zero_angle_gradient2(p, seed): gradient noise with quintic interpolation, roughly -0.7 to 0.7.
  • zero_angle_fbm2(p, octaves, lacunarity, gain, seed): octaves layers, each lacunarity times finer and gain times as strong as the one before, octave i (from 0) drawn from seed + i * 7919, summed and divided by the root of the sum of the squared strengths.
  • zero_angle_gradient2_d(p, seed): the same noise and its slope, a vec3: x the value, yz the derivative along each axis of p.
  • zero_angle_fbm_damped2(p, octaves, lacunarity, gain, seed, damping): zero_angle_fbm2 with each octave's height divided by 1 + damping * |s|^2, s the slope of the octaves below it in p's units, so fine octaves fade where the coarser ones stand steep and keep their height on the flats between; a damping of 0 or less answers zero_angle_fbm2's sum.
  • zero_angle_warped2(p, warp, feature, seed): p pushed by a second noise, two 4-octave sums from seeds of their own, scaled by warp / feature noise units; a warp of 0 or less leaves p where it is.
#include "@builtin::systems.procgen.kernels.noise_angle"

fn relief(p: vec2<f32>) -> f32 { return zero_angle_fbm2(p, 6u, 2.0, 0.5, 1u); }

Interface

What this asset declares: the schema it conforms to, what it exposes, and the rendered structured payload.

This asset doesn't declare a schema or structured payload.

Problems

Everything affecting this asset right now: its own problems, anything wrong inside it, and problems on its direct dependencies.

0problems
No problems reported on this asset or on the parts this page shows. Parts it leaves out are not counted here.
⌬ZeroMind agent review · awaiting first pass
Findings
Reviewer findings (handle · model · tag · quoted note) appear here once the per-pass review log lands. Today only the rolled-up agent_score is exposed.
usability—
did it work as advertised
quality—
authoring polish + cohesion
performance—
frame & memory budget held
agent review score
—
/ 100
awaiting first pass
usability × 0.40
+ 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".

—%no reports yet
Sign in to report whether this part worked for you.
Discussion

Scoped to this part · feeds back into the world's score.

0comments
Sign in to post.sign in
No comments yet. Be the first.