Spatial Shader

 

Spatial Shader is a shader engine that creates stereoscopic spatial shader experiences. The engine achieves the stereoscopic effect, by rendering two shader images, one for each eye, taking into account the positional differences between the device anchor and the position of the person’s eyes. A spatial shader, similar to a spatial photo or spatial video, will appear in 3D when viewed on Apple Vision Pro.

Spatial Shader uses Apple's low-overhead 3D hardware-accelerated Metal API 3D to draw everything a user sees.

Spatial Shader

 

Download Spatial Shader

v0.1 - Spatial Shader with Stereoscopic Shaders

...

 

Inside a Mandelbulb

A mandelbulb is a 3 dimensional fractal, widely recognized for its intricate and visually stunning structures. It is an extension of the Mandelbrot Set (2D fractal) into three dimensions. It is created in 2009 by Daniel White and Paul Nylander and uses a novel formula involving spherical coordinates.

Spatial Mandelbulb Shader

 

Irregular Gyroid - Blue vs Red

A blue vs red irregular gyroid.

Blue vs Red Gyroid Shader

 

Gnarly Colorful Apollonian

Gnarly Colorful Apollonian

Gnarly Colorful Apollonian Shader

 

Cloudy Crystal

Cloudy Crystal

Cloudy Crystal Shader

 

Mountain Terrain

This shader shows a randomly generated Terrain using mathematics.

Spatial Mountain Terrain Shader

 

River with Seal

This shader shows an endless river with a small animal swimming in it

Spatial River Shader

 

Ocean Shader

The ocean shader uses weighted normals to give a cartoon style shading effect

Spatial Ocean Shader

 

Primitives Shader - RayMarching

A list of useful distance function to simple primitives. All these functions (except for ellipsoid) return an exact euclidean distance, meaning they produce a better SDF than what you'd get if you were constructing them from boolean operations (such as cutting an infinite cylinder with two planes).

Spatial Primitive Shader