This repository has been archived on 2026-10-29. You can view files and clone it, but you cannot make any changes to its state, such as pushing and creating new issues, pull requests or comments.
CultMath/Samples~/PlanetaryViewer
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-07-13 02:52:13 +01:00
..
Editor Complete portable planetary presentation contracts 2026-07-13 02:52:13 +01:00
Runtime Complete portable planetary presentation contracts 2026-07-13 02:52:13 +01:00
README.md Complete portable planetary presentation contracts 2026-07-13 02:52:13 +01:00

Planetary Field Viewer

Import this sample through Unity's Package Manager, then choose GameObject > CultMath > Planetary Field Viewer.

The host project must contain Assets/csc.rsp with -langversion:latest, as documented in the CultMath package README.

The generated six-face mesh uses PlanetaryPatch. Its shader calls cultmath_planetary_field_sample from the packaged CultMath HLSL, while the component exposes the matching CPU Sample method. Seed, radius, physical sample footprint, erosion settings, and base-field equations are shared between the two bodies.

This is a renderer integration fixture, not a gameplay owner. It deliberately contains no Aetheria state, biomes, resources, or simulation decisions.