2016-05-07 06:44:21 +03:00
|
|
|
builddir = ../.build
|
|
|
|
|
|
|
|
rule geometryc_pack_normal
|
|
|
|
command = geometryc -f $in -o $out --packnormal 1
|
|
|
|
description = Converting geometry $in...
|
2016-05-08 00:19:56 +03:00
|
|
|
|
2019-04-13 17:07:06 +03:00
|
|
|
rule geometryc_pack_normal_compressed
|
|
|
|
command = geometryc -f $in -o $out --packnormal 1 -c
|
|
|
|
description = Converting geometry $in...
|
|
|
|
|
2016-06-23 05:53:04 +03:00
|
|
|
rule geometryc_pack_normal_barycentric
|
|
|
|
command = geometryc -f $in -o $out --packnormal 1 --barycentric
|
|
|
|
description = Converting geometry $in...
|
|
|
|
|
2016-05-08 00:19:56 +03:00
|
|
|
rule texturec_bc1
|
|
|
|
command = texturec -f $in -o $out -t bc1 -m
|
|
|
|
|
|
|
|
rule texturec_bc2
|
|
|
|
command = texturec -f $in -o $out -t bc2 -m
|
|
|
|
|
|
|
|
rule texturec_bc3
|
|
|
|
command = texturec -f $in -o $out -t bc3 -m
|
|
|
|
|
|
|
|
rule texturec_bc4
|
|
|
|
command = texturec -f $in -o $out -t bc4 -m
|
|
|
|
|
|
|
|
rule texturec_bc5
|
|
|
|
command = texturec -f $in -o $out -t bc5 -m
|
|
|
|
|
2018-05-24 07:18:41 +03:00
|
|
|
rule texturec_bc7
|
|
|
|
command = texturec -f $in -o $out -t bc7 -m
|
|
|
|
|
2016-05-08 00:19:56 +03:00
|
|
|
rule texturec_etc1
|
|
|
|
command = texturec -f $in -o $out -t etc1 -m
|
|
|
|
|
|
|
|
rule texturec_etc2
|
|
|
|
command = texturec -f $in -o $out -t etc2 -m
|
2016-06-23 05:53:04 +03:00
|
|
|
|
2017-04-05 05:47:18 +03:00
|
|
|
rule texturec_diffuse
|
|
|
|
command = texturec -f $in -o $out -t bc2 -m
|
|
|
|
|
|
|
|
rule texturec_normal
|
|
|
|
command = texturec -f $in -o $out -t bc5 -m -n
|
|
|
|
|
|
|
|
rule texturec_height
|
|
|
|
command = texturec -f $in -o $out -t r8
|
|
|
|
|
2018-07-01 01:46:23 +03:00
|
|
|
rule texturec_equirect
|
|
|
|
command = texturec -f $in -o $out --max 512 -t rgba16f --equirect
|
|
|
|
|
2016-06-23 05:53:04 +03:00
|
|
|
pwd = ../examples/assets/meshes
|
|
|
|
subninja ../examples/assets/meshes/meshes.ninja
|
|
|
|
|
|
|
|
pwd = ../examples/assets/textures
|
|
|
|
subninja ../examples/assets/textures/textures.ninja
|