Escher is a physically based renderer.
Escher is part of the default Fuchsia build. The “waterfall” demo is installed as system/apps/waterfall
.
Escher can also build on Linux. In order to do so, you need to:
sudo apt install libxinerama-dev libxrandr-dev libxcursor-dev libx11-xcb-dev libx11-dev mesa_common_dev
export VULKAN_SDK=$FUCHSIA_DIR/lib/escher/third_party/vulkansdk/x86_64 export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$VULKAN_SDK/lib export VK_LAYER_PATH=$VULKAN_SDK/etc/explicit_layer.d
(cd examples/common/third_party; git submodule init; git submodule update)
cd $FUCHSIA_DIR; fset x86-64 --release --modules escher_linux; fgen
* The `fset` and `fgen` commands are provided by the `env.sh` script; see `$FUCHSIA_DIR/docs/getting_started.md`. * NOTE!! These commands may conflict with the Vulkan SDK on your LD_LIBRARY_PATH. It is probably best to run these commands in one terminal window, then switch to another and setting LD_LIBRARY_PATH before Building and running.
buildtools/ninja -C out/release-x86-64/ && out/release-x86-64/host_x64/waterfall