# Install emsdk
sudo apt install ninja-build cmake
git clone https://github.com/emscripten-core/emsdk.git
cd emsdk
./emsdk install latest
./emsdk activate latest
source ./emsdk_env.sh
# To see the available versions, run ls emsdk_env.*, then run the one that matches your shell.
cd ..
# Setup Texture Tools
git clone [email protected]:andares/BabylonjsTextureTools.git
cd BabylonjsTextureTools
git submodule update --init --recursive
cd native/LTCGenerator
# Now open CMakePresets.json and find the rsh configuration key. Then, update its value to "Linux" or "Windows" based on your operating system.
cmake --preset wasm
cmake --build --preset wasm
cd ../..
pnpm install
pnpm start
# Navigate to http://172.24.47.146:8080/ in your browser to get started.
forked from BabylonJS/BabylonjsTextureTools
-
Notifications
You must be signed in to change notification settings - Fork 0
Babylonjs texture tools to generate pre-filtered environments and BRDF lookups
License
andares/BabylonjsTextureTools
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
About
Babylonjs texture tools to generate pre-filtered environments and BRDF lookups
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published
Languages
- TypeScript 50.6%
- C++ 14.8%
- GLSL 14.1%
- HTML 8.7%
- Python 6.1%
- JavaScript 3.0%
- CMake 2.7%