2
0

build.ninja 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. builddir = ../.build
  2. rule geometryc_pack_normal
  3. command = geometryc -f $in -o $out --packnormal 1
  4. description = Converting geometry $in...
  5. rule geometryc_pack_normal_compressed
  6. command = geometryc -f $in -o $out --packnormal 1 -c
  7. description = Converting geometry $in...
  8. rule geometryc_pack_normal_barycentric
  9. command = geometryc -f $in -o $out --packnormal 1 --barycentric
  10. description = Converting geometry $in...
  11. rule texturec_bc1
  12. command = texturec -f $in -o $out -t bc1 -m
  13. rule texturec_bc2
  14. command = texturec -f $in -o $out -t bc2 -m
  15. rule texturec_bc3
  16. command = texturec -f $in -o $out -t bc3 -m
  17. rule texturec_bc4
  18. command = texturec -f $in -o $out -t bc4 -m
  19. rule texturec_bc5
  20. command = texturec -f $in -o $out -t bc5 -m
  21. rule texturec_bc7
  22. command = texturec -f $in -o $out -t bc7 -m
  23. rule texturec_etc1
  24. command = texturec -f $in -o $out -t etc1 -m
  25. rule texturec_etc2
  26. command = texturec -f $in -o $out -t etc2 -m
  27. rule texturec_diffuse
  28. command = texturec -f $in -o $out -t bc2 -m
  29. rule texturec_normal
  30. command = texturec -f $in -o $out -t bc5 -m -n
  31. rule texturec_height
  32. command = texturec -f $in -o $out -t r8
  33. rule texturec_equirect
  34. command = texturec -f $in -o $out --max 512 -t rgba16f --equirect
  35. pwd = ../examples/assets/meshes
  36. subninja ../examples/assets/meshes/meshes.ninja
  37. pwd = ../examples/assets/textures
  38. subninja ../examples/assets/textures/textures.ninja