Skip to content
ninquiet_

cat ~/projects/world-spheres.shader

-rw-r--r--  vfx / shaders  2024

World spheres

World spheres that react differently when you are far, close, or inside them.

shadersvfx graphvr
World spheres preview

Interactive spheres that represent worlds, built by mixing shaders, VFX Graph, and custom code.

Problem

The spheres had to work as both a preview and a doorway: interesting from far away, informative up close, and convincing when you are inside one.

Approach

Each sphere changes its behavior depending on the player’s distance: one look when far, another when close, and a different one when inside, combining shaders, VFX Graph, and code to switch between states.

VR constraints

Several spheres can be visible at once, so the distance-based states also work as a way to keep detailed effects only where the player is looking closely, keeping the scene light in VR.

// migrated from the old wordpress portfolio