examples: sokol: update the comments on how to compile the shaderes (#9633)
parent
8caabf0e9e
commit
73238a81e2
|
@ -7,8 +7,8 @@
|
||||||
* that can be found in the LICENSE file.
|
* that can be found in the LICENSE file.
|
||||||
*
|
*
|
||||||
* HOW TO COMPILE SHADERS:
|
* HOW TO COMPILE SHADERS:
|
||||||
* - download the sokol shader convertor tool from https://github.com/floooh/sokol-tools-bin/archive/pre-feb2021-api-changes.tar.gz
|
* - download the sokol shader convertor tool from https://github.com/floooh/sokol-tools-bin
|
||||||
* ( also look at https://github.com/floooh/sokol-tools/blob/master/docs/sokol-shdc.md )
|
*
|
||||||
* - compile the .glsl shader with:
|
* - compile the .glsl shader with:
|
||||||
* linux : sokol-shdc --input cube_glsl.glsl --output cube_glsl.h --slang glsl330
|
* linux : sokol-shdc --input cube_glsl.glsl --output cube_glsl.h --slang glsl330
|
||||||
* windows: sokol-shdc.exe --input cube_glsl.glsl --output cube_glsl.h --slang glsl330
|
* windows: sokol-shdc.exe --input cube_glsl.glsl --output cube_glsl.h --slang glsl330
|
||||||
|
|
|
@ -7,8 +7,8 @@
|
||||||
* that can be found in the LICENSE file.
|
* that can be found in the LICENSE file.
|
||||||
*
|
*
|
||||||
* HOW TO COMPILE SHADERS:
|
* HOW TO COMPILE SHADERS:
|
||||||
* - download the sokol shader convertor tool from https://github.com/floooh/sokol-tools-bin/archive/pre-feb2021-api-changes.tar.gz
|
* - download the sokol shader convertor tool from https://github.com/floooh/sokol-tools-bin
|
||||||
* ( also look at https://github.com/floooh/sokol-tools/blob/master/docs/sokol-shdc.md )
|
*
|
||||||
* - compile the .glsl shader with:
|
* - compile the .glsl shader with:
|
||||||
* linux : sokol-shdc --input rt_glsl.glsl --output rt_glsl.h --slang glsl330
|
* linux : sokol-shdc --input rt_glsl.glsl --output rt_glsl.h --slang glsl330
|
||||||
* windows: sokol-shdc.exe --input rt_glsl.glsl --output rt_glsl.h --slang glsl330
|
* windows: sokol-shdc.exe --input rt_glsl.glsl --output rt_glsl.h --slang glsl330
|
||||||
|
|
|
@ -7,8 +7,8 @@
|
||||||
* that can be found in the LICENSE file.
|
* that can be found in the LICENSE file.
|
||||||
*
|
*
|
||||||
* HOW TO COMPILE SHADERS:
|
* HOW TO COMPILE SHADERS:
|
||||||
* - download the sokol shader convertor tool from https://github.com/floooh/sokol-tools-bin/archive/pre-feb2021-api-changes.tar.gz
|
* - download the sokol shader convertor tool from https://github.com/floooh/sokol-tools-bin
|
||||||
* ( also look at https://github.com/floooh/sokol-tools/blob/master/docs/sokol-shdc.md )
|
*
|
||||||
* - compile the .glsl shared file with:
|
* - compile the .glsl shared file with:
|
||||||
* linux : sokol-shdc --input rt_glsl_puppy.glsl --output rt_glsl_puppy.h --slang glsl330
|
* linux : sokol-shdc --input rt_glsl_puppy.glsl --output rt_glsl_puppy.h --slang glsl330
|
||||||
sokol-shdc --input rt_glsl_march.glsl --output rt_glsl_march.h --slang glsl330
|
sokol-shdc --input rt_glsl_march.glsl --output rt_glsl_march.h --slang glsl330
|
||||||
|
|
|
@ -7,8 +7,8 @@
|
||||||
* that can be found in the LICENSE file.
|
* that can be found in the LICENSE file.
|
||||||
*
|
*
|
||||||
* HOW TO COMPILE SHADERS:
|
* HOW TO COMPILE SHADERS:
|
||||||
* - download the sokol shader convertor tool from https://github.com/floooh/sokol-tools-bin/archive/pre-feb2021-api-changes.tar.gz
|
* - download the sokol shader convertor tool from https://github.com/floooh/sokol-tools-bin
|
||||||
* ( also look at https://github.com/floooh/sokol-tools/blob/master/docs/sokol-shdc.md )
|
*
|
||||||
* - compile the .glsl shared file with:
|
* - compile the .glsl shared file with:
|
||||||
* linux : sokol-shdc --input rt_glsl_instancing.glsl --output rt_glsl_instancing.h --slang glsl330
|
* linux : sokol-shdc --input rt_glsl_instancing.glsl --output rt_glsl_instancing.h --slang glsl330
|
||||||
* windows: sokol-shdc.exe --input rt_glsl_instancing.glsl --output rt_glsl_instancing.h --slang glsl330
|
* windows: sokol-shdc.exe --input rt_glsl_instancing.glsl --output rt_glsl_instancing.h --slang glsl330
|
||||||
|
|
|
@ -9,8 +9,8 @@
|
||||||
* Example .obj model of V from SurmanPP
|
* Example .obj model of V from SurmanPP
|
||||||
*
|
*
|
||||||
* HOW TO COMPILE SHADERS:
|
* HOW TO COMPILE SHADERS:
|
||||||
* - download the sokol shader convertor tool from https://github.com/floooh/sokol-tools-bin/archive/pre-feb2021-api-changes.tar.gz
|
* - download the sokol shader convertor tool from https://github.com/floooh/sokol-tools-bin
|
||||||
* ( also look at https://github.com/floooh/sokol-tools/blob/master/docs/sokol-shdc.md )
|
*
|
||||||
* - compile the .glsl shader with:
|
* - compile the .glsl shader with:
|
||||||
* linux : sokol-shdc --input gouraud.glsl --output gouraud.h --slang glsl330
|
* linux : sokol-shdc --input gouraud.glsl --output gouraud.h --slang glsl330
|
||||||
* windows: sokol-shdc.exe --input gouraud.glsl --output gouraud.h --slang glsl330
|
* windows: sokol-shdc.exe --input gouraud.glsl --output gouraud.h --slang glsl330
|
||||||
|
|
Loading…
Reference in New Issue