Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

3d-underwater-god-rays

Skill by MengTo

Adds volumetric underwater god rays to a Three.js scene, with light shafts that converge on the sun, caustic streaks and fish dappled by the light. It suits underwater, ocean, aquarium and reef scenes.

  • Score 91
  • 8.6k stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install 3d-underwater-god-rays

Built from the published package, never by AI.

git clone --depth 1 https://github.com/MengTo/Skills /tmp/Skills && mkdir -p ~/.claude/skills && cp -r /tmp/Skills/agent-skills/3d/3d-underwater-god-rays ~/.claude/skills/3d-underwater-god-rays

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install 3d-underwater-god-rays in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

This skill adds volumetric underwater light to a Three.js scene. It marches one drifting swell field along every view ray at half resolution, so the light shafts converge on the sun and shift with parallax as the camera moves. The effect also includes rippling caustic streaks, a shimmering surface underside, a sun that wobbles through the ripples, and fish that brighten and dim as they cross the beams.

The skill includes a reusable module, underwater-light.mjs, that takes your own THREE instance, and the Blue Hour sardine-school demo that runs the same module. The source describes the stack as Three.js r170, WebGL2, GLSL ShaderMaterials and one HalfFloat render target. It is aimed at underwater scenes, oceans seen from below, aquariums, reefs, diving scenes and sunbeams through water.

Written from the project's SKILL.md and checked against it.

What it can do

  • Volumetric god raysAdds light shafts through water that converge on the sun and shift with camera parallax.
  • Caustic streaksCarries rippling caustic light along each beam inside the half-resolution march.
  • Surface undersideAdds a shimmering water surface seen from below, with a sun that wobbles through the ripples.
  • Fish dapplingMultiplies the fish sun key by the shaft light so fish brighten as they cross beams.
  • Reusable moduleProvides underwater-light.mjs with createUnderwaterLight, LIGHT_GLSL and WATER_GLSL exports.
  • Blue Hour demoIncludes a sardine-school demo running the same module inside a Three.js renderer.

What you need

  • Three.js r170
  • WebGL2 support in the browser

Try asking

  • Add underwater god rays to my Three.js ocean scene with a sun above the surface.
  • Use the underwater-light module so my fish school dapples as it swims through light shafts.
  • Add caustic streaks and a shimmering surface underside to my reef scene.

Good to know

  • Shafts are low frequency, so lowering the buffer scale or step count mostly costs softness.
  • The effect is for underwater views. Use the sibling skills for sun shafts in air or ocean surfaces seen from above.
  • Under reduced motion the frame holds at t = 0 and re-renders only when a control changes.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: agent-skills/3d/3d-underwater-god-rays/SKILL.md, agent-skills/3d/3d-underwater-god-rays/assets/underwater-light.mjs, agent-skills/3d/3d-underwater-god-rays/demo/build.mjs, agent-skills/3d/3d-underwater-god-rays/demo/src/ui.js, agent-skills/3d/3d-underwater-god-rays/demo/src/water.js. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • SKILL.md10 KB
  • agents/openai.yaml415 B
  • assets/underwater-light.mjs9 KB
  • demo/PROMPT.md4 KB
  • demo/build.mjs6 KB
Show all 11 files
  • demo/index.html1722 KB
  • demo/preview.jpg146 KB
  • demo/src/ui.css12 KB
  • demo/src/ui.html5 KB
  • demo/src/ui.js8 KB
  • demo/src/water.js1 KB

Alternatives to 3d-underwater-god-rays

All alternatives →
paperbananadwzhu-pku
94

PaperBanana generates publication-quality academic diagrams from a paper's methodology text and figure caption. It is aimed at researchers preparing figures for venues such as NeurIPS, ICML, and ACL.

AAA Skill 7.7k
technical-wireframe-info-layoutMengTo
94

Creates a monochrome technical wireframe design system for dark diagnostic interfaces. It covers layout, typography, info labels, widgets and an exploded wireframe centerpiece. It is for designers and developers building teardown, systems dashboard or specification-style screens.

AAA Skill 8.5k
spline-3d-integrationsickn33
94

Guides an AI assistant through embedding interactive Spline.design 3D scenes in web projects. It covers vanilla, React, Next.js, Vue and iframe setups, for developers adding 3D to websites.

AAA Skill 50k
code-slice-heroheygen-com
94

Code Slice Hero is a HyperFrames headline block. A tiled surface flips cell by cell to reveal a second headline behind the first, at 1920×1080 and 8 seconds.

AAA Skill 92k
patentfigdavila7
94

Generates patent-office-compliant figures and converts drawings through the PatentFig AI API. Built for patent filers who need USPTO or EPO line art, CAD-ready vectors, or filing-ready TIFF, PDF, or PNG files.

AAA Skill 34k
framed-tech-dark-border-gradientMengTo
94

Creates a framed dark technical design system for AI assistants, using border-gradient shells, asymmetrical grid panels, and mono labels. Suited to premium, instrument-like interfaces that need visible boundaries. Published by MengTo.

AAA Skill 8.5k

Compare with paperbanana, technical-wireframe-info-layout or spline-3d-integration

3d-underwater-god-rays: common questions

Does this work with Three.js?

Yes. The source says it is verified on Three.js r170 with WebGL2, using GLSL ShaderMaterials and one HalfFloat render target.

Can I use it without the demo?

Yes. You copy assets/underwater-light.mjs into your project and pass in your own THREE, and the module does not import a second copy.

Does it move the light with the camera?

The shafts are computed in world space, so they slide past objects as the camera moves rather than staying locked to the lens.

How do I install 3d-underwater-god-rays?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is 3d-underwater-god-rays free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is 3d-underwater-god-rays safe to use?

It scores 91 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to 3d-underwater-god-rays?

Similar skills: paperbanana, technical-wireframe-info-layout, spline-3d-integration, code-slice-hero.

3d-underwater-god-rays Install

Add to stack

Loading.