https://github.com/tremus/sokol_triangle
https://github.com/tremus/sokol_triangle
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/tremus/sokol_triangle
- Owner: Tremus
- Created: 2024-10-04T09:24:50.000Z (8 months ago)
- Default Branch: master
- Last Pushed: 2025-01-12T11:30:25.000Z (5 months ago)
- Last Synced: 2025-01-19T20:18:07.317Z (5 months ago)
- Language: C
- Size: 870 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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`