adamnemecek / hg-sdf-metal

A port of the hg_sdf library that runs in metal compute shaders

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

hg-sdf-metal

A port of the hg_sdf glsl library for building signed distance functions, for use in metal compute kernels

How to use

Add the hg_sdf file to your project in the same folder as your metal compute kernel

Add the following import to your metal kernel file

#include "hg_sdf"

Call the sdf functions from your kernel code

About

A port of the hg_sdf library that runs in metal compute shaders