-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.json
46 lines (34 loc) · 5.31 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
{
"scripts": {
"skinning-comp": "glslc -g -fshader-stage=comp assets/shaders/skinning/Skinning.comp.hlsl -o assets/shaders/skinning/Skinning.comp.spv",
"occlusion-vert": "glslc -g -fshader-stage=vert assets/shaders/occlusion_query/Occlusion.vert.hlsl -o assets/shaders/occlusion_query/Occlusion.vert.spv -std=450core",
"occlusion-frag": "glslc -g -fshader-stage=frag assets/shaders/occlusion_query/Occlusion.frag.hlsl -o assets/shaders/occlusion_query/Occlusion.frag.spv -std=450core",
"pbr-with-shadow-vert-v2": "glslc -g -fshader-stage=vert assets/shaders/pbr_with_shadow_v2/PbrWithShadow.vert.hlsl -o assets/shaders/pbr_with_shadow_v2/PbrWithShadow.vert.spv -O -std=450core",
"pbr-with-shadow-frag-v2": "glslc -g -fshader-stage=frag assets/shaders/pbr_with_shadow_v2/PbrWithShadow.frag.hlsl -o assets/shaders/pbr_with_shadow_v2/PbrWithShadow.frag.spv -O -std=450core",
"point-light-shadow-vert": "glslc -g -fshader-stage=vert assets/shaders/point_light_shadow/PointLightShadow.vert.hlsl -o assets/shaders/point_light_shadow/PointLightShadow.vert.spv -std=450core",
"point-light-shadow-frag": "glslc -g -fshader-stage=frag assets/shaders/point_light_shadow/PointLightShadow.frag.hlsl -o assets/shaders/point_light_shadow/PointLightShadow.frag.spv -std=450core",
"point-light-shadow-geom": "glslc -g -fshader-stage=geom assets/shaders/point_light_shadow/PointLightShadow.geom.hlsl -o assets/shaders/point_light_shadow/PointLightShadow.geom.spv -std=450core",
"point-light-shadow-vert-v2": "glslc -g -fshader-stage=vert assets/shaders/point_light_shadow_v2/PointLightShadowV2.vert.hlsl -o assets/shaders/point_light_shadow_v2/PointLightShadowV2.vert.spv -std=450core",
"point-light-shadow-frag-v2": "glslc -g -fshader-stage=frag assets/shaders/point_light_shadow_v2/PointLightShadowV2.frag.hlsl -o assets/shaders/point_light_shadow_v2/PointLightShadowV2.frag.spv -std=450core",
"directional-light-shadow-vert": "glslc -g -fshader-stage=vert assets/shaders/directional_light_shadow/DirectionalLightShadow.vert.hlsl -o assets/shaders/directional_light_shadow/DirectionalLightShadow.vert.spv -std=450core",
"directional-light-shadow-geom": "glslc -g -fshader-stage=geom assets/shaders/directional_light_shadow/DirectionalLightShadow.geom.hlsl -o assets/shaders/directional_light_shadow/DirectionalLightShadow.geom.spv -std=450core",
"directional-light-shadow-vert-v2": "glslc -g -fshader-stage=vert assets/shaders/directional_light_shadow_v2/DirectionalLightShadowV2.vert.hlsl -o assets/shaders/directional_light_shadow_v2/DirectionalLightShadowV2.vert.spv -std=450core",
"particle-vert": "glslc -g -fshader-stage=vert assets/shaders/particle/Particle.vert.hlsl -o assets/shaders/particle/Particle.vert.spv -std=450core",
"particle-frag": "glslc -g -fshader-stage=frag assets/shaders/particle/Particle.frag.hlsl -o assets/shaders/particle/Particle.frag.spv -std=450core",
"particle-comp": "glslc -g -fshader-stage=comp assets/shaders/particle/Particle.comp.hlsl -o assets/shaders/particle/Particle.comp.spv -std=450core",
"depth-pre-pass-vert": "glslc -g -fshader-stage=vert assets/shaders/depth_pre_pass/DepthPrePass.vert.hlsl -o assets/shaders/depth_pre_pass/DepthPrePass.vert.spv -std=450core",
"depth-pre-pass-frag": "glslc -g -fshader-stage=frag assets/shaders/depth_pre_pass/DepthPrePass.frag.hlsl -o assets/shaders/depth_pre_pass/DepthPrePass.frag.spv -std=450core",
"debug-renderer-vert": "glslc -g -fshader-stage=vert assets/shaders/debug_renderer/DebugRenderer.vert.hlsl -o assets/shaders/debug_renderer/DebugRenderer.vert.spv -std=450core",
"debug-renderer-frag": "glslc -g -fshader-stage=frag assets/shaders/debug_renderer/DebugRenderer.frag.hlsl -o assets/shaders/debug_renderer/DebugRenderer.frag.spv -std=450core",
"cloth-comp": "glslc -g -fshader-stage=comp assets/shaders/cloth/cloth.comp.hlsl -o assets/shaders/cloth/cloth.comp.spv -std=450core",
"cloth-vert": "glslc -g -fshader-stage=vert assets/shaders/cloth/cloth.vert.hlsl -o assets/shaders/cloth/cloth.vert.spv -std=450core",
"cloth-frag": "glslc -g -fshader-stage=frag assets/shaders/cloth/cloth.frag.hlsl -o assets/shaders/cloth/cloth.frag.spv -std=450core",
"compile-shaders0": "npm run skinning-comp && npm run occlusion-vert && npm run pbr-with-shadow-vert-v2 && npm run point-light-shadow-vert-v2 && npm run point-light-shadow-frag-v2",
"compile-shaders1": "npm run pbr-with-shadow-frag-v2 && npm run directional-light-shadow-vert-v2 && npm run particle-vert && npm run particle-frag && npm run particle-comp",
"compile-shaders2": "npm run depth-pre-pass-vert && npm run debug-renderer-vert && npm run debug-renderer-frag && npm run cloth-comp && npm run cloth-vert && npm run cloth-frag",
"compile-shaders": "npm run compile-shaders0 && npm run compile-shaders1 && npm run compile-shaders2",
"cmake-mac": "cd build64 && cmake .. -G Xcode -DCMAKE_TOOLCHAIN_FILE=./ios.toolchain.cmake -DPLATFORM=MAC && cd ..",
"cmake-ios": "cd buildIOS && cmake .. -G Xcode -DCMAKE_TOOLCHAIN_FILE=./ios.toolchain.cmake -DPLATFORM=OS64COMBINED && cd ..",
"cmake-windows": "cmake -A x64 -S . -Bbuild64"
}
}