You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// needed for cross-platform shader compilation
git clone https://github.com/floooh/sokol-tools-bin.git
// linux
make linux
./sandy
// mac
make mac-opengl
./sandy
// wasm
make wasm
emrun sandy.html
Profile
// run relevant build command from makefile with -g -O0 flags
perf record -g ./sandy
perf report
Adding new materials
Add material name to material enum
Define material color in draw_material
Create process_<material_name>(int index) function to define behavior