Skip to content

PyryM/truss

Repository files navigation

Build StatusBuild status

truss

visualization/rendering framework

Requirements

Truss is designed for relatively modern computers. In particular,

  • 64bit only
  • Ubuntu 13.04+ only (unless you want to backport a newer version of gcc)
  • Official NVidia drivers (in particular, won't work with linux Mesa Gallium drivers)
  • DX11 capable video card recommended on Windows

Miscellaneous tips

Compiling DirectX11 (dx11) shaders

shaderc -f source_fs_file.sc -o output_fs_file.bin --type f -i common\ --platform windows -p ps_4_0 -O 3

For vertex shader change ps_4_0 to vs_4_0 (for DirectX9 (dx9) use ps_3_0 and vs_3_0)

Compiling OpenGL shaders

shaderc -f source_fs_file.sc -o output_fs_file.bin --type f -i common\ --platform linux -p 120