Update shader for android

This commit is contained in:
2025-02-15 22:34:24 +01:00
parent e020784f4f
commit 1994e7ccb1
8 changed files with 143 additions and 153 deletions

View File

@@ -1,10 +1,3 @@
# how to build
```
g++ build.cpp -o build
./build
or
./build run
```
# Code style
@@ -35,6 +28,6 @@ or
## Generate shader .h files
```
xxd -i shaders/sun_100.fs > inc/sunShader.hpp
xxd -i shaders/sun_330.fs >> inc/sunShader.hpp
xxd -i shaders/sun_100.fs > shared/inc/canvas/sunShader.hpp
xxd -i shaders/sun_330.fs >> shared/inc/canvas/sunShader.hpp
```