An open API service indexing awesome lists of open source software.

https://github.com/tremus/sokol_triangle


https://github.com/tremus/sokol_triangle

Last synced: 3 months ago
JSON representation

Awesome Lists containing this project

README

        

My graphics playground. Nothing to see here.

Requires the CLI tool **[sokol-shdc](https://github.com/floooh/sokol-tools/blob/master/docs/sokol-shdc.md)** to compile the shaders

eg:

- (Windows) `sokol-shdc.exe --input src\program_hello_triangle.glsl --output src\program_hello_triangle.h --slang glsl430:hlsl5:metal_macos`
- (macOS) `sokol-shdc --input src/program_hello_triangle.glsl --output src/program_hello_triangle.h --slang glsl430:hlsl5:metal_macos`

Alternatively run: `compile_shaders.bat`