mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-04 10:31:50 +00:00
add '#param' default value syntax
This commit is contained in:
parent
6043ae8331
commit
70cf308771
4 changed files with 74 additions and 6 deletions
|
|
@ -18,6 +18,7 @@ TEST(GLSLExtension, processing) {
|
|||
"\n"
|
||||
"#include /* hell\no */ < sum >\n"
|
||||
"#param float p_intensity\n"
|
||||
"#param vec3 p_pos = [0, 0, 0]\n"
|
||||
"\n"
|
||||
"vec4 effect() {\n"
|
||||
" vec4 color = texture(u_screen, v_uv);\n"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue